You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 12, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 12, 2023. It is now read-only.
PlayerEndpoint failure when stopping and starting again #633
PlayerEndpoint shows a frozen frame when calling stop() followed by `play().
Context
OpenVidu support for IP cameras.
How to reproduce?
Create a PlayerEndpoint with a test stream (e.g. an mjpeg or rtsp)
Start playing (play())
Stop playing (stop()). Pausing is not enough, as it keeps the connection active, while we want to save resources and thus all connections should be closed.
Start playing again (play())
Expected & current behavior
Instead of playing again, it shows a frozen frame. Logs show lots of errors pointing to invalid PTS and DTS.
(Optional) Possible solution
Commenting out these two lines the playback restarts successfully. It all points at a potential lack of reinitialization of variables when the stop() is processed. Later, upon the new play(), the expected PTS/DTS don't match the incoming ones, and thus the code exits early. At least that's what it seems to me, after a quick look around.
Hello @j1elo! 👋 we're sorry you found a bug... so first of all, thank you very much for reporting it.
To know about progress, check in Triage. All issues are considered Backlog Candidates until work priorities align and the issue is selected for development. It will then become part of our official Backlog.
Activity
github-actions commentedon Oct 4, 2022
Hello @j1elo! 👋 we're sorry you found a bug... so first of all, thank you very much for reporting it.
To know about progress, check in Triage. All issues are considered Backlog Candidates until work priorities align and the issue is selected for development. It will then become part of our official Backlog.
j1elo commentedon Oct 4, 2022
Possibly related commit: Kurento/kms-elements@0c0bdd6