TRVCamReceiver.GetOpenChannelCount, GetMaxChannelCount

Top  Previous  Next

The methods return the count of opened channels and the maximal possible count of channels.

function GetOpenChannelCount: Integer;
function GetMaxChannelCount: Integer;

If TRVCamSender initiates the connection, the maximal count of channels is 1. If TRVCamReceiver initiates the connection, a channel is created for each data type specified in ReceiveMediaTypes. See the topic about the modes of connections for the explanations.

See also:

OnOpenChannel, OnCloseChannel