GNOME Bugzilla – Bug 796630
gst-player: API for when the stream is interrupted or ended.
Last modified: 2018-11-03 14:26:43 UTC
Use case, a media player wants to track the progress of a stream and save the last known position before the app was closed or the stream swapped out for another. So if it's an hour long audio file for example next time you hit play it will start from where you left of. When I asked around in irc, I was told that `connect_end_of_stream` does not do that but it could. (I think in the sense that it's was not meant for that usecase and thus not reliable).
Currently end-of-stream happens when the stream actually played until its end. It could be changed to also happen when the stream ends in another way (stop or switching to another stream), and that would be a one-liner. The question is if that makes sense semantically. It probably does, the stream has ended either way.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/738.