Jump to content

How does stream probing work for livetv?


Recommended Posts

Posted (edited)

Emby 4.7.11.0,  I saw this error in the logs last night while running 5 streams (provider limit) and a user tried to change the channel. 

https://38-68-205-40.servers.tips:5052/live3/yMUVJ0zZlkCwwDC9tbzMew/34433a35f0/16836d3s96056/24001436.m3u8: Server returned 4XX Client Error, but not one of 40{0,1,3,4}


I'm wondering if I was getting back a 429 error or something from having too many streams open at once.   

Does the system use ffprobe on the url and then reconnect with ffmpeg afterward?  If so is there any way to increase the delay between probe and open? 

Or does it open the connection, start dumping files to disk and then probe those files before connecting the client? Just basing this on the fact that all livetv channels seem to have transcode files created even if the clients are direct streaming. 

Edited by bruor
Posted
Quote

Does the system use ffprobe on the url and then reconnect with ffmpeg afterward?  If so is there any way to increase the delay between probe and open? 

Hi, it depends. If the format of the stream is something we can use with our stream sharing feature, then it's just one stream open the whole time and probing and playback is done off of that.

Otherwise, yes, there will be more than one ffprobe/ffmpeg processes hitting the url, although it is sequential and not at the same time.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...