SubscribeConfig class

Inheritance
  • Object
  • NativeClass
  • SubscribeConfig

Constructors

SubscribeConfig([NativeClassOptions? options])

Properties

$resource → NativeResource
no setterinherited
framerate FutureOr<int?>
@brief Expected maximum frame rate of the subscribed stream in px. The default value is 0, values greater than 10 are valid.
If the frame rate of the stream published is higher than the value set by the subscriber, the subscriber receives the video of the frame rate set by this API; if the frame rate of the stream published is lower than the value set by the subscriber, the subscriber receives the video of the same frame rate of the video published.
Only valid if the stream is coded with SVC technique.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isScreen FutureOr<boolean?>
@brief Whether the stream is from screen sharing
getter/setter pair
ready Future<void>
Whether the instance is initialized
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subAudio FutureOr<boolean?>
@brief Whether audio stream is included
getter/setter pair
subHeight FutureOr<int?>
@brief Height of the video stream in px
getter/setter pair
subVideo FutureOr<boolean?>
@brief Whether video stream is included
getter/setter pair
subVideoIndex FutureOr<int?>
@hidden for internal use only
getter/setter pair
subWidth FutureOr<int?>
@brief Width of the video stream in px
getter/setter pair
videoIndex FutureOr<int?>
@brief Subscribed video stream resolution subscript.
Users can publish multiple videos of different resolutions in a stream. Therefore, when subscribing to a stream, you need to specify the specific resolution of the subscription. This parameter is used to specify the subscript of the resolution to be subscribed to, and the default value is 0.
getter/setter pair

Methods

destroy() → void
inherited
equals(Object o) FutureOr<boolean>
@hidden constructor/destructor
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