Can't Play Live TV

Have a similar issue where I can’t play just one channel consistently, but other channels will occasionally throw the same error you’re getting, and I’m on a pixel 3 as well. This happens to me locally and remotely. Can play everything fine through browser, on phone and pc, isolated to Android app.

Also seems to have occurred somewhat recently, don’t recall having issues a few versions back.

Created another post with no replies so far:

Limit cellular data on a Pixel 3 XL using any bandwidth setting fails on Live TV & DVR. Turning off limit cellular data allows Live TV & DVR to play. If an employee wants me to grab a set of logs I will do so and trim them down to the specific time frames to not cause mental overload!

Version 8.18.2.25850

Ping me.

Saw the release notes in Android Mobile Beta 8.20 said:

Player: ensure software audio decoder doesn’t exceed the channels supported by the device.

@anon18523487 mentioned a possible audio decoding issue so I was wishful and tried, however still getting the same error when transcoding live TV.

Sorry, didn’t see you ping when you provided the PMS logs. Checking that now, it shows PMS was working fine. So something is causing an issue when the stream goes from your server to the client.

When you watched channel 11.1, PMS transcoded the audio to opus. For the other channels it used mp3. I’m not sure why it uses a different audio codec or why your Android devices doesn’t seem to want to play when using mp3. I am investigating another issue where having the upload limit is causing trouble. Can you try disabling that and using only the bitrate limits in the app? Also do not use the “Automatically adjust bitrate” option.

New logs from both app and server if it’s still not working.

@anon18523487 sorry don’t know if i’m supposed to tag you in each post or if you are notified automatically when I reply.

Anyways here is the requested logs. At 1:13 am, I stopped and started PMS. I disabled upload limit. On the android mobile app, I verified automatic adjust was off. Limit cellular data was set to 2mbps and remote streaming was left at maximum.

Using 4G, I began streaming channel 2.1 and rather than limiting the playback to 2mbps it direct played or direct streamed causing very choppy playback due to my crappy upload speeds, so it isn’t respecting the “limit cellular data” setting.

I would agree it is defintely something with the audio when I try and play live TV when it transcodes to MP3. Don’t know why the phone doesn’t like that, but hopefully you guys will get that figured out. I use Plexamp daily on the same phone which I would assume is streaming MP3’s.

After I sent the logs, I turned off limit cellular data and set remote streaming to 2mbps and it still direct played.

Like I mentioned in a previous post, if the resolution limits are the same as or higher than the source, it will direct play, if you set the limit to lower than the source, it will try and transcode then I get the error due to the mp3 issue.

Thank you again for your efforts. Logs are attached.

Plex Media Server.log (1008.6 KB)
plex-log-pbenzschawel.zip (1.1 MB)

Ok, I see the issue with not respecting the quality settings. The app is unable to determine the bitrate of the live stream, so it asks PMS to direct stream the file so it then analyze the new stream to identify the bitrate. It appears to miss the step of applying the bitrate limits on this stream. That does appear to be a bug. I will pass that along.

Looking into the MP3 issue too.

1 Like

@anon18523487 just installed Android Mobile Beta 8.22.0.27166 and I am no longer getting the error when trying to transcode Live TV. However there are still definetly issues with the bandwidth limitations. “Limit cellular data” is set to .7 mbps and it’s still trying to direct play all live TV content. If I set remote play to .7 mbps it will transcode live TV as expected.

In addition if my bandwidth restriction resolution matches the source resolution, it will direct play. IE If I set remote quality to 2mps 720p and play a 720p source, it will direct play. I shouldn’t be able to direct play a 720p source as it should require more bandwidth than 2mbps.

Hooray

Can you reproduce and provide logs so I can check what type of connection the app is seeing?

That really depends on the source file. I’ve seen 720p files that have lower than 2 Mbps. I’ve even seen 1080p files with low bitrates. To be clear, the quality setting is a cap and for the bitrate. So if you have the setting at 2 Mbps, that’s what it will check first regardless of the resolution. The resolution only comes into play if it has to transcode due to the bitrate being too high.

“Limit Cellular Data” was set to .7 mbps 320p and around 1:28 am I started two live TV channels from the app which direct played both. First was a 1080i source and the second was a 720p source.

