Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This guide explains Phenix’s recommendations for gathering timing information for the purpose of optimizing video experiences. Following this methodology will allow for clear conversations and data comparisons (apples to apples) to enable quicker resolutions to issues and a faster path toward optimized experiences.

...

Place calls to performance.measure with an appropriate text identifier in at least these places:

A) First line of your javascriptJavaScript.

Code Block
performance.measure("firstLineOfJS");

B) Just before the joinChannel call is made.

Code Block
  performance.measure("joinChannel");
  channel.joinChannel(joinChannelOptions, function joinChannelCallback(error, response) {

C) First thing in the joinChannelCallback.

Code Block
  channel.joinChannel(joinChannelOptions, function joinChannelCallback(error, response) {
    performance.measure("joinChannelCallback");

D) First thing in the subscriberCallback

Code Block
    }, function subscriberCallback(error, response) {
      performance.measure("subscriberCallback");

E) Set a callback on the videoElement.ontimeupdate

...