Audio Latency

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

This feature is supported in mobile and wearable applications only.

The main features of the Player Util API include:

Getting 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);
}

Setting the Latency Mode

To set a new latency mode, use one of the available modes defined in the LatencyMode enumerator (in mobile and wearable applications):

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