Skip to content

Empty M3U8 media playlist doesn't trigger 'events.PlayerEventType.ERROR' event #51

Description

@moerradi

Describe the bug
i'm trying to serve custom m3u8 file using AWS IVS player, however when I try to send the player a master m3u8 playlist that points on an empty m3u8 media playlist the Error event doesn't get triggered and the play just gets stuck in an IDLE state

To Reproduce

  1. create an nginx server that contains 3 files a master playlist similar to this:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=400000,RESOLUTION=288x160 FRAME_RATE=30
index1.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=900000,RESOLUTION=640x360 FRAME_RATE=30
index2.m3u8

and empty files index1.m3u8 and index2.m3u8
give the IVS player http://localhost/index.m3u8 the player will load the master then when it tries to load the media playlist and finds it empty it just crashes without triggering the ERROR event

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions