TRVCamRecorder.SourceAudioGUID, SourceAudioIndex

<< Click to display table of contents >>

TRVCamRecorder.SourceAudioGUID, SourceAudioIndex

These properties specify the unique identifier of the audio source, if AudioSource is TRVCamReceiver, and index of its media channel.

property SourceAudioGUID: String;

property SourceAudioIndex: Integer;

These properties are ignored when this recorder writes sound from TRVMicrophone.

If AudioSource is TRVCamReceiver, the recorder writes sound from the specified sender and its media channel.

Initially, a sender identifier is generated in TRVCamSender component and identifies this sender (TRVCamSender.GUIDFrom property). Then you need to  add this identifier to Senders property of TRVCamReceiver component. Then you need to connect a recorder to this receiver, and assign its SourceAudioGUID equal to one of receiver.Senders[].GUIDFrom.

If TRVCamSender has multiple media channels, assign the index of the desired channel to SourceAudioIndex; otherwise, leave SourceAudioIndex = 0.

Default values

SourceAudioGUID: '' (empty string)

SourceAudioIndex: 0