Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PlayToReceiver.NotifyRateChange | notifyRateChange method

Applies to Windows only

Notifies the Play To receiver that the rate of the audio or video playback has changed.

Syntax


playToReceiver.notifyRateChange(rate);

Parameters

rate

Type: Number [JavaScript] | System.Double [.NET] | float64 [C++]

The new value of the playback rate.

Remarks

For an example of creating a software Play To receiver, see Quickstart: Creating a Play To Receiver (JavaScript) or Quickstart: Creating a Play To Receiver (C#/VB).


function videoPlayer_RateChange () { 
    receiver.notifyRateChange(videoPlayer.playbackRate); 
}


Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Media.PlayTo
Windows::Media::PlayTo [C++]

Metadata

Windows.winmd

Capabilities

privateNetworkClientServer

See also

PlayToReceiver
Samples
Play To sample
PlayToReceiver sample
Media Server sample

 

 

Show:
© 2014 Microsoft