onUserPublishStream property

OnUserPublishStreamType? onUserPublishStream
getter/setter pair

Callback about new media streams captured by camera/microphone in the room.

The local user will receive this callback after a remote user successfully published media streams captured by camera/microphone in the room with RTCRoom.publishStream.
Then the local user can choose whether or not to call RTCRoom.subscribeStream to subscribe to this stream.

Implementation

OnUserPublishStreamType? onUserPublishStream;