Skip to content

Commit 3b671f5

Browse files
author
awstools
committed
feat(client-mediapackagev2): This release adds support for DVB-DASH, EBU-TT-D subtitle format, and non-compacted manifests for DASH in MediaPackage v2 Origin Endpoints.
1 parent 2a37372 commit 3b671f5

File tree

6 files changed

+1206
-8
lines changed

6 files changed

+1206
-8
lines changed

clients/client-mediapackagev2/src/commands/CreateOriginEndpointCommand.ts

Lines changed: 222 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,43 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
147147
* TimingMode: "HTTP_HEAD" || "HTTP_ISO" || "HTTP_XSDATE" || "UTC_DIRECT",
148148
* TimingSource: "STRING_VALUE",
149149
* },
150+
* Profiles: [ // DashProfiles
151+
* "DVB_DASH",
152+
* ],
153+
* BaseUrls: [ // DashBaseUrls
154+
* { // DashBaseUrl
155+
* Url: "STRING_VALUE", // required
156+
* ServiceLocation: "STRING_VALUE",
157+
* DvbPriority: Number("int"),
158+
* DvbWeight: Number("int"),
159+
* },
160+
* ],
161+
* ProgramInformation: { // DashProgramInformation
162+
* Title: "STRING_VALUE",
163+
* Source: "STRING_VALUE",
164+
* Copyright: "STRING_VALUE",
165+
* LanguageCode: "STRING_VALUE",
166+
* MoreInformationUrl: "STRING_VALUE",
167+
* },
168+
* DvbSettings: { // DashDvbSettings
169+
* FontDownload: { // DashDvbFontDownload
170+
* Url: "STRING_VALUE",
171+
* MimeType: "STRING_VALUE",
172+
* FontFamily: "STRING_VALUE",
173+
* },
174+
* ErrorMetrics: [ // DashDvbErrorMetrics
175+
* { // DashDvbMetricsReporting
176+
* ReportingUrl: "STRING_VALUE", // required
177+
* Probability: Number("int"),
178+
* },
179+
* ],
180+
* },
181+
* Compactness: "STANDARD" || "NONE",
182+
* SubtitleConfiguration: { // DashSubtitleConfiguration
183+
* TtmlConfiguration: { // DashTtmlConfiguration
184+
* TtmlProfile: "IMSC_1" || "EBU_TT_D_101", // required
185+
* },
186+
* },
150187
* },
151188
* ],
152189
* ForceEndpointErrorConfiguration: { // ForceEndpointErrorConfiguration
@@ -277,6 +314,43 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
277314
* // TimingMode: "HTTP_HEAD" || "HTTP_ISO" || "HTTP_XSDATE" || "UTC_DIRECT",
278315
* // TimingSource: "STRING_VALUE",
279316
* // },
317+
* // Profiles: [ // DashProfiles
318+
* // "DVB_DASH",
319+
* // ],
320+
* // BaseUrls: [ // DashBaseUrls
321+
* // { // DashBaseUrl
322+
* // Url: "STRING_VALUE", // required
323+
* // ServiceLocation: "STRING_VALUE",
324+
* // DvbPriority: Number("int"),
325+
* // DvbWeight: Number("int"),
326+
* // },
327+
* // ],
328+
* // ProgramInformation: { // DashProgramInformation
329+
* // Title: "STRING_VALUE",
330+
* // Source: "STRING_VALUE",
331+
* // Copyright: "STRING_VALUE",
332+
* // LanguageCode: "STRING_VALUE",
333+
* // MoreInformationUrl: "STRING_VALUE",
334+
* // },
335+
* // DvbSettings: { // DashDvbSettings
336+
* // FontDownload: { // DashDvbFontDownload
337+
* // Url: "STRING_VALUE",
338+
* // MimeType: "STRING_VALUE",
339+
* // FontFamily: "STRING_VALUE",
340+
* // },
341+
* // ErrorMetrics: [ // DashDvbErrorMetrics
342+
* // { // DashDvbMetricsReporting
343+
* // ReportingUrl: "STRING_VALUE", // required
344+
* // Probability: Number("int"),
345+
* // },
346+
* // ],
347+
* // },
348+
* // Compactness: "STANDARD" || "NONE",
349+
* // SubtitleConfiguration: { // DashSubtitleConfiguration
350+
* // TtmlConfiguration: { // DashTtmlConfiguration
351+
* // TtmlProfile: "IMSC_1" || "EBU_TT_D_101", // required
352+
* // },
353+
* // },
280354
* // },
281355
* // ],
282356
* // ForceEndpointErrorConfiguration: { // ForceEndpointErrorConfiguration
@@ -533,22 +607,80 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
533607
* ContainerType: "CMAF",
534608
* DashManifests: [
535609
* {
610+
* BaseUrls: [
611+
* {
612+
* DvbPriority: 1,
613+
* DvbWeight: 3,
614+
* ServiceLocation: "A",
615+
* Url: "http://example.com/"
616+
* }
617+
* ],
618+
* Compactness: "STANDARD",
536619
* DrmSignaling: "INDIVIDUAL",
620+
* DvbSettings: {
621+
* ErrorMetrics: [
622+
* {
623+
* Probability: 500,
624+
* ReportingUrl: "https://example.com/dvb-errors/errors"
625+
* }
626+
* ],
627+
* FontDownload: {
628+
* FontFamily: "SubtitleDisplay",
629+
* MimeType: "application/font",
630+
* Url: "https://example.com/fonts/SubtitleDisplay.woff"
631+
* }
632+
* },
537633
* ManifestName: "exampleDashManifest1",
538634
* ManifestWindowSeconds: 300,
539635
* MinBufferTimeSeconds: 30,
540636
* MinUpdatePeriodSeconds: 5,
541637
* PeriodTriggers: [
542638
* "AVAILS"
543639
* ],
640+
* Profiles: [
641+
* "DVB_DASH"
642+
* ],
643+
* ProgramInformation: {
644+
* Copyright: "(c) Example. All rights reserved",
645+
* LanguageCode: "en",
646+
* MoreInformationUrl: "https://example.com/more-information",
647+
* Source: "exampleSource",
648+
* Title: "exampleTitle"
649+
* },
544650
* ScteDash: {
545651
* AdMarkerDash: "XML"
546652
* },
547653
* SegmentTemplateFormat: "NUMBER_WITH_TIMELINE",
548-
* SuggestedPresentationDelaySeconds: 2
654+
* SuggestedPresentationDelaySeconds: 2,
655+
* UtcTiming: {
656+
* TimingMode: "HTTP_HEAD",
657+
* TimingSource: "example"
658+
* }
549659
* },
550660
* {
661+
* BaseUrls: [
662+
* {
663+
* DvbPriority: 2,
664+
* DvbWeight: 2,
665+
* ServiceLocation: "B",
666+
* Url: "http://example2.com/"
667+
* }
668+
* ],
669+
* Compactness: "STANDARD",
551670
* DrmSignaling: "INDIVIDUAL",
671+
* DvbSettings: {
672+
* ErrorMetrics: [
673+
* {
674+
* Probability: 600,
675+
* ReportingUrl: "https://example2.com/dvb-errors/errors"
676+
* }
677+
* ],
678+
* FontDownload: {
679+
* FontFamily: "SubtitleDisplay",
680+
* MimeType: "application/font",
681+
* Url: "https://example.com/fonts/SubtitleDisplay.woff"
682+
* }
683+
* },
552684
* ManifestName: "exampleDashManifest2",
553685
* ManifestWindowSeconds: 60,
554686
* MinBufferTimeSeconds: 9,
@@ -559,11 +691,25 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
559691
* "SOURCE_CHANGES",
560692
* "SOURCE_DISRUPTIONS"
561693
* ],
694+
* Profiles: [
695+
* "DVB_DASH"
696+
* ],
697+
* ProgramInformation: {
698+
* Copyright: "(c) Example. All rights reserved",
699+
* LanguageCode: "en",
700+
* MoreInformationUrl: "https://example2.com/more-information",
701+
* Source: "exampleSource2",
702+
* Title: "exampleTitle2"
703+
* },
562704
* ScteDash: {
563705
* AdMarkerDash: "XML"
564706
* },
565707
* SegmentTemplateFormat: "NUMBER_WITH_TIMELINE",
566-
* SuggestedPresentationDelaySeconds: 12
708+
* SuggestedPresentationDelaySeconds: 12,
709+
* UtcTiming: {
710+
* TimingMode: "HTTP_HEAD",
711+
* TimingSource: "example"
712+
* }
567713
* }
568714
* ],
569715
* ForceEndpointErrorConfiguration: {
@@ -663,23 +809,81 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
663809
* CreatedAt: "2022-10-18T09:36:00.00Z",
664810
* DashManifests: [
665811
* {
812+
* BaseUrls: [
813+
* {
814+
* DvbPriority: 1,
815+
* DvbWeight: 3,
816+
* ServiceLocation: "A",
817+
* Url: "http://example.com/"
818+
* }
819+
* ],
820+
* Compactness: "STANDARD",
666821
* DrmSignaling: "INDIVIDUAL",
822+
* DvbSettings: {
823+
* ErrorMetrics: [
824+
* {
825+
* Probability: 500,
826+
* ReportingUrl: "https://example.com/dvb-errors/errors"
827+
* }
828+
* ],
829+
* FontDownload: {
830+
* FontFamily: "SubtitleDisplay",
831+
* MimeType: "application/font",
832+
* Url: "https://example.com/fonts/SubtitleDisplay.woff"
833+
* }
834+
* },
667835
* ManifestName: "exampleDashManifest1",
668836
* ManifestWindowSeconds: 300,
669837
* MinBufferTimeSeconds: 30,
670838
* MinUpdatePeriodSeconds: 5,
671839
* PeriodTriggers: [
672840
* "AVAILS"
673841
* ],
842+
* Profiles: [
843+
* "DVB_DASH"
844+
* ],
845+
* ProgramInformation: {
846+
* Copyright: "(c) Example. All rights reserved",
847+
* LanguageCode: "en",
848+
* MoreInformationUrl: "https://example.com/more-information",
849+
* Source: "exampleSource",
850+
* Title: "exampleTitle"
851+
* },
674852
* ScteDash: {
675853
* AdMarkerDash: "XML"
676854
* },
677855
* SegmentTemplateFormat: "NUMBER_WITH_TIMELINE",
678856
* SuggestedPresentationDelaySeconds: 2,
679-
* Url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleDashManifest1.mpd"
857+
* Url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleDashManifest1.mpd",
858+
* UtcTiming: {
859+
* TimingMode: "HTTP_HEAD",
860+
* TimingSource: "example"
861+
* }
680862
* },
681863
* {
864+
* BaseUrls: [
865+
* {
866+
* DvbPriority: 2,
867+
* DvbWeight: 2,
868+
* ServiceLocation: "B",
869+
* Url: "http://example2.com/"
870+
* }
871+
* ],
872+
* Compactness: "STANDARD",
682873
* DrmSignaling: "INDIVIDUAL",
874+
* DvbSettings: {
875+
* ErrorMetrics: [
876+
* {
877+
* Probability: 600,
878+
* ReportingUrl: "https://example2.com/dvb-errors/errors"
879+
* }
880+
* ],
881+
* FontDownload: {
882+
* FontFamily: "SubtitleDisplay",
883+
* MimeType: "application/font",
884+
* Url: "https://example.com/fonts/SubtitleDisplay.woff"
885+
* }
886+
* },
683887
* ManifestName: "exampleDashManifest2",
684888
* ManifestWindowSeconds: 60,
685889
* MinBufferTimeSeconds: 9,
@@ -690,12 +894,26 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
690894
* "SOURCE_CHANGES",
691895
* "SOURCE_DISRUPTIONS"
692896
* ],
897+
* Profiles: [
898+
* "DVB_DASH"
899+
* ],
900+
* ProgramInformation: {
901+
* Copyright: "(c) Example. All rights reserved",
902+
* LanguageCode: "en",
903+
* MoreInformationUrl: "https://example2.com/more-information",
904+
* Source: "exampleSource2",
905+
* Title: "exampleTitle2"
906+
* },
693907
* ScteDash: {
694908
* AdMarkerDash: "XML"
695909
* },
696910
* SegmentTemplateFormat: "NUMBER_WITH_TIMELINE",
697911
* SuggestedPresentationDelaySeconds: 12,
698-
* Url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleDashManifest2.mpd"
912+
* Url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleDashManifest2.mpd",
913+
* UtcTiming: {
914+
* TimingMode: "HTTP_HEAD",
915+
* TimingSource: "example"
916+
* }
699917
* }
700918
* ],
701919
* ETag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",

