Constructor

SetPlaybackRateRequestData

new SetPlaybackRateRequestData()

Extends
cast.framework.messages.RequestData

Properties

customData

unknown

Application-specific data for this request. It enables the sender and receiver to easily extend the media protocol without having to use a new namespace with custom messages.

Inherited from
cast.framework.messages.RequestData#customData

mediaSessionId

unknown

Id of the media session that the request applies to.

Inherited from
cast.framework.messages.RequestData#mediaSessionId

playbackRate

(number or undefined)

New playback rate (>0).

relativePlaybackRate

(number or undefined)

New playback rate relative to current playback rate. New rate will be the result of multiplying the current rate with the value. For example a value of 1.1 will increase rate by 10%. (Only used if the playbackRate value is not provided).

requestId

unknown

Id of the request, used to correlate request/response.

Inherited from
cast.framework.messages.RequestData#requestId