Videosupport

From Web and TV IG

Media support

UC-media support

Description

The cloud browser could remove the dependency from the media codec support by transcoding the media in the cloud and send it to the client device. This will make the codec support virtually unlimited. One way of getting the supported types is to use the canPlayType on the HTMLVideoElement. However if an content provider has different sources he would like to know which type is natively supported to save resources in the cloud.

Actors

html application, client device, content provider

Dependencies

canPlayType

Gaps

As an cloud browser provider you would like to know which codec is natively supported and which media will be supported, but virtually (i.e. transcoded). This is useful to know since you would like to leverage the client capabilities and save resource cost.

Notes

an way of circumvent this gap is to add a supported value to the canPlayType property

var support = videoElement.canPlayType('type=\'video/mp4; codecs="avc1.42E01E, mp4a.40.2"\);

if (support == "probably") console.log("natively supported")

else if (support == "virtually") console.log("supported by transcoding")

Authors

Colin Meerveld

History