PlayMediaControlActivity
Options for reporting playback progress.
Declaration
object PlayMediaControlActivityProperties
| Name | Type | Description |
|---|---|---|
playElapsed | uint32 | The number of seconds the client plays a piece of content before sending a |
playElapsedInterval | uint32 | The number of seconds the client waits before sending a subsequent |
playPaused | uint32 | The minimum pause duration, in seconds, that the client reports. |
Discussion
Provide these values in a Queue to configure when the client sends requests to your Report Playback Progress and Activity endpoint.
If you specify both playElapsedInterval and playElapsed, the client sends the first report after it plays playElapsed seconds of content. Then it sends additional reports according to the playElapsedInterval, counting from the beginning of the content. For example, if you specify 45 for playElapsed and 30 for playElapsedInterval, the client sends reports after 45, 60, 90, and 120 seconds of playback.
If you specify playElapsedInterval, but not playElapsed, the client uses the playElapsedInterval for both.