Intermittent video stuttering

Please refer to my previous post on the stats. I am dropping frames.

Sorry I missed that. I thought we were talking about an Apple TV client. What model of TV are you running? The hardware may be struggling to keep up. Have you tried adjusting the video driver or deinterlacer in the client settings, or decoder to see if it changes.

I am using a Sony XBR85X81CH with Android 10. I do not see options for video driver or deinterlacing on the Android version.
I am also dropping frames on my Macbook Air using the client software. Using the web browser on the same Macbook Air works fine.

They should be in the app settings, under playback, advanced, I believe.

There are only 4 options under Playback Advanced:

  1. Stretch Video to Fit = Off
  2. Surround Sound = On
  3. Video Decoder = Hardware (tried Software and Hybrid same problem)
  4. Tuner Sharing = Off (When turning this on there is a consistent playback error)

What error appears? This may indicate connectivity problems to the DVR server.

When Tuner Sharing = On I cannot watch live tv at all. I get a " ! Playback Failed" error. I am assuming this is a software bug. Switching this back to Off works but the original stuttering problem is there.

Tuner sharing is pretty solid for pretty much everybody as far as I know. I’ve had it on for years without issues. If it won’t play at all there must be something odd going on with your network. Any errors in the DVR web ui when you try to watch live tv with tuner sharing enabled?

I do not see the tuner sharing option in the web UI however I can turn tuner sharing on my iPhone and it works fine. This is a problem with the application on the Sony TV and Android 10.
Just ran my iPhone and TV simultaneously on the same channel and the stuttering happens on the TV but not on the iPhone. Using same network and servers.
This is where I am having the problems:
SONY XBR-85X90CH
Channels v3.5.2
Sony BRAVIA VH1
AndroidTV 10 API/29

Tuner Sharing is a client setting, not a DVR setting. By default Channels clients get their live streams directly from OTA tuners, completely bypassing the DVR. With Tuner Sharing enabled, the DVR acts as a delegate and handles the OTA streams.

(Tuner sharing as a feature is only related to OTA/cable streams from HDHomeRun tuners. All other types of streams, including remote streams, all always routed through the DVR.)

Please submit diagnostics from the app after the playback error is shown.

  1. Just submitted diagnostics after replicating the playback error when tuner sharing is on.
  2. I just RESOLVED the video stuttering issue by moving the channels application back to the Sony internal memory. It was previously installed on an external usb stick which caused the stuttering issue probably due to write buffer issues. I would suggest if you could trap this kind of error and provide an appropriate message to the user.
    Thank you for all that tried to assist in resolving the stuttering problem. I had the app installed on the usb stick in order to have a larger replay buffer. Will have to try other usb sticks to see if it is a compatibility issue
    Peter
1 Like

The app on your TV is reporting that it cannot connect to your DVR for streaming.

08-16 05:16:16.402 8455 8650 V libchannels: libchannels: Get "http://10.0.0.97:8089/devices/15102475/channels/26.1/stream.mpg": dial tcp 10.0.0.97:8089: connect: connection refused -> Get "http://10.0.0.97:8089/devices/15102475/channels/26.1/stream.mpg": dial tcp 10.0.0.97:8089: connect: connection refused

Then why does it work when I turn the share tuner option off. Would it help if I send you another diagnostic when it is working?

Because your client is getting the stream directly from the tuner, bypassing the DVR.

(The tuner sharing option tells the client to use the DVR server as its delegate to receive streams from HDHomeRun tuners. By default—without tuner sharing—each client will contact the tuner directly, and the tuner will send the stream directly to the client, as if there were no DVR server.)

@racameron
When I have tuner sharing "on" I am able to start a recording from the guide. Then when I click on the recorded program it gives me the option to "Watch Recording" or "Watch Live". The "Watch Recording" option works but the "Watch Live" fails. I must be successfully connecting to the DVR server is the "Watch Recording" is working. Correct?

@tmm1
I just sent two diagnostics in a row. One when working correctly the other when it fails. Hopefully you may be able to see the difference.

Thanks Again

Tuner sharing only relates to streams from HDHomeRun tuners. A regular connection to your DVR must be maintained; that's the nature of a client-server architecture.

From my outside perspective, it makes no sense that with tuner sharing enabled that the "Watch Live" function would not work if a recording is being made, because the DVR would already have the stream from the tuner. If that is indeed what is happening, then I have no explanation to offer.

I just noticed that the client is trying to access the default port number "8089". I am using docker and am using port "9089" so when I connected to the server I used "10.0.0.97:9089". Could the error be caused by the software defaulting to port 8089 instead of taking it from the connection input string?

.... Just answered my own question. I connected to another server using the default port number and tuner sharing on works fine. Is it possible to have the software take into account the port number from the input when tuner sharing is on?

@tmm1, @racameron
Thank you guys for your assistance in debugging this issue.

1 Like

Please try the beta apk

Awesome!!! Works like a champ.
Thank you for your support and fast response.
Peter

2 Likes