Skip to content

Don't throw exception when attempting to play audio only stream

Created by: davemevans

Following 56872455 (#627), streams with no video would completely fail with an uncaught TypeError. This is because video is hardcoded as the only stream type queried when determining if automatic time syncronisation is required.

This PR allows audio only streams to be played.

We have a number of audio streams for testing available from http://rdmedia.bbc.co.uk/dash/ondemand/testcard/radio/ which will play after this patch has been applied. Live audio only is also reenabled by this patch.

Merge request reports