TRVGetMediaStreamIndexEvent

<< Click to display table of contents >>

TRVGetMediaStreamIndexEvent

Unit [VCL and LCL] MRVType;

Unit [FMX] fmxMRVType;

type
  TRVGetMediaStreamIndexEvent = procedure(Sender: TObject; 
    StreamCount: Integer; var StreamIndex: Integer) of object;

This is the type of the following events:

TRVCamSender.OnConnected, OnConnecting, OnDisconnect, OnConnectError

TRVCamReceiver.OnConnected, OnConnecting, OnDisconnect, OnConnectError

This event allows choosing a video or an audio stream to play.

Parameters

StreamCount – the count of video or audio streams in a video file

StreamIndex – index of the media stream to play