SRGSSR / pillarbox-documentation

Technical cross-platform documentation for Pillarbox
3 stars 0 forks source link

API sync QoS #87

Closed amtins closed 1 month ago

amtins commented 1 month ago

QoS

amtins commented 1 month ago

should the heartbeat be sent when the player is paused?

Yes

how often should the heartbeat be sent?

Every 30 seconds no matter the playback state

when should the stop event be sent?

Aside from the usual media ended the stop event is sent when transitioning from a media to another.

what value should be set for a live with a seekable window?

The value of the live window

What is the playback duration we send? Is it measured in wall-clock time or in the reference frame of the stream? Should we send both values, e.g. to be able to measure average playback speeds?

Is playback_duration exposed as a player metric?

Which player position should be sent for live-only / DVR streams? (time vs. offset from live edge)

What startup times are we measuring? (in a QoE approach a time of 0 should be sent if a process is not visible, in a QoS approach we can send the real value)