Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong timestamps when initiating an output RTSP session #60

Open
palaumarc opened this issue May 22, 2015 · 1 comment
Open

Wrong timestamps when initiating an output RTSP session #60

palaumarc opened this issue May 22, 2015 · 1 comment
Labels

Comments

@palaumarc
Copy link
Contributor

The first frames transmitted during an RTSP transmission have wrong timestamp and this causes some players (such as VLC) to stop playing.

This occurs because the queue between an Encoder and a SinkManager (Transmitter) is filled up without being consumed. When it is full, for each new frame pushed into the queue, the last frame pushed is flushed. This means that there is a timestamp gap between all the frames of the queue (the first ones which where pushed into the queue) and the last one.

So, when someone requests the RTSP session (or we create an RTP Connection) the timestamp gap "is transmitted" to the player.

@palaumarc palaumarc added the bug label May 22, 2015
@palaumarc
Copy link
Contributor Author

A possible workaround is to create a dummy sink consuming from each QueueSource

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant