ViewerAudioPolicy class
Audio policy optimized for passive consumption of audio/video content.
Use this policy when users have a passive role such as:
- Livestream viewers (watch-only)
- Audience members who only listen
- Playback of recorded content
This disables voice processing and treats the session as media playback on both platforms, providing higher audio fidelity.
See AudioConfigurationPolicy for detailed platform-specific behavior.
- Inheritance
-
- Object
- AudioConfigurationPolicy
- ViewerAudioPolicy
Constructors
- ViewerAudioPolicy()
-
const
Properties
- bypassVoiceProcessing → bool
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAndroidConfiguration(
) → AndroidAudioConfiguration -
override
-
getAppleConfiguration(
{bool defaultToSpeaker = false}) → AppleAudioConfiguration -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited