PushSingleStreamParam class
- Inheritance
-
- Object
- NativeClass
- PushSingleStreamParam
Properties
-
$resource
→ NativeResource
-
no setterinherited
-
destInfos
↔ FutureOr<List<DestInfo>?>
-
@brief Array of destination room info for cross-room media stream forwarding, null by default.
When you need to forward media streams from current room to other rooms, you can specify multiple destination room info in this list.
Each DestInfo contains roomId and userId of the destination room. See detials in DestInfo{@link DestInfo}.
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isScreen
↔ FutureOr<boolean?>
-
@brief Whether the media stream is a screen-sharing stream.
getter/setter pair
-
pushType
↔ FutureOr<SingleStreamPushType?>
-
@brief Single stream push type, specifying whether to push the media stream to CDN or RTC room. Default value is push to CDN. See SingleStreamPushType{@link SingleStreamPushType}.
getter/setter pair
-
ready
→ Future<void>
-
Whether the instance is initialized
no setterinherited
-
roomId
↔ FutureOr<String?>
-
@brief The room ID of the media stream
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
url
↔ FutureOr<String?>
-
@brief The URL for live transcoding. Only supports live transcoding via RTMP. The URL should match the regular expression
/^rtmps?:\\/\\//.
This parameter cannot be updated while pushing stream to the CDN.
getter/setter pair
-
userId
↔ FutureOr<String?>
-
@brief The user ID of the media stream
getter/setter pair