Skip to content

Conversation

@adskicker
Copy link

I experienced issues during channel switching from VLC player. When termination of dvb process is longer than the RTSP next setup/play request, a race condition occurred which made the setup/play request to be ignored.

This commit fix this by managing an exiting status that is checked in the setup/play request evaluation.

@phpbg
Copy link
Owner

phpbg commented Jan 6, 2023

Hi,
do you have a way to reproduce the race easily?

@adskicker
Copy link
Author

Hello Samuel,

Thanks for getting back to me on this, and thanks also for the quality of this project, great job !

The setup I use is the following:

  • PI4 B 2go with bullseye os version
  • Raspberry TV HAT + Dvbjet
  • VLC playing the m3u8 provided by watchtv locally (directly from the PI4) or remotely (from Wifi local network on ubuntu 22.04 laptop)

The issue happened quite often during zapping (next / previous channel) in VLC. The effect of the issue is to have a really long zapping time and channels skipped during zapping.

Let me know if you would like more information to reproduce it on your end. I should be able to produce some log output / network capture showing the issue if needed.

Thanks.

@phpbg
Copy link
Owner

phpbg commented Feb 11, 2023

Hi,
I couldn't reproduce.
Anyway you fix seems OK, so I'll trust you ;-)
Thank you for your contribution.

@phpbg phpbg merged commit 9a04685 into phpbg:master Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants