Skip to main content

Differentiate your streams with a VideoID

Identify the videos with a videoID

In the web and native versions of the QUANTEEC plugin, a custom videoID can be inserted inside the QUANTEEC configuration, next to your quanteecKey:

var quanteecConfig = {
quanteecKey: "<your-quanteec-key>",
videoID: "<enter-your-custom-videoID>"
};

The videoID is used by QUANTEEC to identify the video. Hence, two players are able to know they are watching the same content, and they can exchange data. If the videoID is different, the players will not be able to connect. If no videoID is specified in the configuration, the URL of the video source is used as a videoID.

If the video urls are the same for every viewer for one video, then it is enough, and videoID are not needed. However, if specific urls are generated for every viewer (it may be the case if a token is used in the path of the url for security reasons), then the players will think they are not watching the same content, preventing the QUANTEEC plugin from being efficient. In this situation, videoIDs are needed.

warning

Remember to set a different videoID if you have different formats of the same stream (e.g., one DASH stream and one HLS stream) or two variants of the same stream (one stream with English audio and one stream with another language).