Skip to content

cuechange event not being triggered on audio only HLS streams #130

@ghost

Description

nomayonnaise commented on Sep 12, 2017, 10:04 AM UTC:

Description

The cuechange eventListener is not being triggered for audio only HLS streams when using this plug-in. The audio only stream contains 3 10 second .ts segments with AAC audio 64kb/s. This happens with a real live HLS stream as well.

Here are 2 examples with 3 ts segments

With audio only - cuechange event is not triggered
http://jsfiddle.net/8f05vyb2/

With video and audio - cuechange event is triggered
http://jsfiddle.net/p228339u/4/

Sources

With audio only
http://li720-23.members.linode.com/hls/audio.m3u8
With video and audio
http://li720-23.members.linode.com/hls/video.m3u8

Steps to reproduce

Explain in detail the exact steps necessary to reproduce the issue.

  1. Open audio only link in Chrome
  2. Play video (should autoplay)

Results

Expected

cuechange triggered, input value is updated

Error output

There is no error output, cuechange event not triggered.

Additional Information

This only happens with audio only .ts segments. .ts segments with video and audio work correctly. This example only has 3 10 seconds .ts segments so the player will stop after 30 seconds.

videojs-contrib-hls version

what version of videojs-contrib-hls does this occur with?
videojs-contrib-hls 5.10.1

videojs version

what version of videojs does this occur with?
video.js 6.2.8

Browsers

what browsers are affected? please include browser and version for each

Google Chrome 60.0.3112.113

Platforms

what platforms are affected? please include operating system and version or device and version for each

Windows 7,8.1,10, OSX/MacOs

Other Plugins

are any other videojs plugins being used on the page? If so, please list them with version below.

None

Other JavaScript

are you using any other javascript libraries or frameworks on the page? if so please list them below.

None

This issue was moved by forbesjo from videojs/videojs-contrib-hls#1255.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions