Audio Latency

Mobile WebWearable Web

Dependencies

  • Tizen 3.0 and Higher for Mobile
  • Tizen 3.0 and Higher for Wearable

Content

Related Info

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