@kusinta/iot-schema 0.1.0-beta.15 → 0.1.0-beta.17
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
CHANGED
|
@@ -44,6 +44,12 @@ export declare type SdpAnswer = Message<"kusinta.iot.signaling.v1.SdpAnswer"> &
|
|
|
44
44
|
export declare const SdpAnswerSchema: GenMessage<SdpAnswer>;
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
+
* candidate is the SDP candidate attribute line. sdp_mid / sdp_mline_index
|
|
48
|
+
* bind it to a media section: WebRTC's addIceCandidate requires a non-null
|
|
49
|
+
* sdpMid (passing null NPEs in the Android JNI layer). Under BUNDLE both are
|
|
50
|
+
* constant ("0" / 0) for a single-m-line session, but they must be carried so
|
|
51
|
+
* candidates stay correct once additional m-lines (e.g. camera video) exist.
|
|
52
|
+
*
|
|
47
53
|
* @generated from message kusinta.iot.signaling.v1.IceCandidate
|
|
48
54
|
*/
|
|
49
55
|
export declare type IceCandidate = Message<"kusinta.iot.signaling.v1.IceCandidate"> & {
|
|
@@ -51,6 +57,16 @@ export declare type IceCandidate = Message<"kusinta.iot.signaling.v1.IceCandidat
|
|
|
51
57
|
* @generated from field: string candidate = 1;
|
|
52
58
|
*/
|
|
53
59
|
candidate: string;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: string sdp_mid = 2;
|
|
63
|
+
*/
|
|
64
|
+
sdpMid: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: int32 sdp_mline_index = 3;
|
|
68
|
+
*/
|
|
69
|
+
sdpMlineIndex: number;
|
|
54
70
|
};
|
|
55
71
|
|
|
56
72
|
/**
|
|
@@ -59,6 +75,23 @@ export declare type IceCandidate = Message<"kusinta.iot.signaling.v1.IceCandidat
|
|
|
59
75
|
*/
|
|
60
76
|
export declare const IceCandidateSchema: GenMessage<IceCandidate>;
|
|
61
77
|
|
|
78
|
+
/**
|
|
79
|
+
* Empty keepalive. The gateway sends this periodically on the GatewayConnect
|
|
80
|
+
* stream so the otherwise-idle bidi request keeps producing DATA frames, which
|
|
81
|
+
* resets HAProxy's inactivity timers (timeout client/server) and stops the relay
|
|
82
|
+
* from tearing the stream down. Carries no routing target and is dropped on receipt.
|
|
83
|
+
*
|
|
84
|
+
* @generated from message kusinta.iot.signaling.v1.HeartBeat
|
|
85
|
+
*/
|
|
86
|
+
export declare type HeartBeat = Message<"kusinta.iot.signaling.v1.HeartBeat"> & {
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Describes the message kusinta.iot.signaling.v1.HeartBeat.
|
|
91
|
+
* Use `create(HeartBeatSchema)` to create a new message.
|
|
92
|
+
*/
|
|
93
|
+
export declare const HeartBeatSchema: GenMessage<HeartBeat>;
|
|
94
|
+
|
|
62
95
|
/**
|
|
63
96
|
* JWT for user auth is sent in the Authorization: Bearer metadata header, not here.
|
|
64
97
|
* First message carries only the target gateway for stream-specific routing.
|
|
@@ -126,6 +159,12 @@ export declare type GatewayConnectRequest = Message<"kusinta.iot.signaling.v1.Ga
|
|
|
126
159
|
*/
|
|
127
160
|
value: IceCandidate;
|
|
128
161
|
case: "iceCandidate";
|
|
162
|
+
} | {
|
|
163
|
+
/**
|
|
164
|
+
* @generated from field: kusinta.iot.signaling.v1.HeartBeat heartbeat = 4;
|
|
165
|
+
*/
|
|
166
|
+
value: HeartBeat;
|
|
167
|
+
case: "heartbeat";
|
|
129
168
|
} | { case: undefined; value?: undefined };
|
|
130
169
|
};
|
|
131
170
|
|
|
@@ -9,7 +9,7 @@ import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identit
|
|
|
9
9
|
* Describes the file kusinta/iot/signaling/v1/signaling.proto.
|
|
10
10
|
*/
|
|
11
11
|
export const file_kusinta_iot_signaling_v1_signaling = /*@__PURE__*/
|
|
12
|
-
fileDesc("
|
|
12
|
+
fileDesc("CihrdXNpbnRhL2lvdC9zaWduYWxpb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AQoSVXNlckNvbm5lY3RSZXF1ZXN0EjwKCWhhbmRzaGFrZRgBIAEoCzInLmt1c2ludGEuaW90LnNpZ25hbGluZy52MS5Vc2VySGFuZHNoYWtlSAASMwoFb2ZmZXIYAiABKAsyIi5rdXNpbnRhLmlvdC5zaWduYWxpbmcudjEuU2RwT2ZmZXJIABI/Cg1pY2VfY2FuZGlkYXRlGAMgASgLMiYua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLkljZUNhbmRpZGF0ZUgAQgkKB3BheWxvYWQi3QEKE1VzZXJDb25uZWN0UmVzcG9uc2USQwoNaGFuZHNoYWtlX2FjaxgBIAEoCzIqLmt1c2ludGEuaW90LnNpZ25hbGluZy52MS5Vc2VySGFuZHNoYWtlQWNrSAASNQoGYW5zd2VyGAIgASgLMiMua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLlNkcEFuc3dlckgAEj8KDWljZV9jYW5kaWRhdGUYAyABKAsyJi5rdXNpbnRhLmlvdC5zaWduYWxpbmcudjEuSWNlQ2FuZGlkYXRlSABCCQoHcGF5bG9hZEICSAFiBnByb3RvMw", [file_kusinta_iot_identity_v1_identity]);
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Describes the message kusinta.iot.signaling.v1.SdpOffer.
|
|
@@ -32,45 +32,52 @@ export const SdpAnswerSchema = /*@__PURE__*/
|
|
|
32
32
|
export const IceCandidateSchema = /*@__PURE__*/
|
|
33
33
|
messageDesc(file_kusinta_iot_signaling_v1_signaling, 2);
|
|
34
34
|
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message kusinta.iot.signaling.v1.HeartBeat.
|
|
37
|
+
* Use `create(HeartBeatSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const HeartBeatSchema = /*@__PURE__*/
|
|
40
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 3);
|
|
41
|
+
|
|
35
42
|
/**
|
|
36
43
|
* Describes the message kusinta.iot.signaling.v1.UserHandshake.
|
|
37
44
|
* Use `create(UserHandshakeSchema)` to create a new message.
|
|
38
45
|
*/
|
|
39
46
|
export const UserHandshakeSchema = /*@__PURE__*/
|
|
40
|
-
messageDesc(file_kusinta_iot_signaling_v1_signaling,
|
|
47
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 4);
|
|
41
48
|
|
|
42
49
|
/**
|
|
43
50
|
* Describes the message kusinta.iot.signaling.v1.UserHandshakeAck.
|
|
44
51
|
* Use `create(UserHandshakeAckSchema)` to create a new message.
|
|
45
52
|
*/
|
|
46
53
|
export const UserHandshakeAckSchema = /*@__PURE__*/
|
|
47
|
-
messageDesc(file_kusinta_iot_signaling_v1_signaling,
|
|
54
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 5);
|
|
48
55
|
|
|
49
56
|
/**
|
|
50
57
|
* Describes the message kusinta.iot.signaling.v1.GatewayConnectRequest.
|
|
51
58
|
* Use `create(GatewayConnectRequestSchema)` to create a new message.
|
|
52
59
|
*/
|
|
53
60
|
export const GatewayConnectRequestSchema = /*@__PURE__*/
|
|
54
|
-
messageDesc(file_kusinta_iot_signaling_v1_signaling,
|
|
61
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 6);
|
|
55
62
|
|
|
56
63
|
/**
|
|
57
64
|
* Describes the message kusinta.iot.signaling.v1.GatewayConnectResponse.
|
|
58
65
|
* Use `create(GatewayConnectResponseSchema)` to create a new message.
|
|
59
66
|
*/
|
|
60
67
|
export const GatewayConnectResponseSchema = /*@__PURE__*/
|
|
61
|
-
messageDesc(file_kusinta_iot_signaling_v1_signaling,
|
|
68
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 7);
|
|
62
69
|
|
|
63
70
|
/**
|
|
64
71
|
* Describes the message kusinta.iot.signaling.v1.UserConnectRequest.
|
|
65
72
|
* Use `create(UserConnectRequestSchema)` to create a new message.
|
|
66
73
|
*/
|
|
67
74
|
export const UserConnectRequestSchema = /*@__PURE__*/
|
|
68
|
-
messageDesc(file_kusinta_iot_signaling_v1_signaling,
|
|
75
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 8);
|
|
69
76
|
|
|
70
77
|
/**
|
|
71
78
|
* Describes the message kusinta.iot.signaling.v1.UserConnectResponse.
|
|
72
79
|
* Use `create(UserConnectResponseSchema)` to create a new message.
|
|
73
80
|
*/
|
|
74
81
|
export const UserConnectResponseSchema = /*@__PURE__*/
|
|
75
|
-
messageDesc(file_kusinta_iot_signaling_v1_signaling,
|
|
82
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 9);
|
|
76
83
|
|