Plex Media Server.log (5.2 MB)
plex-log-pbenzschawel.zip (1.3 MB)

I understand what you are saying but don’t think that is the case here with my live TV ts streams. For instance my DVR recordings from a 720p source have a bitrate of around 14mbps. A 480i source has a bitrate of around 4mbps so both cases, it shouldn’t be direct playing. I don’t do anything to modify the DVR recordings so the live tv streams should be the same bitrate.

Just to be clear, the above issue is only with Live TV not anything else. It will transcode DVR recordings when I limit cellular data as mentioned.

I have the same issue on my android pixel 2xl. It plays everything fine, just not LIVE TV & DVR.
It seems like there a crash inside one of classes.

08-17 14:08:54.674  e: [ExoPlayer][EventLogger] playerFailed [eventTime=5.10, mediaPos=0.00, window=0, period=0
  com.google.android.exoplayer2.l0: MediaCodecAudioRenderer error, index=3, format=Format(1, null, null, audio/mpeg, mp3, 99424, english, [-1, -1, -1.0], [2, 48000]), format_supported=YES
      at com.google.android.exoplayer2.p0.handleMessage(SourceFile:43)
      at android.os.Handler.dispatchMessage(Handler.java:102)
      at android.os.Looper.loop(Looper.java:223)
      at android.os.HandlerThread.run(HandlerThread.java:67)
  Caused by: com.google.android.exoplayer2.c2.r: Decoder failed: c2.android.mp3.decoder
      at com.google.android.exoplayer2.c2.t.n(SourceFile:1)
      at com.google.android.exoplayer2.c2.t.render(SourceFile:24)
      at com.google.android.exoplayer2.p0.o(SourceFile:14)
      at com.google.android.exoplayer2.p0.handleMessage(SourceFile:25)
      ... 3 more
  Caused by: java.lang.IllegalStateException
      at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)
      at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:3452)
      at com.google.android.exoplayer2.c2.x.l(SourceFile:1)
      at com.google.android.exoplayer2.c2.t.drainOutputBuffer(SourceFile:7)
      at com.google.android.exoplayer2.c2.t.render(SourceFile:16)
      ... 5 more
]
08-17 14:08:54.674  e: [Player][ExoPlayer] Playback error detected
08-17 14:08:54.674  e: An exception occurred: com.google.android.exoplayer2.l0: MediaCodecAudioRenderer error, index=3, format=Format(1, null, null, audio/mpeg, mp3, 99424, english, [-1, -1, -1.0], [2, 48000]), format_supported=YES
08-17 14:08:54.674  i: [Player][Timeline] Handling player error
08-17 14:08:54.676  e: Stacktrace: com.google.android.exoplayer2.l0: MediaCodecAudioRenderer error, index=3, format=Format(1, null, null, audio/mpeg, mp3, 99424, english, [-1, -1, -1.0], [2, 48000]), format_supported=YES
	at com.google.android.exoplayer2.p0.handleMessage(SourceFile:43)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:223)
	at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: com.google.android.exoplayer2.c2.r: Decoder failed: c2.android.mp3.decoder
	at com.google.android.exoplayer2.c2.t.n(SourceFile:1)
	at com.google.android.exoplayer2.c2.t.render(SourceFile:24)
	at com.google.android.exoplayer2.p0.o(SourceFile:14)
	at com.google.android.exoplayer2.p0.handleMessage(SourceFile:25)
	... 3 more
Caused by: java.lang.IllegalStateException
	at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)
	at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:3452)
	at com.google.android.exoplayer2.c2.x.l(SourceFile:1)
	at com.google.android.exoplayer2.c2.t.drainOutputBuffer(SourceFile:7)
	at com.google.android.exoplayer2.c2.t.render(SourceFile:16)
	... 5 more

08-17 14:08:54.676  i: [Player][Timeline] Playback stopped (error: true)

Possibly MP3 decoder issue inside the app.

pixel 5 here and i cant see to play live tv remotely either if im on my home wifi network it works fine

edit:
if i try and play live tv in chrome on my phone on mobile data it plays ok so its something the relating to the app and not server or the phone

The Plex transcoder is having trouble with the bitrate the player is trying to set it at. I have noticed if I turn off auto adjust on cellular connection and then manually set the bitrate some bitrates will fail while others will work.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.