@aws-sdk/client-ivs-realtime 3.529.1 → 3.533.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +29 -0
- package/dist-es/models/models_0.js +21 -0
- package/dist-types/commands/GetCompositionCommand.d.ts +16 -0
- package/dist-types/commands/StartCompositionCommand.d.ts +32 -0
- package/dist-types/models/models_0.d.ts +148 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +43 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/package.json +37 -37
package/dist-cjs/index.js
CHANGED
|
@@ -59,6 +59,8 @@ __export(src_exports, {
|
|
|
59
59
|
ParticipantTokenCapability: () => ParticipantTokenCapability,
|
|
60
60
|
ParticipantTokenFilterSensitiveLog: () => ParticipantTokenFilterSensitiveLog,
|
|
61
61
|
PendingVerification: () => PendingVerification,
|
|
62
|
+
PipBehavior: () => PipBehavior,
|
|
63
|
+
PipPosition: () => PipPosition,
|
|
62
64
|
RecordingConfigurationFormat: () => RecordingConfigurationFormat,
|
|
63
65
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
64
66
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
@@ -68,6 +70,8 @@ __export(src_exports, {
|
|
|
68
70
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
69
71
|
UpdateStageCommand: () => UpdateStageCommand,
|
|
70
72
|
ValidationException: () => ValidationException,
|
|
73
|
+
VideoAspectRatio: () => VideoAspectRatio,
|
|
74
|
+
VideoFillMode: () => VideoFillMode,
|
|
71
75
|
__Client: () => import_smithy_client.Client,
|
|
72
76
|
paginateListCompositions: () => paginateListCompositions,
|
|
73
77
|
paginateListEncoderConfigurations: () => paginateListEncoderConfigurations,
|
|
@@ -394,6 +398,27 @@ var DestinationState = {
|
|
|
394
398
|
STOPPED: "STOPPED",
|
|
395
399
|
STOPPING: "STOPPING"
|
|
396
400
|
};
|
|
401
|
+
var VideoAspectRatio = {
|
|
402
|
+
AUTO: "AUTO",
|
|
403
|
+
PORTRAIT: "PORTRAIT",
|
|
404
|
+
SQUARE: "SQUARE",
|
|
405
|
+
VIDEO: "VIDEO"
|
|
406
|
+
};
|
|
407
|
+
var VideoFillMode = {
|
|
408
|
+
CONTAIN: "CONTAIN",
|
|
409
|
+
COVER: "COVER",
|
|
410
|
+
FILL: "FILL"
|
|
411
|
+
};
|
|
412
|
+
var PipBehavior = {
|
|
413
|
+
DYNAMIC: "DYNAMIC",
|
|
414
|
+
STATIC: "STATIC"
|
|
415
|
+
};
|
|
416
|
+
var PipPosition = {
|
|
417
|
+
BOTTOM_LEFT: "BOTTOM_LEFT",
|
|
418
|
+
BOTTOM_RIGHT: "BOTTOM_RIGHT",
|
|
419
|
+
TOP_LEFT: "TOP_LEFT",
|
|
420
|
+
TOP_RIGHT: "TOP_RIGHT"
|
|
421
|
+
};
|
|
397
422
|
var CompositionState = {
|
|
398
423
|
ACTIVE: "ACTIVE",
|
|
399
424
|
FAILED: "FAILED",
|
|
@@ -2109,6 +2134,10 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
2109
2134
|
ParticipantTokenCapability,
|
|
2110
2135
|
RecordingConfigurationFormat,
|
|
2111
2136
|
DestinationState,
|
|
2137
|
+
VideoAspectRatio,
|
|
2138
|
+
VideoFillMode,
|
|
2139
|
+
PipBehavior,
|
|
2140
|
+
PipPosition,
|
|
2112
2141
|
CompositionState,
|
|
2113
2142
|
ParticipantState,
|
|
2114
2143
|
EventErrorCode,
|
|
@@ -106,6 +106,27 @@ export const DestinationState = {
|
|
|
106
106
|
STOPPED: "STOPPED",
|
|
107
107
|
STOPPING: "STOPPING",
|
|
108
108
|
};
|
|
109
|
+
export const VideoAspectRatio = {
|
|
110
|
+
AUTO: "AUTO",
|
|
111
|
+
PORTRAIT: "PORTRAIT",
|
|
112
|
+
SQUARE: "SQUARE",
|
|
113
|
+
VIDEO: "VIDEO",
|
|
114
|
+
};
|
|
115
|
+
export const VideoFillMode = {
|
|
116
|
+
CONTAIN: "CONTAIN",
|
|
117
|
+
COVER: "COVER",
|
|
118
|
+
FILL: "FILL",
|
|
119
|
+
};
|
|
120
|
+
export const PipBehavior = {
|
|
121
|
+
DYNAMIC: "DYNAMIC",
|
|
122
|
+
STATIC: "STATIC",
|
|
123
|
+
};
|
|
124
|
+
export const PipPosition = {
|
|
125
|
+
BOTTOM_LEFT: "BOTTOM_LEFT",
|
|
126
|
+
BOTTOM_RIGHT: "BOTTOM_RIGHT",
|
|
127
|
+
TOP_LEFT: "TOP_LEFT",
|
|
128
|
+
TOP_RIGHT: "TOP_RIGHT",
|
|
129
|
+
};
|
|
109
130
|
export const CompositionState = {
|
|
110
131
|
ACTIVE: "ACTIVE",
|
|
111
132
|
FAILED: "FAILED",
|
|
@@ -46,6 +46,22 @@ declare const GetCompositionCommand_base: {
|
|
|
46
46
|
* // layout: { // LayoutConfiguration
|
|
47
47
|
* // grid: { // GridConfiguration
|
|
48
48
|
* // featuredParticipantAttribute: "STRING_VALUE",
|
|
49
|
+
* // omitStoppedVideo: true || false,
|
|
50
|
+
* // videoAspectRatio: "AUTO" || "VIDEO" || "SQUARE" || "PORTRAIT",
|
|
51
|
+
* // videoFillMode: "FILL" || "COVER" || "CONTAIN",
|
|
52
|
+
* // gridGap: Number("int"),
|
|
53
|
+
* // },
|
|
54
|
+
* // pip: { // PipConfiguration
|
|
55
|
+
* // featuredParticipantAttribute: "STRING_VALUE",
|
|
56
|
+
* // omitStoppedVideo: true || false,
|
|
57
|
+
* // videoFillMode: "FILL" || "COVER" || "CONTAIN",
|
|
58
|
+
* // gridGap: Number("int"),
|
|
59
|
+
* // pipParticipantAttribute: "STRING_VALUE",
|
|
60
|
+
* // pipBehavior: "STATIC" || "DYNAMIC",
|
|
61
|
+
* // pipOffset: Number("int"),
|
|
62
|
+
* // pipPosition: "TOP_LEFT" || "TOP_RIGHT" || "BOTTOM_LEFT" || "BOTTOM_RIGHT",
|
|
63
|
+
* // pipWidth: Number("int"),
|
|
64
|
+
* // pipHeight: Number("int"),
|
|
49
65
|
* // },
|
|
50
66
|
* // },
|
|
51
67
|
* // destinations: [ // DestinationList // required
|
|
@@ -62,6 +62,22 @@ declare const StartCompositionCommand_base: {
|
|
|
62
62
|
* layout: { // LayoutConfiguration
|
|
63
63
|
* grid: { // GridConfiguration
|
|
64
64
|
* featuredParticipantAttribute: "STRING_VALUE",
|
|
65
|
+
* omitStoppedVideo: true || false,
|
|
66
|
+
* videoAspectRatio: "AUTO" || "VIDEO" || "SQUARE" || "PORTRAIT",
|
|
67
|
+
* videoFillMode: "FILL" || "COVER" || "CONTAIN",
|
|
68
|
+
* gridGap: Number("int"),
|
|
69
|
+
* },
|
|
70
|
+
* pip: { // PipConfiguration
|
|
71
|
+
* featuredParticipantAttribute: "STRING_VALUE",
|
|
72
|
+
* omitStoppedVideo: true || false,
|
|
73
|
+
* videoFillMode: "FILL" || "COVER" || "CONTAIN",
|
|
74
|
+
* gridGap: Number("int"),
|
|
75
|
+
* pipParticipantAttribute: "STRING_VALUE",
|
|
76
|
+
* pipBehavior: "STATIC" || "DYNAMIC",
|
|
77
|
+
* pipOffset: Number("int"),
|
|
78
|
+
* pipPosition: "TOP_LEFT" || "TOP_RIGHT" || "BOTTOM_LEFT" || "BOTTOM_RIGHT",
|
|
79
|
+
* pipWidth: Number("int"),
|
|
80
|
+
* pipHeight: Number("int"),
|
|
65
81
|
* },
|
|
66
82
|
* },
|
|
67
83
|
* destinations: [ // DestinationConfigurationList // required
|
|
@@ -96,6 +112,22 @@ declare const StartCompositionCommand_base: {
|
|
|
96
112
|
* // layout: { // LayoutConfiguration
|
|
97
113
|
* // grid: { // GridConfiguration
|
|
98
114
|
* // featuredParticipantAttribute: "STRING_VALUE",
|
|
115
|
+
* // omitStoppedVideo: true || false,
|
|
116
|
+
* // videoAspectRatio: "AUTO" || "VIDEO" || "SQUARE" || "PORTRAIT",
|
|
117
|
+
* // videoFillMode: "FILL" || "COVER" || "CONTAIN",
|
|
118
|
+
* // gridGap: Number("int"),
|
|
119
|
+
* // },
|
|
120
|
+
* // pip: { // PipConfiguration
|
|
121
|
+
* // featuredParticipantAttribute: "STRING_VALUE",
|
|
122
|
+
* // omitStoppedVideo: true || false,
|
|
123
|
+
* // videoFillMode: "FILL" || "COVER" || "CONTAIN",
|
|
124
|
+
* // gridGap: Number("int"),
|
|
125
|
+
* // pipParticipantAttribute: "STRING_VALUE",
|
|
126
|
+
* // pipBehavior: "STATIC" || "DYNAMIC",
|
|
127
|
+
* // pipOffset: Number("int"),
|
|
128
|
+
* // pipPosition: "TOP_LEFT" || "TOP_RIGHT" || "BOTTOM_LEFT" || "BOTTOM_RIGHT",
|
|
129
|
+
* // pipWidth: Number("int"),
|
|
130
|
+
* // pipHeight: Number("int"),
|
|
99
131
|
* // },
|
|
100
132
|
* // },
|
|
101
133
|
* // destinations: [ // DestinationList // required
|
|
@@ -753,6 +753,33 @@ export interface Destination {
|
|
|
753
753
|
*/
|
|
754
754
|
detail?: DestinationDetail;
|
|
755
755
|
}
|
|
756
|
+
/**
|
|
757
|
+
* @public
|
|
758
|
+
* @enum
|
|
759
|
+
*/
|
|
760
|
+
export declare const VideoAspectRatio: {
|
|
761
|
+
readonly AUTO: "AUTO";
|
|
762
|
+
readonly PORTRAIT: "PORTRAIT";
|
|
763
|
+
readonly SQUARE: "SQUARE";
|
|
764
|
+
readonly VIDEO: "VIDEO";
|
|
765
|
+
};
|
|
766
|
+
/**
|
|
767
|
+
* @public
|
|
768
|
+
*/
|
|
769
|
+
export type VideoAspectRatio = (typeof VideoAspectRatio)[keyof typeof VideoAspectRatio];
|
|
770
|
+
/**
|
|
771
|
+
* @public
|
|
772
|
+
* @enum
|
|
773
|
+
*/
|
|
774
|
+
export declare const VideoFillMode: {
|
|
775
|
+
readonly CONTAIN: "CONTAIN";
|
|
776
|
+
readonly COVER: "COVER";
|
|
777
|
+
readonly FILL: "FILL";
|
|
778
|
+
};
|
|
779
|
+
/**
|
|
780
|
+
* @public
|
|
781
|
+
*/
|
|
782
|
+
export type VideoFillMode = (typeof VideoFillMode)[keyof typeof VideoFillMode];
|
|
756
783
|
/**
|
|
757
784
|
* @public
|
|
758
785
|
* <p>Configuration information specific to Grid layout, for server-side composition. See
|
|
@@ -767,6 +794,122 @@ export interface GridConfiguration {
|
|
|
767
794
|
* slot.</p>
|
|
768
795
|
*/
|
|
769
796
|
featuredParticipantAttribute?: string;
|
|
797
|
+
/**
|
|
798
|
+
* @public
|
|
799
|
+
* <p>Determines whether to omit participants with stopped video in the composition. Default: <code>false</code>.</p>
|
|
800
|
+
*/
|
|
801
|
+
omitStoppedVideo?: boolean;
|
|
802
|
+
/**
|
|
803
|
+
* @public
|
|
804
|
+
* <p>Sets the non-featured participant display mode. Default: <code>VIDEO</code>.</p>
|
|
805
|
+
*/
|
|
806
|
+
videoAspectRatio?: VideoAspectRatio;
|
|
807
|
+
/**
|
|
808
|
+
* @public
|
|
809
|
+
* <p>Defines how video fits within the participant tile. When not set,
|
|
810
|
+
* <code>videoFillMode</code> defaults to <code>COVER</code> fill mode for participants in the grid
|
|
811
|
+
* and to <code>CONTAIN</code> fill mode for featured participants.</p>
|
|
812
|
+
*/
|
|
813
|
+
videoFillMode?: VideoFillMode;
|
|
814
|
+
/**
|
|
815
|
+
* @public
|
|
816
|
+
* <p>Specifies the spacing between participant tiles in pixels. Default: <code>2</code>.</p>
|
|
817
|
+
*/
|
|
818
|
+
gridGap?: number;
|
|
819
|
+
}
|
|
820
|
+
/**
|
|
821
|
+
* @public
|
|
822
|
+
* @enum
|
|
823
|
+
*/
|
|
824
|
+
export declare const PipBehavior: {
|
|
825
|
+
readonly DYNAMIC: "DYNAMIC";
|
|
826
|
+
readonly STATIC: "STATIC";
|
|
827
|
+
};
|
|
828
|
+
/**
|
|
829
|
+
* @public
|
|
830
|
+
*/
|
|
831
|
+
export type PipBehavior = (typeof PipBehavior)[keyof typeof PipBehavior];
|
|
832
|
+
/**
|
|
833
|
+
* @public
|
|
834
|
+
* @enum
|
|
835
|
+
*/
|
|
836
|
+
export declare const PipPosition: {
|
|
837
|
+
readonly BOTTOM_LEFT: "BOTTOM_LEFT";
|
|
838
|
+
readonly BOTTOM_RIGHT: "BOTTOM_RIGHT";
|
|
839
|
+
readonly TOP_LEFT: "TOP_LEFT";
|
|
840
|
+
readonly TOP_RIGHT: "TOP_RIGHT";
|
|
841
|
+
};
|
|
842
|
+
/**
|
|
843
|
+
* @public
|
|
844
|
+
*/
|
|
845
|
+
export type PipPosition = (typeof PipPosition)[keyof typeof PipPosition];
|
|
846
|
+
/**
|
|
847
|
+
* @public
|
|
848
|
+
* <p>Configuration information specific to Picture-in-Picture (PiP) layout,
|
|
849
|
+
* for <a href="https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/server-side-composition.html">server-side composition</a>.
|
|
850
|
+
* </p>
|
|
851
|
+
*/
|
|
852
|
+
export interface PipConfiguration {
|
|
853
|
+
/**
|
|
854
|
+
* @public
|
|
855
|
+
* <p>This attribute name identifies the featured slot. A participant with this attribute set
|
|
856
|
+
* to <code>"true"</code> (as a string value) in <a>ParticipantTokenConfiguration</a> is placed in the featured
|
|
857
|
+
* slot.</p>
|
|
858
|
+
*/
|
|
859
|
+
featuredParticipantAttribute?: string;
|
|
860
|
+
/**
|
|
861
|
+
* @public
|
|
862
|
+
* <p>Determines whether to omit participants with stopped video in the composition. Default: <code>false</code>.</p>
|
|
863
|
+
*/
|
|
864
|
+
omitStoppedVideo?: boolean;
|
|
865
|
+
/**
|
|
866
|
+
* @public
|
|
867
|
+
* <p>Defines how video fits within the participant tile. Default: <code>COVER</code>.
|
|
868
|
+
* </p>
|
|
869
|
+
*/
|
|
870
|
+
videoFillMode?: VideoFillMode;
|
|
871
|
+
/**
|
|
872
|
+
* @public
|
|
873
|
+
* <p>Specifies the spacing between participant tiles in pixels. Default: <code>0</code>.</p>
|
|
874
|
+
*/
|
|
875
|
+
gridGap?: number;
|
|
876
|
+
/**
|
|
877
|
+
* @public
|
|
878
|
+
* <p>Identifies the PiP slot. A participant with this attribute set
|
|
879
|
+
* to <code>"true"</code> (as a string value) in <a>ParticipantTokenConfiguration</a>
|
|
880
|
+
* is placed in the PiP slot.</p>
|
|
881
|
+
*/
|
|
882
|
+
pipParticipantAttribute?: string;
|
|
883
|
+
/**
|
|
884
|
+
* @public
|
|
885
|
+
* <p>Defines PiP behavior when all participants have left. Default: <code>STATIC</code>.</p>
|
|
886
|
+
*/
|
|
887
|
+
pipBehavior?: PipBehavior;
|
|
888
|
+
/**
|
|
889
|
+
* @public
|
|
890
|
+
* <p>Sets the PiP window’s offset position in pixels from the closest edges determined by <code>PipPosition</code>.
|
|
891
|
+
* Default: <code>0</code>.</p>
|
|
892
|
+
*/
|
|
893
|
+
pipOffset?: number;
|
|
894
|
+
/**
|
|
895
|
+
* @public
|
|
896
|
+
* <p>Determines the corner position of the PiP window. Default: <code>BOTTOM_RIGHT</code>.</p>
|
|
897
|
+
*/
|
|
898
|
+
pipPosition?: PipPosition;
|
|
899
|
+
/**
|
|
900
|
+
* @public
|
|
901
|
+
* <p>Specifies the width of the PiP window in pixels. When this is not set explicitly,
|
|
902
|
+
* <code>pipWidth</code>’s value will be based on the size of the composition and the
|
|
903
|
+
* aspect ratio of the participant’s video.</p>
|
|
904
|
+
*/
|
|
905
|
+
pipWidth?: number;
|
|
906
|
+
/**
|
|
907
|
+
* @public
|
|
908
|
+
* <p>Specifies the height of the PiP window in pixels. When this is not set explicitly,
|
|
909
|
+
* <code>pipHeight</code>’s value will be based on the size of the composition and the
|
|
910
|
+
* aspect ratio of the participant’s video.</p>
|
|
911
|
+
*/
|
|
912
|
+
pipHeight?: number;
|
|
770
913
|
}
|
|
771
914
|
/**
|
|
772
915
|
* @public
|
|
@@ -778,6 +921,11 @@ export interface LayoutConfiguration {
|
|
|
778
921
|
* <p>Configuration related to grid layout. Default: Grid layout.</p>
|
|
779
922
|
*/
|
|
780
923
|
grid?: GridConfiguration;
|
|
924
|
+
/**
|
|
925
|
+
* @public
|
|
926
|
+
* <p>Configuration related to PiP layout.</p>
|
|
927
|
+
*/
|
|
928
|
+
pip?: PipConfiguration;
|
|
781
929
|
}
|
|
782
930
|
/**
|
|
783
931
|
* @public
|
|
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
|
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
-
base64Encoder:
|
|
23
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
24
24
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
utf8Encoder:
|
|
25
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
|
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
-
base64Encoder:
|
|
23
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
24
24
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
utf8Encoder:
|
|
25
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -11,9 +11,9 @@ export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
|
|
|
11
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@smithy/types").Decoder;
|
|
14
|
-
base64Encoder:
|
|
14
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
15
15
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
16
|
-
utf8Encoder:
|
|
16
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
17
17
|
disableHostPrefix: boolean;
|
|
18
18
|
serviceId: string;
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -5,7 +5,7 @@ import { IVSRealTimeClientConfig } from "./IVSRealTimeClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
7
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
-
base64Encoder:
|
|
8
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger | undefined;
|
|
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
|
|
|
17
17
|
serviceId: string;
|
|
18
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
19
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
-
utf8Encoder:
|
|
20
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
21
21
|
};
|
|
@@ -204,11 +204,54 @@ export interface Destination {
|
|
|
204
204
|
configuration: DestinationConfiguration | undefined;
|
|
205
205
|
detail?: DestinationDetail;
|
|
206
206
|
}
|
|
207
|
+
export declare const VideoAspectRatio: {
|
|
208
|
+
readonly AUTO: "AUTO";
|
|
209
|
+
readonly PORTRAIT: "PORTRAIT";
|
|
210
|
+
readonly SQUARE: "SQUARE";
|
|
211
|
+
readonly VIDEO: "VIDEO";
|
|
212
|
+
};
|
|
213
|
+
export type VideoAspectRatio =
|
|
214
|
+
(typeof VideoAspectRatio)[keyof typeof VideoAspectRatio];
|
|
215
|
+
export declare const VideoFillMode: {
|
|
216
|
+
readonly CONTAIN: "CONTAIN";
|
|
217
|
+
readonly COVER: "COVER";
|
|
218
|
+
readonly FILL: "FILL";
|
|
219
|
+
};
|
|
220
|
+
export type VideoFillMode = (typeof VideoFillMode)[keyof typeof VideoFillMode];
|
|
207
221
|
export interface GridConfiguration {
|
|
208
222
|
featuredParticipantAttribute?: string;
|
|
223
|
+
omitStoppedVideo?: boolean;
|
|
224
|
+
videoAspectRatio?: VideoAspectRatio;
|
|
225
|
+
videoFillMode?: VideoFillMode;
|
|
226
|
+
gridGap?: number;
|
|
227
|
+
}
|
|
228
|
+
export declare const PipBehavior: {
|
|
229
|
+
readonly DYNAMIC: "DYNAMIC";
|
|
230
|
+
readonly STATIC: "STATIC";
|
|
231
|
+
};
|
|
232
|
+
export type PipBehavior = (typeof PipBehavior)[keyof typeof PipBehavior];
|
|
233
|
+
export declare const PipPosition: {
|
|
234
|
+
readonly BOTTOM_LEFT: "BOTTOM_LEFT";
|
|
235
|
+
readonly BOTTOM_RIGHT: "BOTTOM_RIGHT";
|
|
236
|
+
readonly TOP_LEFT: "TOP_LEFT";
|
|
237
|
+
readonly TOP_RIGHT: "TOP_RIGHT";
|
|
238
|
+
};
|
|
239
|
+
export type PipPosition = (typeof PipPosition)[keyof typeof PipPosition];
|
|
240
|
+
export interface PipConfiguration {
|
|
241
|
+
featuredParticipantAttribute?: string;
|
|
242
|
+
omitStoppedVideo?: boolean;
|
|
243
|
+
videoFillMode?: VideoFillMode;
|
|
244
|
+
gridGap?: number;
|
|
245
|
+
pipParticipantAttribute?: string;
|
|
246
|
+
pipBehavior?: PipBehavior;
|
|
247
|
+
pipOffset?: number;
|
|
248
|
+
pipPosition?: PipPosition;
|
|
249
|
+
pipWidth?: number;
|
|
250
|
+
pipHeight?: number;
|
|
209
251
|
}
|
|
210
252
|
export interface LayoutConfiguration {
|
|
211
253
|
grid?: GridConfiguration;
|
|
254
|
+
pip?: PipConfiguration;
|
|
212
255
|
}
|
|
213
256
|
export declare const CompositionState: {
|
|
214
257
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -25,9 +25,9 @@ export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
|
|
|
25
25
|
apiVersion: string;
|
|
26
26
|
urlParser: import("@smithy/types").UrlParser;
|
|
27
27
|
base64Decoder: import("@smithy/types").Decoder;
|
|
28
|
-
base64Encoder:
|
|
28
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
29
29
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
30
|
-
utf8Encoder:
|
|
30
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
31
31
|
disableHostPrefix: boolean;
|
|
32
32
|
serviceId: string;
|
|
33
33
|
logger: import("@smithy/types").Logger;
|
|
@@ -29,9 +29,9 @@ export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
|
|
|
29
29
|
apiVersion: string;
|
|
30
30
|
urlParser: import("@smithy/types").UrlParser;
|
|
31
31
|
base64Decoder: import("@smithy/types").Decoder;
|
|
32
|
-
base64Encoder:
|
|
32
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
33
33
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
34
|
-
utf8Encoder:
|
|
34
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
35
35
|
disableHostPrefix: boolean;
|
|
36
36
|
serviceId: string;
|
|
37
37
|
logger: import("@smithy/types").Logger;
|
|
@@ -13,9 +13,9 @@ export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
|
|
|
13
13
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
14
14
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
15
15
|
base64Decoder: import("@smithy/types").Decoder;
|
|
16
|
-
base64Encoder:
|
|
16
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
17
17
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
18
|
-
utf8Encoder:
|
|
18
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
19
19
|
disableHostPrefix: boolean;
|
|
20
20
|
serviceId: string;
|
|
21
21
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -2,7 +2,7 @@ import { IVSRealTimeClientConfig } from "./IVSRealTimeClient";
|
|
|
2
2
|
export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
|
|
3
3
|
apiVersion: string;
|
|
4
4
|
base64Decoder: import("@smithy/types").Decoder;
|
|
5
|
-
base64Encoder:
|
|
5
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
6
6
|
disableHostPrefix: boolean;
|
|
7
7
|
endpointProvider: (
|
|
8
8
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
|
|
|
17
17
|
serviceId: string;
|
|
18
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
19
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
-
utf8Encoder:
|
|
20
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
21
21
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ivs-realtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ivs Realtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.533.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ivs-realtime",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.4.
|
|
38
|
-
"@smithy/hash-node": "^2.1.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.1.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.1.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
43
|
-
"@smithy/middleware-serde": "^2.1
|
|
44
|
-
"@smithy/middleware-stack": "^2.1.
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.4.
|
|
47
|
-
"@smithy/protocol-http": "^3.2.
|
|
48
|
-
"@smithy/smithy-client": "^2.4.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.1.
|
|
51
|
-
"@smithy/util-base64": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.533.0",
|
|
24
|
+
"@aws-sdk/core": "3.533.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.533.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.533.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.533.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.533.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.533.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.533.0",
|
|
31
|
+
"@aws-sdk/types": "3.533.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.533.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.533.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.533.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.5",
|
|
36
|
+
"@smithy/core": "^1.3.8",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.4.5",
|
|
38
|
+
"@smithy/hash-node": "^2.1.4",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.1.4",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.1.4",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.6",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.7",
|
|
43
|
+
"@smithy/middleware-serde": "^2.2.1",
|
|
44
|
+
"@smithy/middleware-stack": "^2.1.4",
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.5",
|
|
46
|
+
"@smithy/node-http-handler": "^2.4.3",
|
|
47
|
+
"@smithy/protocol-http": "^3.2.2",
|
|
48
|
+
"@smithy/smithy-client": "^2.4.5",
|
|
49
|
+
"@smithy/types": "^2.11.0",
|
|
50
|
+
"@smithy/url-parser": "^2.1.4",
|
|
51
|
+
"@smithy/util-base64": "^2.2.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
|
-
"@smithy/util-body-length-node": "^2.2.
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
57
|
-
"@smithy/util-middleware": "^2.1.
|
|
58
|
-
"@smithy/util-retry": "^2.1.
|
|
59
|
-
"@smithy/util-utf8": "^2.
|
|
53
|
+
"@smithy/util-body-length-node": "^2.2.2",
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.7",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.7",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.5",
|
|
57
|
+
"@smithy/util-middleware": "^2.1.4",
|
|
58
|
+
"@smithy/util-retry": "^2.1.4",
|
|
59
|
+
"@smithy/util-utf8": "^2.2.0",
|
|
60
60
|
"tslib": "^2.5.0",
|
|
61
61
|
"uuid": "^9.0.1"
|
|
62
62
|
},
|