Jump to content

Can't stream live tv channels


MaMoUs

Recommended Posts

Hello,

I'm having an issue i can't play Livetv when i have No buffer option in xTeve, if i choose FFmpeg or Xteve as a stream buffer it works but lags a lot (every 5 seconds it stops and loads)

Link to comment
Share on other sites

Hello,

below is the log i when i click on live TV with buffer turned off. just a circle keeps spinning

 

I removed the IP's in the last 2 lines if you want me to send it i can in pm

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
2020-01-05 19:55:50.460 Info App: User policy for MaMoUs. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2020-01-05 19:55:50.460 Info LiveTvManager: Opening channel stream from Emby, external channel Id: hdhr_id-711
2020-01-05 19:55:50.460 Info LiveTV: Streaming Channel hdhr_id-711
2020-01-05 19:55:50.460 Info HdHomerunHost: GetChannelStream: channel id: hdhr_id-711. stream id: native_37b3c12c39e48f57b725073ca70a8366_a31654699504b1ccd9d26cf5d40a2687 profile: native
2020-01-05 19:55:50.460 Info SharedHttpPipelineSource: Opening SharedHttpPipelineSource Live stream from http://localhost:20410/stream/fe2398e2f31939f174dd96dacbc2a314
2020-01-05 19:55:50.460 Info HttpClient: GET http://localhost:20410/stream/fe2398e2f31939f174dd96dacbc2a314
2020-01-05 19:55:50.666 Info HttpClient: Http response 401 from http://localhost:20410/stream/fe2398e2f31939f174dd96dacbc2a314 after 206ms. HeadersServer=nginx, Date=Sun, 05 Jan 2020 19:55:50 GMT, Connection=keep-alive
2020-01-05 19:55:50.668 Error HdHomerunHost: Error opening tuner
	*** Error Report ***
	Version: 4.4.0.5
	Command line: /mnt/mpathab/mamous/EmbyNET/system/EmbyServer.dll -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe
	Operating system: Unix 4.14.132.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///mnt/mpathab/mamous/EmbyNET/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.0
	Processor count: 72
	Program data path: /mnt/mpathab/mamous/EmbyNET/programdata
	Application directory: /mnt/mpathab/mamous/EmbyNET/system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Unauthorized
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Emby.LiveTV.TunerHosts.SharedHttpPipelineSource.OpenStream(IDisposable connectionContext, MediaSourceInfo mediaSource, String url, MediaProtocol protocol, CancellationToken cancellationToken, Int32 recursion)
	   at Emby.LiveTV.TunerHosts.SharedHttpPipelineSource.Open(CancellationToken openCancellationToken)
	   at Emby.LiveTV.TunerHosts.BaseTunerHost.GetChannelStream(String channelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	
2020-01-05 19:55:50.670 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.4.0.5
	Command line: /mnt/mpathab/mamous/EmbyNET/system/EmbyServer.dll -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe
	Operating system: Unix 4.14.132.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///mnt/mpathab/mamous/EmbyNET/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.0
	Processor count: 72
	Program data path: /mnt/mpathab/mamous/EmbyNET/programdata
	Application directory: /mnt/mpathab/mamous/EmbyNET/system
	MediaBrowser.Controller.LiveTv.LiveTvConflictException: MediaBrowser.Controller.LiveTv.LiveTvConflictException: Exception of type 'MediaBrowser.Controller.LiveTv.LiveTvConflictException' was thrown.
	   at Emby.LiveTV.TunerHosts.BaseTunerHost.GetChannelStream(String channelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken)
	   at Emby.LiveTV.EmbyTV.GetChannelStreamWithDirectStreamProvider(String channelId, String streamId, CancellationToken cancellationToken)
	   at Emby.LiveTV.LiveTvManager.GetChannelStream(String id, String mediaSourceId, CancellationToken cancellationToken)
	   at Emby.LiveTV.LiveTvMediaSourceProvider.OpenMediaSource(String openToken, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal(LiveStreamRequest request, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStream(LiveStreamRequest request, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Api.MediaInfoService.OpenMediaSource(OpenMediaSource request)
	   at Emby.Server.MediaEncoding.Api.MediaInfoService.GetPlaybackInfo(GetPostedPlaybackInfo request, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Api.MediaInfoService.Post(GetPostedPlaybackInfo request)
	   at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: Emby.LiveTV
	TargetSite: Void MoveNext()
	
2020-01-05 19:55:50.670 Info HttpServer: HTTP Response 500 to IP. Time: 212ms. http://IP/emby/Items/256227/PlaybackInfo?UserId=f0b9ad806f5044b8a61379e0a99b0f71&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=1500000

 

  • Like 2
Link to comment
Share on other sites

Your tuner URL is sending back a 401 unauthorized error. Can you find out why it's doing that?

Link to comment
Share on other sites

my tuner is xteve.

the only log i can see is this

2020-01-05 16:48:22 [xTeVe] Streaming Info:        URL was passed to the client.

2020-01-05 16:48:22 [xTeVe] Streaming Info:        xTeVe is no longer involved, the client connects directly to the streaming server.

If i add my iptv url directly into emby it streams, also if i use the m3u file that's generated from xteve that works also. but when i use just the DVR IP of xteve that happens

Link to comment
Share on other sites

Ok this isn't an Emby specific question so unfortunately I can't answer this for you.

http://localhost:20410/stream/fe2398e2f31939f174dd96dacbc2a314

Whoever owns this url, which from what you're saying sounds like xteve, they're the only ones who can tell us why this 401 response error is happening.

Link to comment
Share on other sites

EODCrafter

my tuner is xteve.

the only log i can see is this

2020-01-05 16:48:22 [xTeVe] Streaming Info:        URL was passed to the client.

2020-01-05 16:48:22 [xTeVe] Streaming Info:        xTeVe is no longer involved, the client connects directly to the streaming server.

If i add my iptv url directly into emby it streams, also if i use the m3u file that's generated from xteve that works also. but when i use just the DVR IP of xteve that happens

Sounds like the Provider is rejecting your User Agent...Please try inputting VLC as User Agent. 401 error comes from the provider blocking the connection to xTeVe. Test the xteve.m3u in VLC.

Edited by EODCrafter
Link to comment
Share on other sites

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