Jump to content

Live TV: Playback Error (No Compatible Streams)


Recommended Posts

ShadowKindjal
Posted (edited)

I'm attempting to play live tv content on my server and I keep getting a playback error for each channel. In this occasion I was trying to play MSNBC because I confirmed the ts link in my m3u file worked via VLC player. Is there any reason why the stream would work in VLC and not Emby? I've only attached my emby server log because a ffmpeg log doesn't get generated. Nothing about my configuration has changed recently and it was all working as of last night.

 

Edit: I do notice the following error in the log "error opening live stream" and within that error "name or server not known"

2022-11-09 21:30:36.211 Error MediaSourceManager: Error opening live stream
	*** Error Report ***
	Version: 4.7.9.0
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 5.15.0-52-generic (buildd@lcy02-amd64-045) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #58~20.04.
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 16
	Data path: /config
	Application path: /system
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Name or service not known (xtremeport.com:80)
	 ---> System.Net.Sockets.SocketException (0xFFFDFFFF): Name or service not known
	   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
	   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
	   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
	   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
	   --- End of inner exception stack trace ---
	   at Emby.LiveTV.EmbyTV.GetChannelStreamWithDirectStreamProvider(BaseItem dbChannel, String providerChannelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken)
	   at Emby.LiveTV.LiveTvManager.GetChannelStream(String id, String mediaSourceId, List`1 currentLiveStreams, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal2(LiveStreamRequest request, CancellationToken cancellationToken)
	Source: System.Net.Http
	TargetSite: Void MoveNext()
	InnerException: System.Net.Sockets.SocketException: Name or service not known
	Source: System.Net.Sockets
	TargetSite: Void ThrowException(System.Net.Sockets.SocketError, System.Threading.CancellationToken)
	   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
	   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
	   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
	   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)

embyserver 11.9.22.txt

Edited by ShadowKindjal
Posted

Hi, the server is unable to connect to the domain hosting the stream. You could have something blocking the server from making that connection, or they could be rejecting the requests. You could try playing with the user agent and/or referrer options on the m3u setup screen to try and disguise emby server and make it look like something else.

ShadowKindjal
Posted
On 11/9/2022 at 6:51 PM, Luke said:

Hi, the server is unable to connect to the domain hosting the stream. You could have something blocking the server from making that connection, or they could be rejecting the requests. You could try playing with the user agent and/or referrer options on the m3u setup screen to try and disguise emby server and make it look like something else.

I will try that. Thank you

Posted

Let us know how you get on. Thanks.

ShadowKindjal
Posted

I seem to be having issues accessing my m3u streams in emby again. This time the error message keeps saying the "m3u simultaneous stream limit has been reached" but there are no active streams in emby and i have one of five streams active (the same one im trying to play) in vlc player.

 

2022-11-18 15:22:05.558 Info LiveTV: Streaming Channel m3u_7bd605f774cfe22017ffaec33b658b6bMSNBC(src01).us, with streamId: 14350186a7bcf4fe28ebba1afc8ed38a
2022-11-18 15:22:05.559 Error LiveTV: Error in GetChannelStreamWithDirectStreamProvider
	*** Error Report ***
	Version: 4.7.9.0
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 5.15.0-52-generic (buildd@lcy02-amd64-045) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #58~20.04.
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 16
	Data path: /config
	Application path: /system
	MediaBrowser.Controller.LiveTv.LiveTvConflictException: MediaBrowser.Controller.LiveTv.LiveTvConflictException: m3u simultaneous stream limit has been reached.
	   at MediaBrowser.Controller.LiveTv.BaseTunerHost.GetChannelStream(TunerHostInfo tuner, BaseItem dbChannnel, String tunerChannelId, String mediaSourceId, List`1 currentLiveStreams, CancellationToken cancellationToken)
	   at Emby.LiveTV.EmbyTV.GetChannelStreamWithDirectStreamProvider(BaseItem dbChannel, String providerChannelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken)
	Source: MediaBrowser.Controller
	TargetSite: Void MoveNext()

 

ShadowKindjal
Posted

I haven't yet figured out proper user agent or referrer options to use in my server but it seems some channels work and others don't. ABC loaded fine but MSNBC attempts to load for 30 seconds before ultimately erroring out with no compatible streams. yet  i'm streaming msnbc in vlc just fine. the log files didn't lead me to believe that the connection was denied.

embyserver (10).txt

Posted

What have you tried for different user agent and/or referrer options?

ShadowKindjal
Posted

I don't quite understand how the feature works and what are valid user agent / referrer options just yet but I initially tried using "VLC/2.2.4 LibVLC/2.2.4" as my user agent this morning when I was running into issues again. Changing that setting seemed to have no effect on live tv so I removed the user agent and it still isn't working.

ShadowKindjal
Posted

I should also mention that I run emby with the official docker container but all of the container's outbound traffic is routed through a VPN container that's connected to Nord. Is it possible that Nord VPN is behind the connection issues?

Posted

It's worth trying in order to be able to rule it out.

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...