PushSingleStreamParam class
@brief Single stream push parameter
- Inheritance
-
- Object
- PackClass
- PushSingleStreamParam
- PushSingleStreamParam
Properties
- $instance → dynamic
-
no setterinherited
-
destInfos
↔ 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 pairinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- isScreen ↔ bool
-
@brief Whether the media stream is a screen-sharing stream.
getter/setter pairinherited
- pushType ↔ 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 pairinherited
- roomId ↔ String
-
@brief The room ID of the media stream
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url ↔ 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 pairinherited - userId ↔ String
-
@brief The user ID of the media stream
getter/setter pairinherited
Methods
-
$createInstance(
List args) → dynamic -
Factory method for creating instances
inherited
-
$destroy(
) → void -
inherited
-
$init(
List args) → void -
inherited
-
findOverrideIndices(
List args, List< List< indicesList) → List<int> >int> -
查找重载参数下标列表
@desc android 构造函数存在重载
此方法通过实际传入参数与构造函数参数列表集合的比对,来获取当前实际的需要使用的参数列表
inherited
-
fn2AndroidClass(
Function callback, dynamic nativeClass(), String methodName) → dynamic -
与 ts runtime 中的 fn2AndroidClass 功能一致
将 Dart 函数转换为 Android 回调类实例供 Android 侧使用
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transformToPlatformConstructorArgs(
List args, List< int> indices, Map<String, dynamic> typeMap, Map<String, dynamic> enumMap, Map<String, dynamic> classMap, String platformVar) → List -
实例化参数处理
将 pack 过后的 enum / class 转成 android / ios 平台侧的 enum / class
inherited
-
updateInstance(
dynamic instance) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited