Audio Latency

You can control the audio latency mode of the W3C player.

This feature is optionals.

The main features of the Player Util API include the following:

Get the current latency mode

To get the current latency mode, use the getLatencyMode() method:

var latencyMode;
try {
    latencyMode = tizen.playerutil.getLatencyMode();
} catch (error) {
    console.log(error.name + ': ' + error.message);
}

Set the latency mode

To set a new latency mode, use one of the available modes defined in the LatencyMode enumerator:

try {
    tizen.playerutil.setLatencyMode('HIGH');
} catch (error) {
    console.log(error.name + ': ' + error.message);
}
  • Dependencies
    • Tizen 2.4 and Higher