Trying to send a video-file to peerconnection media track instead of video stream from camera device
Hi,
I have finished a webrtc c++ program in my pc(ubuntu18.04). I can run the program successfully, and the remote peer can get video stream from my camera device.
Now I need to start a pressure test. However, the camera device can be used by only one program at one time. So I wonder if I can send a video-file to the media track instead of use my camera device.
I have no idea how to do so. I’m now reading the video-engine code, and I don’t know if I’m reading the target part.
I would be really grateful if you have any suggestion!!
Long
Read more here: Source link