@aws-sdk/client-ivs-realtime 3.658.1 → 3.663.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 CHANGED
@@ -472,8 +472,11 @@ var ParticipantState = {
472
472
  };
473
473
  var EventErrorCode = {
474
474
  BITRATE_EXCEEDED: "BITRATE_EXCEEDED",
475
+ B_FRAME_PRESENT: "B_FRAME_PRESENT",
475
476
  INSUFFICIENT_CAPABILITIES: "INSUFFICIENT_CAPABILITIES",
477
+ INTERNAL_SERVER_EXCEPTION: "INTERNAL_SERVER_EXCEPTION",
476
478
  INVALID_AUDIO_CODEC: "INVALID_AUDIO_CODEC",
479
+ INVALID_INPUT: "INVALID_INPUT",
477
480
  INVALID_PROTOCOL: "INVALID_PROTOCOL",
478
481
  INVALID_STREAM_KEY: "INVALID_STREAM_KEY",
479
482
  INVALID_VIDEO_CODEC: "INVALID_VIDEO_CODEC",
@@ -166,8 +166,11 @@ export const ParticipantState = {
166
166
  };
167
167
  export const EventErrorCode = {
168
168
  BITRATE_EXCEEDED: "BITRATE_EXCEEDED",
169
+ B_FRAME_PRESENT: "B_FRAME_PRESENT",
169
170
  INSUFFICIENT_CAPABILITIES: "INSUFFICIENT_CAPABILITIES",
171
+ INTERNAL_SERVER_EXCEPTION: "INTERNAL_SERVER_EXCEPTION",
170
172
  INVALID_AUDIO_CODEC: "INVALID_AUDIO_CODEC",
173
+ INVALID_INPUT: "INVALID_INPUT",
171
174
  INVALID_PROTOCOL: "INVALID_PROTOCOL",
172
175
  INVALID_STREAM_KEY: "INVALID_STREAM_KEY",
173
176
  INVALID_VIDEO_CODEC: "INVALID_VIDEO_CODEC",
@@ -51,7 +51,7 @@ declare const ListParticipantEventsCommand_base: {
51
51
  * // participantId: "STRING_VALUE",
52
52
  * // eventTime: new Date("TIMESTAMP"),
53
53
  * // remoteParticipantId: "STRING_VALUE",
54
- * // errorCode: "INSUFFICIENT_CAPABILITIES" || "QUOTA_EXCEEDED" || "PUBLISHER_NOT_FOUND" || "BITRATE_EXCEEDED" || "RESOLUTION_EXCEEDED" || "STREAM_DURATION_EXCEEDED" || "INVALID_AUDIO_CODEC" || "INVALID_VIDEO_CODEC" || "INVALID_PROTOCOL" || "INVALID_STREAM_KEY" || "REUSE_OF_STREAM_KEY",
54
+ * // errorCode: "INSUFFICIENT_CAPABILITIES" || "QUOTA_EXCEEDED" || "PUBLISHER_NOT_FOUND" || "BITRATE_EXCEEDED" || "RESOLUTION_EXCEEDED" || "STREAM_DURATION_EXCEEDED" || "INVALID_AUDIO_CODEC" || "INVALID_VIDEO_CODEC" || "INVALID_PROTOCOL" || "INVALID_STREAM_KEY" || "REUSE_OF_STREAM_KEY" || "B_FRAME_PRESENT" || "INVALID_INPUT" || "INTERNAL_SERVER_EXCEPTION",
55
55
  * // },
56
56
  * // ],
57
57
  * // nextToken: "STRING_VALUE",
@@ -40,14 +40,14 @@ export declare class ConflictException extends __BaseException {
40
40
  */
41
41
  export interface Video {
42
42
  /**
43
- * <p>Video-resolution width. Note that the maximum value is determined by <code>width</code>
43
+ * <p>Video-resolution width. This must be an even number. Note that the maximum value is determined by <code>width</code>
44
44
  * times <code>height</code>, such that the maximum total pixels is 2073600 (1920x1080 or
45
45
  * 1080x1920). Default: 1280.</p>
46
46
  * @public
47
47
  */
48
48
  width?: number;
49
49
  /**
50
- * <p>Video-resolution height. Note that the maximum value is determined by <code>width</code>
50
+ * <p>Video-resolution height. This must be an even number. Note that the maximum value is determined by <code>width</code>
51
51
  * times <code>height</code>, such that the maximum total pixels is 2073600 (1920x1080 or
52
52
  * 1080x1920). Default: 720.</p>
53
53
  * @public
@@ -1929,8 +1929,11 @@ export interface ListParticipantEventsRequest {
1929
1929
  */
1930
1930
  export declare const EventErrorCode: {
1931
1931
  readonly BITRATE_EXCEEDED: "BITRATE_EXCEEDED";
1932
+ readonly B_FRAME_PRESENT: "B_FRAME_PRESENT";
1932
1933
  readonly INSUFFICIENT_CAPABILITIES: "INSUFFICIENT_CAPABILITIES";
1934
+ readonly INTERNAL_SERVER_EXCEPTION: "INTERNAL_SERVER_EXCEPTION";
1933
1935
  readonly INVALID_AUDIO_CODEC: "INVALID_AUDIO_CODEC";
1936
+ readonly INVALID_INPUT: "INVALID_INPUT";
1934
1937
  readonly INVALID_PROTOCOL: "INVALID_PROTOCOL";
1935
1938
  readonly INVALID_STREAM_KEY: "INVALID_STREAM_KEY";
1936
1939
  readonly INVALID_VIDEO_CODEC: "INVALID_VIDEO_CODEC";
@@ -1992,14 +1995,99 @@ export interface Event {
1992
1995
  remoteParticipantId?: string;
1993
1996
  /**
1994
1997
  * <p>If the event is an error event, the error code is provided to give insight into the
1995
- * specific error that occurred. If the event is not an error event, this field is null.
1996
- * <code>INSUFFICIENT_CAPABILITIES</code> indicates that the participant tried to take an
1997
- * action that the participant’s token is not allowed to do. For more information about
1998
- * participant capabilities, see the <code>capabilities</code> field in <a>CreateParticipantToken</a>. <code>QUOTA_EXCEEDED</code> indicates that the
1999
- * number of participants who want to publish/subscribe to a stage exceeds the quota; for more
2000
- * information, see <a href="https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/service-quotas.html">Service Quotas</a>.
2001
- * <code>PUBLISHER_NOT_FOUND</code> indicates that the participant tried to subscribe to a
2002
- * publisher that doesn’t exist. </p>
1998
+ * specific error that occurred. If the event is not an error event, this field is null.</p>
1999
+ * <ul>
2000
+ * <li>
2001
+ * <p>
2002
+ * <code>B_FRAME_PRESENT</code>
2003
+ * The participant's stream includes B-frames.
2004
+ * For details, see <a href="https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-rtmp-publishing.html">
2005
+ * IVS RTMP Publishing</a>.</p>
2006
+ * </li>
2007
+ * <li>
2008
+ * <p>
2009
+ * <code>BITRATE_EXCEEDED</code> —
2010
+ * The participant exceeded the maximum supported bitrate.
2011
+ * For details, see <a href="https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/service-quotas.html">
2012
+ * Service Quotas</a>.</p>
2013
+ * </li>
2014
+ * <li>
2015
+ * <p>
2016
+ * <code>INSUFFICIENT_CAPABILITIES</code> —
2017
+ * The participant tried to take an action
2018
+ * that the participant’s token is not allowed to do. For details on participant capabilities, see
2019
+ * the <code>capabilities</code> field in <a>CreateParticipantToken</a>.</p>
2020
+ * </li>
2021
+ * <li>
2022
+ * <p>
2023
+ * <code>INTERNAL_SERVER_EXCEPTION</code> —
2024
+ * The participant failed to publish to the stage due to an internal server error.</p>
2025
+ * </li>
2026
+ * <li>
2027
+ * <p>
2028
+ * <code>INVALID_AUDIO_CODEC</code> —
2029
+ * The participant is using an invalid audio codec.
2030
+ * For details, see <a href="https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-stream-ingest.html">
2031
+ * Stream Ingest</a>.</p>
2032
+ * </li>
2033
+ * <li>
2034
+ * <p>
2035
+ * <code>INVALID_INPUT</code> —
2036
+ * The participant is using an invalid input stream.</p>
2037
+ * </li>
2038
+ * <li>
2039
+ * <p>
2040
+ * <code>INVALID_PROTOCOL</code> —
2041
+ * The participant's IngestConfiguration resource is configured for RTMPS but they tried streaming with RTMP.
2042
+ * For details, see <a href="https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-rtmp-publishing.html">
2043
+ * IVS RTMP Publishing</a>.</p>
2044
+ * </li>
2045
+ * <li>
2046
+ * <p>
2047
+ * <code>INVALID_STREAM_KEY</code> —
2048
+ * The participant is using an invalid stream key.
2049
+ * For details, see <a href="https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-rtmp-publishing.html">
2050
+ * IVS RTMP Publishing</a>.</p>
2051
+ * </li>
2052
+ * <li>
2053
+ * <p>
2054
+ * <code>INVALID_VIDEO_CODEC</code> —
2055
+ * The participant is using an invalid video codec.
2056
+ * For details, see <a href="https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-stream-ingest.html">
2057
+ * Stream Ingest</a>.</p>
2058
+ * </li>
2059
+ * <li>
2060
+ * <p>
2061
+ * <code>PUBLISHER_NOT_FOUND</code> —
2062
+ * The participant tried to subscribe to a publisher that doesn’t exist.</p>
2063
+ * </li>
2064
+ * <li>
2065
+ * <p>
2066
+ * <code>QUOTA_EXCEEDED</code> —
2067
+ * The number of participants who want to publish/subscribe to a stage exceeds the quota.
2068
+ * For details, see <a href="https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/service-quotas.html">
2069
+ * Service Quotas</a>.</p>
2070
+ * </li>
2071
+ * <li>
2072
+ * <p>
2073
+ * <code>RESOLUTION_EXCEEDED</code> —
2074
+ * The participant exceeded the maximum supported resolution.
2075
+ * For details, see <a href="https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/service-quotas.html">
2076
+ * Service Quotas</a>.</p>
2077
+ * </li>
2078
+ * <li>
2079
+ * <p>
2080
+ * <code>REUSE_OF_STREAM_KEY</code> —
2081
+ * The participant tried to use a stream key that is associated with another active stage session.</p>
2082
+ * </li>
2083
+ * <li>
2084
+ * <p>
2085
+ * <code>STREAM_DURATION_EXCEEDED</code> —
2086
+ * The participant exceeded the maximum allowed stream duration.
2087
+ * For details, see <a href="https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/service-quotas.html">
2088
+ * Service Quotas</a>.</p>
2089
+ * </li>
2090
+ * </ul>
2003
2091
  * @public
2004
2092
  */
2005
2093
  errorCode?: EventErrorCode;
@@ -512,8 +512,11 @@ export interface ListParticipantEventsRequest {
512
512
  }
513
513
  export declare const EventErrorCode: {
514
514
  readonly BITRATE_EXCEEDED: "BITRATE_EXCEEDED";
515
+ readonly B_FRAME_PRESENT: "B_FRAME_PRESENT";
515
516
  readonly INSUFFICIENT_CAPABILITIES: "INSUFFICIENT_CAPABILITIES";
517
+ readonly INTERNAL_SERVER_EXCEPTION: "INTERNAL_SERVER_EXCEPTION";
516
518
  readonly INVALID_AUDIO_CODEC: "INVALID_AUDIO_CODEC";
519
+ readonly INVALID_INPUT: "INVALID_INPUT";
517
520
  readonly INVALID_PROTOCOL: "INVALID_PROTOCOL";
518
521
  readonly INVALID_STREAM_KEY: "INVALID_STREAM_KEY";
519
522
  readonly INVALID_VIDEO_CODEC: "INVALID_VIDEO_CODEC";
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.658.1",
4
+ "version": "3.663.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": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.658.1",
24
- "@aws-sdk/client-sts": "3.658.1",
25
- "@aws-sdk/core": "3.658.1",
26
- "@aws-sdk/credential-provider-node": "3.658.1",
27
- "@aws-sdk/middleware-host-header": "3.654.0",
28
- "@aws-sdk/middleware-logger": "3.654.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.654.0",
30
- "@aws-sdk/middleware-user-agent": "3.654.0",
31
- "@aws-sdk/region-config-resolver": "3.654.0",
32
- "@aws-sdk/types": "3.654.0",
33
- "@aws-sdk/util-endpoints": "3.654.0",
34
- "@aws-sdk/util-user-agent-browser": "3.654.0",
35
- "@aws-sdk/util-user-agent-node": "3.654.0",
36
- "@smithy/config-resolver": "^3.0.8",
37
- "@smithy/core": "^2.4.6",
38
- "@smithy/fetch-http-handler": "^3.2.8",
39
- "@smithy/hash-node": "^3.0.6",
40
- "@smithy/invalid-dependency": "^3.0.6",
41
- "@smithy/middleware-content-length": "^3.0.8",
42
- "@smithy/middleware-endpoint": "^3.1.3",
43
- "@smithy/middleware-retry": "^3.0.21",
44
- "@smithy/middleware-serde": "^3.0.6",
45
- "@smithy/middleware-stack": "^3.0.6",
46
- "@smithy/node-config-provider": "^3.1.7",
47
- "@smithy/node-http-handler": "^3.2.3",
48
- "@smithy/protocol-http": "^4.1.3",
49
- "@smithy/smithy-client": "^3.3.5",
50
- "@smithy/types": "^3.4.2",
51
- "@smithy/url-parser": "^3.0.6",
23
+ "@aws-sdk/client-sso-oidc": "3.662.0",
24
+ "@aws-sdk/client-sts": "3.662.0",
25
+ "@aws-sdk/core": "3.662.0",
26
+ "@aws-sdk/credential-provider-node": "3.662.0",
27
+ "@aws-sdk/middleware-host-header": "3.662.0",
28
+ "@aws-sdk/middleware-logger": "3.662.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.662.0",
30
+ "@aws-sdk/middleware-user-agent": "3.662.0",
31
+ "@aws-sdk/region-config-resolver": "3.662.0",
32
+ "@aws-sdk/types": "3.662.0",
33
+ "@aws-sdk/util-endpoints": "3.662.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.662.0",
35
+ "@aws-sdk/util-user-agent-node": "3.662.0",
36
+ "@smithy/config-resolver": "^3.0.9",
37
+ "@smithy/core": "^2.4.7",
38
+ "@smithy/fetch-http-handler": "^3.2.9",
39
+ "@smithy/hash-node": "^3.0.7",
40
+ "@smithy/invalid-dependency": "^3.0.7",
41
+ "@smithy/middleware-content-length": "^3.0.9",
42
+ "@smithy/middleware-endpoint": "^3.1.4",
43
+ "@smithy/middleware-retry": "^3.0.22",
44
+ "@smithy/middleware-serde": "^3.0.7",
45
+ "@smithy/middleware-stack": "^3.0.7",
46
+ "@smithy/node-config-provider": "^3.1.8",
47
+ "@smithy/node-http-handler": "^3.2.4",
48
+ "@smithy/protocol-http": "^4.1.4",
49
+ "@smithy/smithy-client": "^3.3.6",
50
+ "@smithy/types": "^3.5.0",
51
+ "@smithy/url-parser": "^3.0.7",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.21",
56
- "@smithy/util-defaults-mode-node": "^3.0.21",
57
- "@smithy/util-endpoints": "^2.1.2",
58
- "@smithy/util-middleware": "^3.0.6",
59
- "@smithy/util-retry": "^3.0.6",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.22",
56
+ "@smithy/util-defaults-mode-node": "^3.0.22",
57
+ "@smithy/util-endpoints": "^2.1.3",
58
+ "@smithy/util-middleware": "^3.0.7",
59
+ "@smithy/util-retry": "^3.0.7",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2",
62
62
  "uuid": "^9.0.1"