TVIAudioOutput Constants Reference
Declared in | TVIAudioController.h |
---|
TVIAudioOutput
Describes audio output configurations. TVIAudioOutputVideoChatDefault
is the default setting used by the sdk.
Real time, full-duplex audio requires a very specific AVAudioSession configuration. The Video SDK
will set the category to AVAudioSessionCategoryPlayAndRecord
with AVAudioSessionCategoryOptionAllowBluetooth
.
Properties such as the preferred IO buffer duration, sample rate, and the number of input and output of channels
will be set appropriately. You should not call AVAudioSession APIs directly.
Definition
typedef NS_ENUM(NSUInteger, TVIAudioOutput ) {
TVIAudioOutputVideoChatDefault = 0,
TVIAudioOutputVideoChatSpeaker,
TVIAudioOutputVoiceChatDefault,
TVIAudioOutputVoiceChatSpeaker,
};
Constants
TVIAudioOutputVideoChatDefault
-
Mode
AVAudioSessionModeVideoChat
with overrideAVAudioSessionPortOverrideNone
will be used. This is the default setting.Declared In
TVIAudioController.h
. TVIAudioOutputVideoChatSpeaker
-
Mode
AVAudioSessionModeVideoChat
with overrideAVAudioSessionPortOverrideSpeaker
will be used.Declared In
TVIAudioController.h
. TVIAudioOutputVoiceChatDefault
-
Mode
AVAudioSessionModeVoiceChat
with overrideAVAudioSessionPortOverrideNone
will be used.Declared In
TVIAudioController.h
. TVIAudioOutputVoiceChatSpeaker
-
Mode
AVAudioSessionModeVoiceChat
with overrideAVAudioSessionPortOverrideSpeaker
will be used.Declared In
TVIAudioController.h
.
Declared In
TVIAudioController.h