MixedStreamSpatialAudioConfig class
- Inheritance
-
- Object
- NativeClass
- MixedStreamSpatialAudioConfig
Constructors
- MixedStreamSpatialAudioConfig([NativeClassOptions? options])
Properties
- $resource → NativeResource
-
no setterinherited
-
audienceSpatialOrientation
↔ FutureOr<
HumanOrientation?> -
@brief The orientation of the audience. See HumanOrientation{@link #HumanOrientation}.
The audience is the users who receive the audio stream from CDN.getter/setter pair -
audienceSpatialPosition
↔ FutureOr<
Position?> -
@brief The spatial position of the audience. See Position{@link #Position}.
The audience is the users who receive the audio stream from CDN. This parameter is not supported for WTN stream tasks.getter/setter pair -
enableSpatialRender
↔ FutureOr<
boolean?> -
@brief Whether to enable the spatial audio effect when pushing to CDN.
@note when you enable the feature, set the
spatial_positionof each MixedStreamLayoutRegionConfig{@link #MixedStreamLayoutRegionConfig} for spatial audio effect.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
-
ready
→ Future<
void> -
Whether the instance is initialized
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
-
setAudienceSpatialPosition(
float x, float y, float z) → FutureOr< MixedStreamSpatialAudioConfig> -
@hidden for internal use
@brief Sets the spatial position of the audience.
The audience is the users who receive the audio stream from CDN. @param x x-coordinate. @param y y-coordinate. @param z z-coordinate. -
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