OnUserUnpublishStreamType typedef

OnUserUnpublishStreamType = void Function(String uid, MediaStreamType type, StreamRemoveReason reason)

uid: ID of the user whose stream is removed.

type: Removed stream type.

reason: Reasons for removal of the remote stream.

Implementation

typedef OnUserUnpublishStreamType = void Function(
    String uid, MediaStreamType type, StreamRemoveReason reason);