Hi guys
I am having some trouble adding some functionality to my iOS webrtc application.
At this point I have a simple webrtc application with chat functionality.
However this is pretty basic and I would like to add in the following:
- Ability to pause my video and audio transmission, but still receive it. Then un-pause at will.
- Ability to take a snapshot with the camera
- Ability to record video directly from the camera
I am fairly new to all this and maybe I have missed something in my research.
I know how to record video with the camera using AVFoundation, and I have implemented this, but of course this doesnt work when a 'call' is occuring.
The same holds true for a screenshot, however that even crashes the application, I can provide more details if required.
I assume the reason neither of these work is because the camera is already in use for the local stream.
Finally regarding the video and audio muting, I keep seeing people referring to setting my localstream.audiotrack[0].enabled = false (again im likely missing something)
but when I access the audio tracks from the local stream there is no option to set enabled to be false.
Thanks for any time and help.
Wayne