Loading multiple MP4 #1252
-
Hello, Is there a way to load multiple MP4s and switch the live feed between them on demand? Do I have to redo the entire example from MP4 example with the new MP4 while the previous is already running? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You could create multiple 'FFmpegFileSource' instances and then switch between them by setting and removing the peer connection event handler It's not the most efficeint approach as you'll have the overhead of multiple sources in memory. Also all the video sources will need to be set to the same sending format. |
Beta Was this translation helpful? Give feedback.
Have a look at the Start and Stop methods on the FFmpegFileSource.