Skip to content

Commit c7ddd0d

Browse files
author
awstools
committed
feat(client-medialive): This change exposes API settings which allow Dolby Atmos and Dolby Vision to be used when running a channel using Elemental Media Live
1 parent 2da8513 commit c7ddd0d

File tree

8 files changed

+522
-208
lines changed

8 files changed

+522
-208
lines changed

clients/client-medialive/src/commands/UpdateChannelClassCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
UpdateChannelClassRequestFilterSensitiveLog,
1919
UpdateChannelClassResponse,
2020
UpdateChannelClassResponseFilterSensitiveLog,
21-
} from "../models/models_1";
21+
} from "../models/models_2";
2222
import {
2323
deserializeAws_restJson1UpdateChannelClassCommand,
2424
serializeAws_restJson1UpdateChannelClassCommand,

clients/client-medialive/src/commands/UpdateChannelCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
UpdateChannelRequestFilterSensitiveLog,
1919
UpdateChannelResponse,
2020
UpdateChannelResponseFilterSensitiveLog,
21-
} from "../models/models_1";
21+
} from "../models/models_2";
2222
import {
2323
deserializeAws_restJson1UpdateChannelCommand,
2424
serializeAws_restJson1UpdateChannelCommand,

clients/client-medialive/src/commands/UpdateInputCommand.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@ import {
1313
} from "@aws-sdk/types";
1414

1515
import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
16-
import { UpdateInputRequest, UpdateInputRequestFilterSensitiveLog } from "../models/models_1";
17-
import { UpdateInputResponse, UpdateInputResponseFilterSensitiveLog } from "../models/models_2";
16+
import {
17+
UpdateInputRequest,
18+
UpdateInputRequestFilterSensitiveLog,
19+
UpdateInputResponse,
20+
UpdateInputResponseFilterSensitiveLog,
21+
} from "../models/models_2";
1822
import {
1923
deserializeAws_restJson1UpdateInputCommand,
2024
serializeAws_restJson1UpdateInputCommand,

clients/client-medialive/src/models/models_0.ts

Lines changed: 77 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,71 @@ export interface Ac3Settings {
313313
MetadataControl?: Ac3MetadataControl | string;
314314
}
315315

316+
export enum Eac3AtmosCodingMode {
317+
CODING_MODE_5_1_4 = "CODING_MODE_5_1_4",
318+
CODING_MODE_7_1_4 = "CODING_MODE_7_1_4",
319+
CODING_MODE_9_1_6 = "CODING_MODE_9_1_6",
320+
}
321+
322+
export enum Eac3AtmosDrcLine {
323+
FILM_LIGHT = "FILM_LIGHT",
324+
FILM_STANDARD = "FILM_STANDARD",
325+
MUSIC_LIGHT = "MUSIC_LIGHT",
326+
MUSIC_STANDARD = "MUSIC_STANDARD",
327+
NONE = "NONE",
328+
SPEECH = "SPEECH",
329+
}
330+
331+
export enum Eac3AtmosDrcRf {
332+
FILM_LIGHT = "FILM_LIGHT",
333+
FILM_STANDARD = "FILM_STANDARD",
334+
MUSIC_LIGHT = "MUSIC_LIGHT",
335+
MUSIC_STANDARD = "MUSIC_STANDARD",
336+
NONE = "NONE",
337+
SPEECH = "SPEECH",
338+
}
339+
340+
/**
341+
* Eac3 Atmos Settings
342+
*/
343+
export interface Eac3AtmosSettings {
344+
/**
345+
* Average bitrate in bits/second. Valid bitrates depend on the coding mode.
346+
* // * @affectsRightSizing true
347+
*/
348+
Bitrate?: number;
349+
350+
/**
351+
* Dolby Digital Plus with Dolby Atmos coding mode. Determines number of channels.
352+
*/
353+
CodingMode?: Eac3AtmosCodingMode | string;
354+
355+
/**
356+
* Sets the dialnorm for the output. Default 23.
357+
*/
358+
Dialnorm?: number;
359+
360+
/**
361+
* Sets the Dolby dynamic range compression profile.
362+
*/
363+
DrcLine?: Eac3AtmosDrcLine | string;
364+
365+
/**
366+
* Sets the profile for heavy Dolby dynamic range compression, ensures that the instantaneous signal peaks do not exceed specified levels.
367+
*/
368+
DrcRf?: Eac3AtmosDrcRf | string;
369+
370+
/**
371+
* Height dimensional trim. Sets the maximum amount to attenuate the height channels when the downstream player isn??t configured to handle Dolby Digital Plus with Dolby Atmos and must remix the channels.
372+
*/
373+
HeightTrim?: number;
374+
375+
/**
376+
* Surround dimensional trim. Sets the maximum amount to attenuate the surround channels when the downstream player isn't configured to handle Dolby Digital Plus with Dolby Atmos and must remix the channels.
377+
*/
378+
SurroundTrim?: number;
379+
}
380+
316381
export enum Eac3AttenuationControl {
317382
ATTENUATE_3_DB = "ATTENUATE_3_DB",
318383
NONE = "NONE",
@@ -575,6 +640,11 @@ export interface AudioCodecSettings {
575640
*/
576641
Ac3Settings?: Ac3Settings;
577642

643+
/**
644+
* Eac3 Atmos Settings
645+
*/
646+
Eac3AtmosSettings?: Eac3AtmosSettings;
647+
578648
/**
579649
* Eac3 Settings
580650
*/
@@ -4426,26 +4496,6 @@ export enum HlsProgramDateTime {
44264496
INCLUDE = "INCLUDE",
44274497
}
44284498

4429-
export enum HlsProgramDateTimeClock {
4430-
INITIALIZE_FROM_OUTPUT_TIMECODE = "INITIALIZE_FROM_OUTPUT_TIMECODE",
4431-
SYSTEM_CLOCK = "SYSTEM_CLOCK",
4432-
}
4433-
4434-
export enum HlsRedundantManifest {
4435-
DISABLED = "DISABLED",
4436-
ENABLED = "ENABLED",
4437-
}
4438-
4439-
export enum HlsSegmentationMode {
4440-
USE_INPUT_SEGMENTATION = "USE_INPUT_SEGMENTATION",
4441-
USE_SEGMENT_DURATION = "USE_SEGMENT_DURATION",
4442-
}
4443-
4444-
export enum HlsStreamInfResolution {
4445-
EXCLUDE = "EXCLUDE",
4446-
INCLUDE = "INCLUDE",
4447-
}
4448-
44494499
/**
44504500
* @internal
44514501
*/
@@ -4509,6 +4559,13 @@ export const Ac3SettingsFilterSensitiveLog = (obj: Ac3Settings): any => ({
45094559
...obj,
45104560
});
45114561

4562+
/**
4563+
* @internal
4564+
*/
4565+
export const Eac3AtmosSettingsFilterSensitiveLog = (obj: Eac3AtmosSettings): any => ({
4566+
...obj,
4567+
});
4568+
45124569
/**
45134570
* @internal
45144571
*/

0 commit comments

Comments
 (0)