SOURCE_STREAM_TYPE_NOT_SUPPORTED 1204

The stream type is not supported.

This error happens when the SourceConfig does not contain a valid stream type, i.e. dash, hls, progressive or smooth. Also, when no PlayerType is supported on the platform for the stream type specified in the source, the error is triggered. The MEDIA_ERR_SRC_NOT_SUPPORTED error from the video element is also mapped to this error.

Please check the SourceConfig for the supported stream types. Also, consider using a stream type for which a PlayerType is supported on the current platform.

Troubleshooting steps for not supported type

  • Make sure the platform supports the required technology and stream type combinations. The list of technologies supported by the current platform can be queried using the getSupportedTech method

    @example

    // Example supported tech on Mac with Chrome browser
    var supportedTech = player.getSupportedTech();
    console.log(supportedTech)
    [
    {
    "player": "html5",
    "streaming": "dash"
    },
    {
    "player": "html5",
    "streaming": "hls"
    },
    {
    "player": "html5",
    "streaming": "smooth"
    },
    {
    "player": "native",
    "streaming": "progressive"
    }
    ]