clients/client-mediapackagev2/src/commands/GetOriginEndpointCommand.ts

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,43 @@ export interface GetOriginEndpointCommandOutput extends GetOriginEndpointRespons
160160
* // TimingMode: "HTTP_HEAD" || "HTTP_ISO" || "HTTP_XSDATE" || "UTC_DIRECT",
161161
* // TimingSource: "STRING_VALUE",
162162
* // },
163+
* // Profiles: [ // DashProfiles
164+
* // "DVB_DASH",
165+
* // ],
166+
* // BaseUrls: [ // DashBaseUrls
167+
* // { // DashBaseUrl
168+
* // Url: "STRING_VALUE", // required
169+
* // ServiceLocation: "STRING_VALUE",
170+
* // DvbPriority: Number("int"),
171+
* // DvbWeight: Number("int"),
172+
* // },
173+
* // ],
174+
* // ProgramInformation: { // DashProgramInformation
175+
* // Title: "STRING_VALUE",
176+
* // Source: "STRING_VALUE",
177+
* // Copyright: "STRING_VALUE",
178+
* // LanguageCode: "STRING_VALUE",
179+
* // MoreInformationUrl: "STRING_VALUE",
180+
* // },
181+
* // DvbSettings: { // DashDvbSettings
182+
* // FontDownload: { // DashDvbFontDownload
183+
* // Url: "STRING_VALUE",
184+
* // MimeType: "STRING_VALUE",
185+
* // FontFamily: "STRING_VALUE",
186+
* // },
187+
* // ErrorMetrics: [ // DashDvbErrorMetrics
188+
* // { // DashDvbMetricsReporting
189+
* // ReportingUrl: "STRING_VALUE", // required
190+
* // Probability: Number("int"),
191+
* // },
192+
* // ],
193+
* // },
194+
* // Compactness: "STANDARD" || "NONE",
195+
* // SubtitleConfiguration: { // DashSubtitleConfiguration
196+
* // TtmlConfiguration: { // DashTtmlConfiguration
197+
* // TtmlProfile: "IMSC_1" || "EBU_TT_D_101", // required
198+
* // },
199+
* // },
163200
* // },
164201
* // ],
165202
* // ForceEndpointErrorConfiguration: { // ForceEndpointErrorConfiguration

0 commit comments

Comments
 (0)