Reputation: 10307
I am currently working on a student project, we have to create a live streaming service for videos with those constraints :
Currently, we have no idea how to do it, we don't know if the file transferred from A to B will be openable (Via VLC for example) in B, and if we won't have any interruption.
We plan to use RTSP for the network protocol. We code everything in C++.
Here the questions :
Thank you !
Upvotes: 3
Views: 2648
Reputation: 175
I don't believe it is safe to do so and what you need is two buffers.
Both should share the same context therefore the same data which would manage the synchronization of the two buffers.
Upvotes: 1