NextPVR Freezing during Live TV Playback

  • I have two RPi2s and both exhibit the same problem when watching live TV. I'm using the NextPVR addon to connect to a backend NPVR server running on a Windows 10 desktop computer.

    In the first case, after watching live TV for up to 6 hours, the stream will suddenly freeze.

    Attached is the Kodi Log for this problem: kodiLog_20181218.zip

    Please note the following in the log file:

    Code
    18:20:20.130 T:1323352992  NOTICE: CVideoPlayerAudio::Process - stream stalled
    18:20:20.911 T:1331741600    INFO: CVideoPlayerVideo - Stillframe detected, switching to forced 29.970030 fps
    18:20:20.912 T:1331741600   DEBUG: CPullupCorrection: pattern lost on diff 166833.333344, number of losses 4
    18:20:22.755 T:1331741600    INFO: CVideoPlayerVideo - Stillframe left, switching to normal playback
    18:20:22.757 T:1722024864   DEBUG: Stream stalled, start buffering. Audio: 0 - Video: 0


    In the 2nd case, I've been using JSON RPC to remotely change the Live TV channels and periodically after a channel change, Kodi will freeze.

    Attached is the Kodi Log for this problem: kodiLog.zip

    Please note the following in the log file:

    Code
    19:59:54.177 T:1722233760   DEBUG: PVRManager - PerformChannelSwitch - switching to channel 'H & I'
    19:59:54.177 T:1722233760   DEBUG: AddOnLog: NextPVR PVR Client: SwitchChannel(10:H & I)
    19:59:54.177 T:1722233760   DEBUG: AddOnLog: NextPVR PVR Client: OpenLiveStream(10:H & I) (oid=7894)
    19:59:54.177 T:1722233760   DEBUG: AddOnLog: NextPVR PVR Client: OpenLiveStream() informing NextPVR of existing channel stream closing
    ...
    19:59:54.291 T:1243607968    INFO: CFileCache::Process - Source read didn't return any data! Hit eof(?)
    ...
    19:59:57.270 T:1722233760  NOTICE: PVRManager - PerformChannelSwitch - switched to channel 'H & I'


    In both cases, the RPi2 is still running and I'm able to log in to it using SSH.

    I've not been able to figure out why this is happening and would appreciate any help anyone can offer.

    Thank you in advance.