Live Stream Not Terminating on iOS Clients

I have an issue where the Live Stream continues playing for about 30 seconds after I have terminated the stream. This does not happen with recorded content.

iOS Version: 3.2.34
iOS Beta Version: 12.14.227

I start a live stream from an OTA or TVE Source. I click the done button or exit the app. The stream stops, but then restarts for an addition 30 seconds.

If I force quit the app or swipe up to put the app in the background. This does not happen. Only when I get the done button from the video player screen.

Also, if I swipe up in the video player to get the favorites guide and change the channel this behavior happens as well. I have changed the channel three times and would have TWO background streams still going, plus the one I am watching.

Here is a snapshot of the command:

curl -s http://localhost:8089/dvr/events/subscribe

OTA Example
{"Type":"activities.set","Name":"7-ch2.1-dANY-23278ccdc69d","Value":"Watching ch2.1 from XXX.XXX.XXX.XXX (Starting)."}
{"Type":"activities.set","Name":"7-ch2.1-dANY-23278ccdc69d","Value":"Watching ch2.1 from XXX.XXX.XXX.XXX (Starting: 1s @ 1.92x (59.14fps))"}
{"Type":"activities.set","Name":"7-ch2.1-dANY-23278ccdc69d","Value":"Watching ch2.1 from XXX.XXX.XXX.XXX (Running: 7s @ 1.16x (60.49fps))"}
{"Type":"activities.set","Name":"7-ch2.1-dANY-23278ccdc69d","Value":"Watching ch2.1 from XXX.XXX.XXX.XXX (Running: 12s @ 1.09x (60.22fps)): strength=97% quality=100% symbol=100% rate=12.3Mb/sec"}
{"Type":"activities.set","Name":"7-ch2.1-dANY-23278ccdc69d"}
{"Type":"activities.set","Name":"7-ch2.1-dANY-23278ccdc69d","Value":"Watching ch2.1 from XXX.XXX.XXX.XXX (Starting)."}
{"Type":"activities.set","Name":"7-ch2.1-dANY-23278ccdc69d","Value":"Watching ch2.1 from XXX.XXX.XXX.XXX (Running: 2s @ 1.56x (75.24fps))"}
{"Type":"activities.set","Name":"7-ch2.1-dANY-23278ccdc69d","Value":"Watching ch2.1 from XXX.XXX.XXX.XXX (Running: 7s @ 1.13x (63.29fps))"}
{"Type":"activities.set","Name":"7-ch2.1-dANY-23278ccdc69d","Value":"Watching ch2.1 from XXX.XXX.XXX.XXX (Running: 12s @ 1.08x (62.12fps)): strength=98% quality=100% symbol=100% rate=11.9Mb/sec"}
{"Type":"activities.set","Name":"7-ch2.1-dANY-23278ccdc69d","Value":"Watching ch2.1 from XXX.XXX.XXX.XXX (Running: 17s @ 1.05x (61.39fps)): strength=98% quality=100% symbol=100% rate=11.9Mb/sec"}
{"Type":"activities.set","Name":"7-ch2.1-dANY-23278ccdc69d","Value":"Watching ch2.1 from XXX.XXX.XXX.XXX (Running: 22s @ 1.04x (61.05fps)): strength=98% quality=89% symbol=100% rate=12.1Mb/sec"}
{"Type":"activities.set","Name":"7-ch2.1-dANY-23278ccdc69d","Value":"Watching ch2.1 from XXX.XXX.XXX.XXX (Running: 27s @ 1.03x (60.85fps)): strength=98% quality=89% symbol=100% rate=12.1Mb/sec"}

TVE Example
{"Type":"activities.set","Name":"7-ch6030-dANY-23278ccdc69d","Value":"Watching ch6030 from XXX.XXX.XXX.XXX (Starting)."}
{"Type":"activities.set","Name":"7-ch6030-dANY-23278ccdc69d","Value":"Watching ch6030 from XXX.XXX.XXX.XXX (Running: 0s)"}
{"Type":"activities.set","Name":"7-ch6030-dANY-23278ccdc69d","Value":"Watching ch6030 from XXX.XXX.XXX.XXX (Running: 17s @ 2.66x (80.00fps))"}
{"Type":"activities.set","Name":"7-ch6030-dANY-23278ccdc69d","Value":"Watching ch6030 from XXX.XXX.XXX.XXX (Running: 23s @ 2.28x (68.25fps))"}
{"Type":"activities.set","Name":"7-ch6030-dANY-23278ccdc69d"}
{"Type":"activities.set","Name":"7-ch6030-dANY-23278ccdc69d","Value":"Watching ch6030 from XXX.XXX.XXX.XXX (Starting)."}
{"Type":"activities.set","Name":"7-ch6030-dANY-23278ccdc69d","Value":"Watching ch6030 from XXX.XXX.XXX.XXX (Running: 0s)"}
{"Type":"activities.set","Name":"7-ch6030-dANY-23278ccdc69d","Value":"Watching ch6030 from XXX.XXX.XXX.XXX (Running: 0s)"}
{"Type":"activities.set","Name":"7-ch6030-dANY-23278ccdc69d","Value":"Watching ch6030 from XXX.XXX.XXX.XXX (Running: 23s @ 2.27x (67.92fps))"}
{"Type":"activities.set","Name":"7-ch6030-dANY-23278ccdc69d","Value":"Watching ch6030 from XXX.XXX.XXX.XXX (Running: 23s @ 2.27x (67.92fps))"}
{"Type":"activities.set","Name":"7-ch6030-dANY-23278ccdc69d","Value":"Watching ch6030 from XXX.XXX.XXX.XXX (Running: 29s @ 1.8x (54.16fps))"}
{"Type":"activities.set","Name":"7-ch6030-dANY-23278ccdc69d","Value":"Watching ch6030 from XXX.XXX.XXX.XXX (Running: 35s @ 1.56x (46.84fps))"}
{"Type":"activities.set","Name":"7-ch6030-dANY-23278ccdc69d"}

Thanks for reporting this. It looks like there is a bug in the client that is triggering this due to recent changes in the DVR.

I'm testing out a fix for the iOS client to solve this.

This has been released in iOS/tvOS beta 2019 (12.18.1851).

Looks like the beta fixes the problem. Thanks.

1 Like