AudioStreamingAgent.OnBeginStreaming Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Called when a new track requires audio streaming because it is about to start playing.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Parameters
- track
- Type: Microsoft.Phone.BackgroundAudio.AudioTrack
The track that needs audio streaming.
- streamer
- Type: Microsoft.Phone.BackgroundAudio.AudioStreamer
The AudioStreamer object to which a MediaStreamSource should be attached to start playback.
If you don’t override this method, then the base class implementation simply calls Abort().
Caution: |
|---|
This API is not supported for Silverlight 8.1 apps. |
Show:
Caution: