Buffer start
The buffer start event signals that the media player entered a buffering state.
- Prerequisites: Session start
- Associated metric: Buffer events
play event after bufferStart.trackEvent(BufferComplete) when the player exits buffering, then call trackPlay() to resume playback.Recommended implementation types
Call sendEvent with eventType: "media.bufferStart":
| code language-javascript |
|---|
|
Call trackEvent with BufferStart when the player enters a buffering state, and BufferComplete when it exits.
| code language-swift |
|---|
|
Call trackEvent with BufferStart when the player enters a buffering state, and BufferComplete when it exits.
| code language-kotlin |
|---|
|
Call sendMediaEvent with eventType: "media.bufferStart":
| code language-brightscript |
|---|
|
Call the bufferStart endpoint:
| code language-sh |
|---|
|
Legacy implementation types (Analytics-only)
Call trackEvent with the BufferStart event type:
| code language-javascript |
|---|
|
Call trackEvent with BufferStart when the player enters a buffering state, and BufferComplete when it exits:
| code language-javascript |
|---|
|
Call mediaTrackEvent with MEDIA_BUFFER_START when the player enters a buffering state, and MEDIA_BUFFER_COMPLETE when it exits:
| code language-brightscript |
|---|
|
Send a bufferStart POST to the events endpoint:
| code language-json |
|---|
|