TRVCamSound.OnGetAudioStreamIndex

<< Click to display table of contents >>

TRVCamSound.OnGetAudioStreamIndex

Allows to choose an audio stream to play.

property OnGetAudioStreamIndex: TRVGetMediaStreamIndexEvent;

This event occurs before playing a video file.

This event may be useful if a video source contains more than one audio stream.

If the event is not processed, the first audio stream is played.

Warning: this event is called in a thread context.

You cannot change an audio stream while the video is played: you need to restart video.

See also

TRVCamera.OnGetVideoStreamIndex