This page covers data collection for the Time to start variable. See Time to start for the corresponding reporting dimension and metric.
The time to start variable is the elapsed time, in milliseconds, between the player initiating playback and the first frame rendering. Set it on the QoE object before the session start event fires. Adobe stores and reports the value in seconds; pass milliseconds and Adobe converts at ingest.
timeToStart. The value can increase during the initial buffering or load phase, but should be treated as fixed from the moment playback begins. Continuing to update it after the first frame renders produces an inflated or incorrect Time to start metric.a.media.qoe.timeToStartc_contextdata.a.media.qoe.timeToStartRecommended implementation types
Set timeToStart inside xdm.mediaCollection.qoeDataDetails on media.sessionStart when calling sendEvent:
| code language-javascript |
|---|
|
Pass startup time as the second argument (startupTime) to createQoEObject.
| code language-swift |
|---|
|
Pass startup time as the second argument (startupTime) to createQoEObject.
| code language-kotlin |
|---|
|
Set timeToStart inside xdm.mediaCollection.qoeDataDetails on media.sessionStart when calling createMediaSession:
| code language-brightscript |
|---|
|
Call the sessionStart endpoint with timeToStart inside xdm.mediaCollection.qoeDataDetails:
| code language-json |
|---|
|
Legacy implementation types (Analytics-only)
Pass time to start as the second argument to ADB.Media.createQoEObject:
| code language-javascript |
|---|
|
Pass startup time in milliseconds as the second argument (startupTime) to ADBMobile.media.createQoSObject and update the tracker:
| code language-javascript |
|---|
|
Pass the startup time as the second argument (startupTime) to adb_media_init_qosinfo and update the tracker with mediaUpdateQoS:
| code language-brightscript |
|---|
|
Include media.qoe.timeToStart in the params object on sessionStart:
| code language-json |
|---|
|
See the Media Collection API sessions reference for the full request structure.