Postby kostyan » 12 Sep 2012 11:23
Thanks for the fast replies.
I have developed an access plugin implementing the MPEG DASH streaming format. In order to implement some extra functionality, I would like to be able to pause the playback and eventually resume it later at a different position. I could stop delivering data to the read() function for some time but then the content of the post-decoder buffers would probably still be played out. Instead, I would like to immediately pause the playback and, if possible, even discard the content of all buffers/caches along the demuxer/decoder/output chain.
Another desired functionality would be to set the playback to PAUSE from inside the plugin before the playback has started BUT at the same time to already fill the buffers/caches along the playback chain so that once I want to start the playback, the delay is minimized.
Background: As his master thesis, a student is developing an extension to my DASH plugin that will support changing the playback device during a streaming session (e.g., watching video on smartphone -> detected big screen in proximity -> playback synchronously starts on the big screen).
Thanks!
Konstantin Miller
Technische Universität Berlin