Carlo Posted July 26, 2020 Share Posted July 26, 2020 Good day, Please send me sample code on how to change/switch between cameras (front then back) using the AntMedia SDK for iOS and Android. I checked the sample apps provided for the SDK and I don't think it was implemented on them. Thank you in advance! Link to comment Share on other sites More sharing options...
0 Ant Media Posted July 28, 2020 Share Posted July 28, 2020 Hi Favis Technologies,I think its implemented. open func setCameraPosition(position: AVCaptureDevice.Position) { self.cameraPosition = position } This function might help you then. Best Regards, Enes Kuluk. PS : Free or Paid one-on-one support and consultancy for your streaming project, please book at https://calendly.com/antmedia/ On Mon, 27 Jul at 1:31 AM , Favis Technologies <favistech@gmail.com> wrote: Good day, Please send me sample code on how to change/switch between cameras (front then back) using the AntMedia SDK for iOS and Android. I checked the sample apps provided for the SDK and I don't think it was implemented on them. Thank you in advance! -- You received this message because you are subscribed to the Google Groups "Ant Media Server" group.To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-server+unsubscribe@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/f46902dd-3743-470b-b126-25e8c66d1feao%40googlegroups.com. 14960:1264838 Link to comment Share on other sites More sharing options...
0 Ant Media Posted July 28, 2020 Share Posted July 28, 2020 Hi Favis Technologies, The reply i wrote above is about setting camera at the beginning of the stream. If you look at the example app for the ios sdk, there is a switchCamera function in there. open func switchCamera() { self.webRTCClient?.switchCamera() } You can find it under WebRTCiOSReferenceProject/WebRTCiOSSDK/api/AntMediaClient.swift PS : Free or Paid one-on-one support and consultancy for your streaming project, please book at https://calendly.com/antmedia/ On Tue, 28 Jul at 12:10 PM , Ant Media <support@antmedia.freshdesk.com> wrote: Hi Favis Technologies,I think its implemented. open func setCameraPosition(position: AVCaptureDevice.Position) { self.cameraPosition = position } This function might help you then. Best Regards, Enes Kuluk. PS : Free or Paid one-on-one support and consultancy for your streaming project, please book at https://calendly.com/antmedia/ On Mon, 27 Jul at 1:31 AM , Favis Technologies <favistech@gmail.com> wrote: Good day, Please send me sample code on how to change/switch between cameras (front then back) using the AntMedia SDK for iOS and Android. I checked the sample apps provided for the SDK and I don't think it was implemented on them. Thank you in advance! -- You received this message because you are subscribed to the Google Groups "Ant Media Server" group.To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-server+unsubscribe@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/f46902dd-3743-470b-b126-25e8c66d1feao%40googlegroups.com. 14960:1264838 Link to comment Share on other sites More sharing options...
0 Carlo Posted July 29, 2020 Author Share Posted July 29, 2020 Hello, I think I have an old copy of the sample apps and SDKs (iOS/Android). Could you please send those over to me or direct me to where I can download them? Thank you! Link to comment Share on other sites More sharing options...
0 Ant Media Posted July 29, 2020 Share Posted July 29, 2020 Hi Favis Technologies,You can download it from https://antmedia.io/my-account/subscriptions/ if you are logged in. Best Regards, Enes Kuluk. PS : Free or Paid one-on-one support and consultancy for your streaming project, please book at https://calendly.com/antmedia/ On Wed, 29 Jul at 5:23 AM , Favis Technologies <favistech@gmail.com> wrote: Hello, I think I have an old copy of the sample apps and SDKs (iOS/Android). Could you please send those over to me or direct me to where I can download them? Thank you! On Tue, Jul 28, 2020 at 5:34 AM Ant Media <support@antmedia.freshdesk.com> wrote: Hi Favis Technologies, The reply i wrote above is about setting camera at the beginning of the stream. If you look at the example app for the ios sdk, there is a switchCamera function in there. open func switchCamera() { self.webRTCClient?.switchCamera() } You can find it under WebRTCiOSReferenceProject/WebRTCiOSSDK/api/AntMediaClient.swift PS : Free or Paid one-on-one support and consultancy for your streaming project, please book at https://calendly.com/antmedia/ On Tue, 28 Jul at 12:10 PM , Ant Media < support@antmedia.freshdesk.com> wrote: Hi Favis Technologies, I think its implemented. open func setCameraPosition(position: AVCaptureDevice.Position) { self.cameraPosition = position } This function might help you then. Best Regards, Enes Kuluk. PS : Free or Paid one-on-one support and consultancy for your streaming project, please book at https://calendly.com/antmedia/ On Mon, 27 Jul at 1:31 AM , Favis Technologies < favistech@gmail.com> wrote: Good day, Please send me sample code on how to change/switch between cameras (front then back) using the AntMedia SDK for iOS and Android. I checked the sample apps provided for the SDK and I don't think it was implemented on them. Thank you in advance! -- You received this message because you are subscribed to the Google Groups "Ant Media Server" group. To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-server+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/f46902dd-3743-470b-b126-25e8c66d1feao%40googlegroups.com. 14960:1264838 Link to comment Share on other sites More sharing options...
Question
Carlo
Link to comment
Share on other sites
Top Posters For This Question
3
2
Popular Days
Jul 28
2
Jul 29
2
Jul 26
1
Top Posters For This Question
Ant Media 3 posts
Carlo 2 posts
Popular Days
Jul 28 2020
2 posts
Jul 29 2020
2 posts
Jul 26 2020
1 post
4 answers to this question
Recommended Posts