PushSingleStreamParam class

Inheritance
  • Object
  • NativeClass
  • PushSingleStreamParam

Constructors

PushSingleStreamParam([NativeClassOptions? options])

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

Methods

destroy() → void
inherited
nativeCall<T>(String method, [List? args, NativeMethodMeta? meta]) Future<T>
Call instance method
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendInstanceGet<T>(String property) Future<T>
Get instance property
inherited
sendInstancePropertiesGet(dynamic nativeClass) Future<Map<String, dynamic>>
Get instance properties
inherited
sendInstanceSet(String property, dynamic value) Future<void>
Set instance property
inherited
toString() String
A string representation of this object.
inherited
updateResource(NativeResource resource) → void
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

codegen_$namespace → dynamic
no setter