The information of the destination channel. See ChannelMediaInfo
It contains the following properties:
channel
: The name of the destination channel.token
:Token for joining the destination channel.
It is generated with channel
and uid
you set in destInfos
.uid
: ID of the host in the destination channel.
The value ranges from 0 to 232-1. To avoid UID conflicts,
this uid
must be different from any other UIDs in the destination
channel. The default value is 0, which means the SDK randomly generates
a UID.The information of the source channel. See ChannelMediaInfo
It contains the following properties:
Note:
channel
: The name of the source channel. The default value is NULL,
which means that the SDK passes in the name of the current channel.
token
: Token for joining the source channel. It is generated with
channel
and uid
you set in srcInfo
. The default value is NULL,
which means that the SDK passes in the APP ID.
uid
:
The configuration of the media stream relay.
Warning: