Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
BruceWayne11111
Reel Rookie

Video | segment.segSequence returns 0 for DASH assets with SegmentTimeline

Steps to Reproduce:
Sample code can be found at https://github.com/timalacey/samples/tree/dash-segSequence-0/media/VideoListExample

Observing `Video.downloadedSegment` and `Video.streamingSegment` and printing these fields gives us `.segSequence`

There are a number test streams, some include a `SegmentTimeline` tag ("description": "has SegmentTimeline" added to highlight these streams)

Expected Result:

all streams have a `segSequence` that increases over time


Actual Result:

Streams without a `SegmentTimeline` tag: return `.segSequence` as expected, increasing over time

Streams with a `SegmentTimeline` tag: always return `.segSequence=0`, see print statements below

Repeatable?
100%

 

onFieldChanged() |video.streamingSegment=<Component: roAssociativeArray> =
{
    segBitrateBps: 128000
    segSequence: 0
    segStartTime: 7.957
    segType: 1
    segUrl: "https://demo.unified-streaming.com/video/tears-of-steel/tears-of-steel.ism/dash/tears-of-steel-audio_eng=128002-381952.dash"
}|
onFieldChanged() |video.streamingSegment=<Component: roAssociativeArray> =
{
    segBitrateBps: 1501000
    segSequence: 0
    segStartTime: 8
    segType: 2
    segUrl: "https://demo.unified-streaming.com/video/tears-of-steel/tears-of-steel.ism/dash/tears-of-steel-video_eng=1501000-4800.dash"
}|
onFieldChanged() |video.downloadedSegment=<Component: roAssociativeArray> =
{
    bitrateBps: 2200000
    bufferLevel: 0
    bufferSize: 0
    downloadDuration: 1365
    ipAddress: ""
    segSequence: 0
    segSize: 1044035
    segStreamBandwidth: 2200
    segType: 2
    segUrl: "https://demo.unified-streaming.com/video/tears-of-steel/tears-of-steel.ism/dash/tears-of-steel-video_eng=2200000-21600.dash"
    status: 0
}|
onFieldChanged() |video.downloadedSegment=<Component: roAssociativeArray> =
{
    bitrateBps: 128002
    bufferLevel: 0
    bufferSize: 0
    downloadDuration: 671
    ipAddress: ""
    segSequence: 0
    segSize: 65151
    segStreamBandwidth: 128
    segType: 1
    segUrl: "https://demo.unified-streaming.com/video/tears-of-steel/tears-of-steel.ism/dash/tears-of-steel-audio_eng=128002-2301952.dash"
    status: 0
}|

 

Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!