@hytopia.com/server-protocol 1.3.59 → 1.3.61
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/package.json +1 -1
- package/schemas/Connection.ts +3 -3
package/package.json
CHANGED
package/schemas/Connection.ts
CHANGED
|
@@ -10,8 +10,8 @@ type WrtcConnectAck = {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
type WrtcDataChannel = {
|
|
13
|
-
i?: string; // data channel id
|
|
14
|
-
pi
|
|
13
|
+
i?: string; // data channel id (server -> client channel only)
|
|
14
|
+
pi?: string; // data producer id (server -> client channel only)
|
|
15
15
|
l: string; // label
|
|
16
16
|
s: mediasoup.types.SctpStreamParameters; // sctp stream parameters
|
|
17
17
|
}
|
|
@@ -120,7 +120,7 @@ const wrtcSctpParametersSchema: JSONSchemaType<mediasoup.types.SctpParameters> =
|
|
|
120
120
|
maxMessageSize: { type: 'number' },
|
|
121
121
|
},
|
|
122
122
|
required: [ 'port', 'OS', 'MIS', 'maxMessageSize' ],
|
|
123
|
-
additionalProperties:
|
|
123
|
+
additionalProperties: true, // May be an SCTPParametersDump
|
|
124
124
|
};
|
|
125
125
|
|
|
126
126
|
const wrtcSctpStreamParametersSchema: JSONSchemaType<mediasoup.types.SctpStreamParameters> = {
|