diff options
Diffstat (limited to 'cast/standalone_receiver/simple_remoting_receiver.h')
-rw-r--r-- | cast/standalone_receiver/simple_remoting_receiver.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cast/standalone_receiver/simple_remoting_receiver.h b/cast/standalone_receiver/simple_remoting_receiver.h index 52fe131f..8e672574 100644 --- a/cast/standalone_receiver/simple_remoting_receiver.h +++ b/cast/standalone_receiver/simple_remoting_receiver.h @@ -39,6 +39,10 @@ class SimpleRemotingReceiver { using InitializeCallback = std::function<void(AudioCodec, VideoCodec)>; void SendInitializeMessage(InitializeCallback initialize_cb); + // The speed at which the content is decoded is synchronized with the + // playback rate. Pausing is a special case with a playback rate of 0.0. + void SendPlaybackRateMessage(double playback_rate); + private: void OnInitializeCallbackMessage(std::unique_ptr<RpcMessage> message); |