mixStreamIdentity property

TRTCUser mixStreamIdentity
getter/setter pair
  • Description: The information of the robot that publishes the transcoded stream to a TRTC room.
  • Note:
    • You need to set this parameter only if you set the publishing mode to TRTCPublishMixStreamToRoom.
    • After you set this parameter, the stream will be pushed to the room you specify. We recommend you set it to a special user ID to distinguish the robot from the anchor who enters the room via the TRTC SDK.
    • Users whose streams are transcoded cannot subscribe to the transcoded stream.
    • If you set the subscription mode to manual before room entry, you need to manage the streams to receive by yourself (normally, if you receive the transcoded stream, you need to unsubscribe from the streams that are transcoded).
    • If you set the subscription mode to auto before room entry, users whose streams are not transcoded will receive the transcoded stream automatically and will unsubscribe from the users whose streams are transcoded. You call muteRemoteVideoStream and muteRemoteAudio to unsubscribe from the transcoded stream.

Implementation

TRTCUser mixStreamIdentity;