Method Summary
|
getFormatMapping
(
|
Returns the audio format mapping for the specified output connection and input format. |
|
getFormatMappingList
(
|
Returns all audio format mappings for the specified output connection. |
Type Definitions
|
Input and output audio formats. |
|
Methods
Returns the audio format mapping for the specified output connection and input format.
Parameters:
-
Name Type Description connectionIdToiAudioOutputService.ToiAudioConnectionId The identifier of the output connection.
inputFormatToiAudioOutputConfiguration.ToiAudioFormat The input format.
Throws:
-
ToiInvalidArgumentException Raised if the output connection or the input format is invalid.
Returns:
-
Type: ToiAudioOutputConfiguration.ToiAudioFormatMapping
The requested format mapping.
Returns all audio format mappings for the specified output connection.
Parameters:
-
Name Type Description connectionIdToiAudioOutputService.ToiAudioConnectionId The identifier of the output connection.
Throws:
-
ToiInvalidArgumentException Raised if the output connection is invalid.
Returns:
-
Type: Array.<ToiAudioOutputConfiguration.ToiAudioFormatMapping>
The list of audio format mappings.
Members
AAC HE audio.
AAC LC audio.
AC3 audio.
Enhanced AC3 audio.
DTS audio.
DTS HD audio.
MP3 audio
MPEG1 audio.
MPEG2 audio.
No value.
PCM stereo audio.
PCM multi audio.
Specifies input and out audio format mapping
Struct fields
| Name | Description |
|---|---|
| activeMixFlag | If true, the available input connections are mixed for this input format. Type: boolean |
| activeOutputFormat | The active output format for the input format. Type: ToiAudioOutputConfiguration.ToiAudioFormat |
| inputFormat | The input format. Type: ToiAudioOutputConfiguration.ToiAudioFormat |
| outputFormatOptionList | A list of output formats available for the input format. Note that TOI always provides an Array, even if there is only a single value. Type: Array.<ToiAudioOutputConfiguration.ToiAudioFormatOption> (Or a single ToiAudioOutputConfiguration.ToiAudioFormatOption.) |
Specifies the audio format and the mix option.
Struct fields
| Name | Description |
|---|---|
| format | The audio format. Type: ToiAudioOutputConfiguration.ToiAudioFormat |
| mixFlag | If true, the input connections are mixed. Type: boolean |