SetForUser
Sets local/remote video display.
public void SetForUser(uint uid = 0, string channelId = "", VIDEO_SOURCE_TYPE source_type = VIDEO_SOURCE_TYPE.VIDEO_SOURCE_CAMERA_PRIMARY) { Uid = uid; ChannelId = channelId; SourceType = source_type; }
Note:
- Make sure to call this method on the main thread.
- Make sure to call this method before binding
VideoSurface.cs.
Parameters
- uid
- The remote user ID, obtained via OnUserJoined. The default value is 0, which means the local video is visible.
- channelId
- Channel ID.
- source_type
- Video stream type. See VIDEO_SOURCE_TYPE.