OnUserPublishStreamType typedef
OnUserPublishStreamType =
void Function(String uid, MediaStreamType type)
uid
: ID of the remote user who publishes the stream.
type
: Media stream type.
Implementation
typedef OnUserPublishStreamType = void Function(
String uid, MediaStreamType type);