Skip to content

Live streams not functioning on Wowza with recent versions of Shaka #192

Closed
@jbroberg

Description

@jbroberg

Hi guys,

We use Wowza (latest version) to deliver transcoded, multi-bitrate live dash (h264). In recent versions of shaka we have found that live streaming is no longer working correctly. v1.3.2 is working but any version after that is not functioning for us (e.g. v1.5.0).

We get the following error in console on v1.5.0:

Using native EME as-is.
player.js:190 + video/mp4; codecs="avc1.4d4029" is supported
player.js:190 + video/mp4; codecs="avc1.4d401e" is supported
player.js:190 + video/mp4; codecs="avc1.4d4015" is supported
player.js:190 + video/mp4; codecs="avc1.428015" is supported
player.js:190 + audio/mp4; codecs="mp4a.40.2" is supported
player.js:190 + video/mp4; codecs="avc1.428015" is supported
player.js:190 + audio/mp4; codecs="mp4a.40.2" is supported
2live_segment_index.js:309 Assertion failed:shaka.dash.LiveSegmentIndex.getSeekRangeInternal @ live_segment_index.js:309
stream_video_source.js:1437 Starting each stream from 2210.042000055313

I can share the mpd source if someone is willing to take take a look on
https://shaka-player-demo.appspot.com/

Working console log (v1.3.2):

Using native EME as-is.
+ video/mp4; codecs="avc1.4d4029" is supported
+ video/mp4; codecs="avc1.4d401e" is supported
+ video/mp4; codecs="avc1.4d4015" is supported
+ video/mp4; codecs="avc1.428015" is supported
+ audio/mp4; codecs="mp4a.40.2" is supported
+ video/mp4; codecs="avc1.428015" is supported
+ audio/mp4; codecs="mp4a.40.2" is supported
Initial seek range [459511.588276644, 459541.577]
Starting each stream from 459541.577
Starting stream for s…a.m…a.StreamInfo {uniqueId: 4, id: "p0a1r0", timestampOffset: 0, currentSegmentStartTime: 459541.58845804987, bandwidth: 64000…}
Starting stream for s…a.m…a.StreamInfo {uniqueId: 2, id: "p0a0r2", timestampOffset: 0, currentSegmentStartTime: 459541.577, bandwidth: 256000…}
min/max timestamp corrections [-6.462796591222286e-7, 0]
Corrected seek range [459511.588276644, 459541.577]
+ video/mp4; codecs="avc1.4d4029" is supported
+ video/mp4; codecs="avc1.4d401e" is supported
+ video/mp4; codecs="avc1.4d4015" is supported
+ video/mp4; codecs="avc1.428015" is supported
+ audio/mp4; codecs="mp4a.40.2" is supported
Updated StreamInfo p0a0r3, SegmentIndex now has 5 references.
Updated StreamInfo p0a0r2, SegmentIndex now has 5 references.
Updated StreamInfo p0a0r1, SegmentIndex now has 5 references.
Updated StreamInfo p0a0r0, SegmentIndex now has 5 references.
Updated StreamInfo p0a1r0, SegmentIndex now has 5 references.
Evicted 0 reference(s).
+ video/mp4; codecs="avc1.4d4029" is supported
+ video/mp4; codecs="avc1.4d401e" is supported
+ video/mp4; codecs="avc1.4d4015" is supported
+ video/mp4; codecs="avc1.428015" is supported
+ audio/mp4; codecs="mp4a.40.2" is supported
Updated StreamInfo p0a0r3, SegmentIndex now has 6 references.
Updated StreamInfo p0a0r2, SegmentIndex now has 6 references.
Updated StreamInfo p0a0r1, SegmentIndex now has 6 references.
Updated StreamInfo p0a0r0, SegmentIndex now has 6 references.
Updated StreamInfo p0a1r0, SegmentIndex now has 6 references.
Evicted 0 reference(s).
Video adaptation: s…a.p…r.VideoTrack {id: 0, bandwidth: 2400000, width: 1280, height: 720, active: false}
Switching streams to s…a.m…a.StreamInfo {uniqueId: 0, id: "p0a0r0", timestampOffset: 0, currentSegmentStartTime: 459550.577, bandwidth: 2400000…}
+ video/mp4; codecs="avc1.4d4029" is supported
+ video/mp4; codecs="avc1.4d401e" is supported
+ video/mp4; codecs="avc1.4d4015" is supported
+ video/mp4; codecs="avc1.428015" is supported
+ audio/mp4; codecs="mp4a.40.2" is supported

etc etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: archivedArchived and locked; will not be updated

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions