TRVCamSender.VideoSource, SourceGUID

<< Click to display table of contents >>

TRVCamSender.VideoSource, SourceGUID

Defines the video (and may be audio) source.

property VideoSource: TRVVideoSource;

property SourceGUID: String

A video source can be either a TRVCamera or TRVCamReceiver component.

If TRVCamReceiver is assigned to this property, it also can be used as an audio source.

If TRVCamReceiver is assigned to this property, and this receiver receives videos from multiple sources, you can specify the video (and audio) to display in SourceGUID property.

Media channels

TRVCamSender can send video and audio in multiple channels. The default (0th) channel is defined by AudioSource and VideoSource properties. Other channels are defined in ExtraMediaSources property.

Properties necessary to specify video source completely

In the simplest case, video is read from TRVCamera component assigned to this property. No additional property settings are required.

But when reading video from TRVCamReceiver, you need to specify additional properties, because this receiver can receive data from multiple senders, and each sender may send multiple media channels. In this case, in addition to assigning TRVCamReceiver to VideoSource, you need to specify:

SourceGUID to specify the sender

SourceVideoIndex to specify media channel of the sender specified in SourceGUID

See the scheme in the topic about SourceVideoIndex.