I'm making a video call application with two video sources: camera / screen record, and let the users switch camera <-> screen record multiple times during a call. replaceTrack() allows me to replace the camera stream with the screen record stream.
But if I try to switch back to the camera stream, it doesn't work on ios. On android, if I use setTrack(x, takeOwnership=false), and it works ok.
I wonder if I can do the same on ios.
I'm making a video call application with two video sources: camera / screen record, and let the users switch camera <-> screen record multiple times during a call. replaceTrack() allows me to replace the camera stream with the screen record stream.
But if I try to switch back to the camera stream, it doesn't work on ios. On android, if I use setTrack(x, takeOwnership=false), and it works ok. I wonder if I can do the same on ios.