@stream-io/video-client 0.0.1-alpha.10

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.
Files changed (222) hide show
  1. package/LICENSE +219 -0
  2. package/README.md +14 -0
  3. package/coverage/lcov-report/base.css +224 -0
  4. package/coverage/lcov-report/block-navigation.js +87 -0
  5. package/coverage/lcov-report/favicon.png +0 -0
  6. package/coverage/lcov-report/index.html +296 -0
  7. package/coverage/lcov-report/prettify.css +1 -0
  8. package/coverage/lcov-report/prettify.js +2 -0
  9. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  10. package/coverage/lcov-report/sorter.js +196 -0
  11. package/coverage/lcov-report/src/Batcher.ts.html +214 -0
  12. package/coverage/lcov-report/src/CallDropScheduler.ts.html +661 -0
  13. package/coverage/lcov-report/src/StreamSfuClient.ts.html +640 -0
  14. package/coverage/lcov-report/src/StreamVideoClient.ts.html +1594 -0
  15. package/coverage/lcov-report/src/config/defaultConfigs.ts.html +130 -0
  16. package/coverage/lcov-report/src/config/index.html +116 -0
  17. package/coverage/lcov-report/src/coordinator/StreamCoordinatorClient.ts.html +430 -0
  18. package/coverage/lcov-report/src/coordinator/connection/base64.ts.html +325 -0
  19. package/coverage/lcov-report/src/coordinator/connection/client.ts.html +2527 -0
  20. package/coverage/lcov-report/src/coordinator/connection/connection.ts.html +2335 -0
  21. package/coverage/lcov-report/src/coordinator/connection/connection_fallback.ts.html +802 -0
  22. package/coverage/lcov-report/src/coordinator/connection/errors.ts.html +295 -0
  23. package/coverage/lcov-report/src/coordinator/connection/index.html +251 -0
  24. package/coverage/lcov-report/src/coordinator/connection/insights.ts.html +349 -0
  25. package/coverage/lcov-report/src/coordinator/connection/signing.ts.html +397 -0
  26. package/coverage/lcov-report/src/coordinator/connection/token_manager.ts.html +565 -0
  27. package/coverage/lcov-report/src/coordinator/connection/types.ts.html +418 -0
  28. package/coverage/lcov-report/src/coordinator/connection/utils.ts.html +529 -0
  29. package/coverage/lcov-report/src/coordinator/index.html +116 -0
  30. package/coverage/lcov-report/src/events/call.ts.html +583 -0
  31. package/coverage/lcov-report/src/events/index.html +161 -0
  32. package/coverage/lcov-report/src/events/internal.ts.html +226 -0
  33. package/coverage/lcov-report/src/events/participant.ts.html +376 -0
  34. package/coverage/lcov-report/src/events/speaker.ts.html +271 -0
  35. package/coverage/lcov-report/src/gen/google/protobuf/index.html +131 -0
  36. package/coverage/lcov-report/src/gen/google/protobuf/struct.ts.html +1528 -0
  37. package/coverage/lcov-report/src/gen/google/protobuf/timestamp.ts.html +958 -0
  38. package/coverage/lcov-report/src/gen/video/sfu/event/events.ts.html +5971 -0
  39. package/coverage/lcov-report/src/gen/video/sfu/event/index.html +116 -0
  40. package/coverage/lcov-report/src/gen/video/sfu/models/index.html +116 -0
  41. package/coverage/lcov-report/src/gen/video/sfu/models/models.ts.html +3271 -0
  42. package/coverage/lcov-report/src/index.html +161 -0
  43. package/coverage/lcov-report/src/rpc/index.html +131 -0
  44. package/coverage/lcov-report/src/rpc/index.ts.html +91 -0
  45. package/coverage/lcov-report/src/rpc/latency.ts.html +214 -0
  46. package/coverage/lcov-report/src/rtc/Call.ts.html +1840 -0
  47. package/coverage/lcov-report/src/rtc/CallMetadata.ts.html +157 -0
  48. package/coverage/lcov-report/src/rtc/Dispatcher.ts.html +223 -0
  49. package/coverage/lcov-report/src/rtc/IceTrickleBuffer.ts.html +148 -0
  50. package/coverage/lcov-report/src/rtc/callEventHandlers.ts.html +196 -0
  51. package/coverage/lcov-report/src/rtc/codecs.ts.html +268 -0
  52. package/coverage/lcov-report/src/rtc/helpers/iceCandidate.ts.html +133 -0
  53. package/coverage/lcov-report/src/rtc/helpers/index.html +131 -0
  54. package/coverage/lcov-report/src/rtc/helpers/tracks.ts.html +139 -0
  55. package/coverage/lcov-report/src/rtc/index.html +251 -0
  56. package/coverage/lcov-report/src/rtc/publisher.ts.html +1000 -0
  57. package/coverage/lcov-report/src/rtc/signal.ts.html +187 -0
  58. package/coverage/lcov-report/src/rtc/subscriber.ts.html +340 -0
  59. package/coverage/lcov-report/src/rtc/videoLayers.ts.html +394 -0
  60. package/coverage/lcov-report/src/stats/index.html +116 -0
  61. package/coverage/lcov-report/src/stats/state-store-stats-reporter.ts.html +1177 -0
  62. package/coverage/lcov-report/src/store/index.html +146 -0
  63. package/coverage/lcov-report/src/store/index.ts.html +91 -0
  64. package/coverage/lcov-report/src/store/rxUtils.ts.html +211 -0
  65. package/coverage/lcov-report/src/store/stateStore.ts.html +1108 -0
  66. package/coverage/lcov.info +11463 -0
  67. package/coverage/tmp/coverage-2131-1675959950516-2.json +1 -0
  68. package/dist/index.d.ts +18 -0
  69. package/dist/index.js +8636 -0
  70. package/dist/index.js.map +1 -0
  71. package/dist/src/Batcher.d.ts +12 -0
  72. package/dist/src/CallDropScheduler.d.ts +44 -0
  73. package/dist/src/StreamSfuClient.d.ts +25 -0
  74. package/dist/src/StreamVideoClient.d.ts +145 -0
  75. package/dist/src/__tests__/StreamVideoClient.test.d.ts +1 -0
  76. package/dist/src/config/defaultConfigs.d.ts +2 -0
  77. package/dist/src/config/types.d.ts +29 -0
  78. package/dist/src/coordinator/StreamCoordinatorClient.d.ts +19 -0
  79. package/dist/src/coordinator/connection/base64.d.ts +2 -0
  80. package/dist/src/coordinator/connection/client.d.ts +174 -0
  81. package/dist/src/coordinator/connection/connection.d.ts +139 -0
  82. package/dist/src/coordinator/connection/connection_fallback.d.ts +38 -0
  83. package/dist/src/coordinator/connection/errors.d.ts +16 -0
  84. package/dist/src/coordinator/connection/events.d.ts +10 -0
  85. package/dist/src/coordinator/connection/insights.d.ts +58 -0
  86. package/dist/src/coordinator/connection/signing.d.ts +30 -0
  87. package/dist/src/coordinator/connection/token_manager.d.ts +39 -0
  88. package/dist/src/coordinator/connection/types.d.ts +87 -0
  89. package/dist/src/coordinator/connection/utils.d.ts +25 -0
  90. package/dist/src/devices.d.ts +79 -0
  91. package/dist/src/events/call.d.ts +26 -0
  92. package/dist/src/events/internal.d.ts +8 -0
  93. package/dist/src/events/participant.d.ts +21 -0
  94. package/dist/src/events/speaker.d.ts +10 -0
  95. package/dist/src/gen/coordinator/index.d.ts +1973 -0
  96. package/dist/src/gen/google/protobuf/descriptor.d.ts +1650 -0
  97. package/dist/src/gen/google/protobuf/duration.d.ts +113 -0
  98. package/dist/src/gen/google/protobuf/struct.d.ts +184 -0
  99. package/dist/src/gen/google/protobuf/timestamp.d.ts +158 -0
  100. package/dist/src/gen/video/coordinator/broadcast_v1/broadcast.d.ts +66 -0
  101. package/dist/src/gen/video/coordinator/call_v1/call.d.ts +254 -0
  102. package/dist/src/gen/video/coordinator/client_v1_rpc/client_rpc.client.d.ts +351 -0
  103. package/dist/src/gen/video/coordinator/client_v1_rpc/client_rpc.d.ts +1488 -0
  104. package/dist/src/gen/video/coordinator/client_v1_rpc/envelopes.d.ts +143 -0
  105. package/dist/src/gen/video/coordinator/client_v1_rpc/websocket.d.ts +292 -0
  106. package/dist/src/gen/video/coordinator/edge_v1/edge.d.ts +183 -0
  107. package/dist/src/gen/video/coordinator/event_v1/event.d.ts +411 -0
  108. package/dist/src/gen/video/coordinator/geofence_v1/geofence.d.ts +63 -0
  109. package/dist/src/gen/video/coordinator/member_v1/member.d.ts +59 -0
  110. package/dist/src/gen/video/coordinator/participant_v1/participant.d.ts +103 -0
  111. package/dist/src/gen/video/coordinator/push_v1/push.d.ts +240 -0
  112. package/dist/src/gen/video/coordinator/stat_v1/stat.d.ts +308 -0
  113. package/dist/src/gen/video/coordinator/user_v1/user.d.ts +112 -0
  114. package/dist/src/gen/video/coordinator/utils_v1/utils.d.ts +47 -0
  115. package/dist/src/gen/video/sfu/event/events.d.ts +736 -0
  116. package/dist/src/gen/video/sfu/models/models.d.ts +460 -0
  117. package/dist/src/gen/video/sfu/signal_rpc/signal.client.d.ts +89 -0
  118. package/dist/src/gen/video/sfu/signal_rpc/signal.d.ts +320 -0
  119. package/dist/src/helpers/browsers.d.ts +8 -0
  120. package/dist/src/helpers/sound-detector.d.ts +34 -0
  121. package/dist/src/rpc/createClient.d.ts +10 -0
  122. package/dist/src/rpc/index.d.ts +2 -0
  123. package/dist/src/rpc/latency.d.ts +9 -0
  124. package/dist/src/rtc/Call.d.ts +180 -0
  125. package/dist/src/rtc/CallMetadata.d.ts +9 -0
  126. package/dist/src/rtc/Dispatcher.d.ts +9 -0
  127. package/dist/src/rtc/IceTrickleBuffer.d.ts +11 -0
  128. package/dist/src/rtc/callEventHandlers.d.ts +5 -0
  129. package/dist/src/rtc/codecs.d.ts +2 -0
  130. package/dist/src/rtc/helpers/iceCandidate.d.ts +2 -0
  131. package/dist/src/rtc/helpers/tracks.d.ts +3 -0
  132. package/dist/src/rtc/publisher.d.ts +53 -0
  133. package/dist/src/rtc/signal.d.ts +5 -0
  134. package/dist/src/rtc/subscriber.d.ts +7 -0
  135. package/dist/src/rtc/types.d.ts +84 -0
  136. package/dist/src/rtc/videoLayers.d.ts +17 -0
  137. package/dist/src/stats/coordinator-stats-reporter.d.ts +10 -0
  138. package/dist/src/stats/state-store-stats-reporter.d.ts +57 -0
  139. package/dist/src/stats/types.d.ts +42 -0
  140. package/dist/src/store/index.d.ts +2 -0
  141. package/dist/src/store/rxUtils.d.ts +18 -0
  142. package/dist/src/store/stateStore.d.ts +182 -0
  143. package/generate-openapi.sh +32 -0
  144. package/index.ts +31 -0
  145. package/openapitools.json +7 -0
  146. package/package.json +54 -0
  147. package/rollup.config.mjs +48 -0
  148. package/src/Batcher.ts +43 -0
  149. package/src/CallDropScheduler.ts +192 -0
  150. package/src/StreamSfuClient.ts +185 -0
  151. package/src/StreamVideoClient.ts +503 -0
  152. package/src/__tests__/StreamVideoClient.test.ts +83 -0
  153. package/src/config/defaultConfigs.ts +15 -0
  154. package/src/config/types.ts +30 -0
  155. package/src/coordinator/StreamCoordinatorClient.ts +115 -0
  156. package/src/coordinator/connection/base64.ts +80 -0
  157. package/src/coordinator/connection/client.ts +814 -0
  158. package/src/coordinator/connection/connection.ts +750 -0
  159. package/src/coordinator/connection/connection_fallback.ts +239 -0
  160. package/src/coordinator/connection/errors.ts +70 -0
  161. package/src/coordinator/connection/events.ts +13 -0
  162. package/src/coordinator/connection/insights.ts +88 -0
  163. package/src/coordinator/connection/signing.ts +104 -0
  164. package/src/coordinator/connection/token_manager.ts +160 -0
  165. package/src/coordinator/connection/types.ts +111 -0
  166. package/src/coordinator/connection/utils.ts +148 -0
  167. package/src/devices.ts +266 -0
  168. package/src/events/call.ts +166 -0
  169. package/src/events/internal.ts +47 -0
  170. package/src/events/participant.ts +97 -0
  171. package/src/events/speaker.ts +62 -0
  172. package/src/gen/coordinator/index.ts +1956 -0
  173. package/src/gen/google/protobuf/descriptor.ts +3466 -0
  174. package/src/gen/google/protobuf/duration.ts +232 -0
  175. package/src/gen/google/protobuf/struct.ts +481 -0
  176. package/src/gen/google/protobuf/timestamp.ts +291 -0
  177. package/src/gen/video/coordinator/broadcast_v1/broadcast.ts +154 -0
  178. package/src/gen/video/coordinator/call_v1/call.ts +651 -0
  179. package/src/gen/video/coordinator/client_v1_rpc/client_rpc.client.ts +463 -0
  180. package/src/gen/video/coordinator/client_v1_rpc/client_rpc.ts +3819 -0
  181. package/src/gen/video/coordinator/client_v1_rpc/envelopes.ts +424 -0
  182. package/src/gen/video/coordinator/client_v1_rpc/websocket.ts +719 -0
  183. package/src/gen/video/coordinator/edge_v1/edge.ts +532 -0
  184. package/src/gen/video/coordinator/event_v1/event.ts +1171 -0
  185. package/src/gen/video/coordinator/geofence_v1/geofence.ts +128 -0
  186. package/src/gen/video/coordinator/member_v1/member.ts +138 -0
  187. package/src/gen/video/coordinator/participant_v1/participant.ts +261 -0
  188. package/src/gen/video/coordinator/push_v1/push.ts +651 -0
  189. package/src/gen/video/coordinator/stat_v1/stat.ts +656 -0
  190. package/src/gen/video/coordinator/user_v1/user.ts +277 -0
  191. package/src/gen/video/coordinator/utils_v1/utils.ts +98 -0
  192. package/src/gen/video/sfu/event/events.ts +1962 -0
  193. package/src/gen/video/sfu/models/models.ts +1062 -0
  194. package/src/gen/video/sfu/signal_rpc/signal.client.ts +108 -0
  195. package/src/gen/video/sfu/signal_rpc/signal.ts +906 -0
  196. package/src/helpers/browsers.ts +13 -0
  197. package/src/helpers/sound-detector.ts +85 -0
  198. package/src/rpc/createClient.ts +50 -0
  199. package/src/rpc/index.ts +2 -0
  200. package/src/rpc/latency.ts +43 -0
  201. package/src/rtc/Call.ts +585 -0
  202. package/src/rtc/CallMetadata.ts +24 -0
  203. package/src/rtc/Dispatcher.ts +46 -0
  204. package/src/rtc/IceTrickleBuffer.ts +21 -0
  205. package/src/rtc/callEventHandlers.ts +37 -0
  206. package/src/rtc/codecs.ts +61 -0
  207. package/src/rtc/helpers/iceCandidate.ts +16 -0
  208. package/src/rtc/helpers/tracks.ts +18 -0
  209. package/src/rtc/publisher.ts +305 -0
  210. package/src/rtc/signal.ts +34 -0
  211. package/src/rtc/subscriber.ts +85 -0
  212. package/src/rtc/types.ts +105 -0
  213. package/src/rtc/videoLayers.ts +103 -0
  214. package/src/stats/coordinator-stats-reporter.ts +167 -0
  215. package/src/stats/state-store-stats-reporter.ts +364 -0
  216. package/src/stats/types.ts +46 -0
  217. package/src/store/index.ts +2 -0
  218. package/src/store/rxUtils.ts +42 -0
  219. package/src/store/stateStore.ts +341 -0
  220. package/tsconfig.json +25 -0
  221. package/typedoc.json +11 -0
  222. package/vite.config.ts +11 -0
@@ -0,0 +1,736 @@
1
+ import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
2
+ import type { IBinaryWriter } from "@protobuf-ts/runtime";
3
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
4
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
5
+ import type { PartialMessage } from "@protobuf-ts/runtime";
6
+ import { MessageType } from "@protobuf-ts/runtime";
7
+ import { Codec } from "../models/models";
8
+ import { ConnectionQuality } from "../models/models";
9
+ import { Participant } from "../models/models";
10
+ import { CallState } from "../models/models";
11
+ import { TrackType } from "../models/models";
12
+ import { PeerType } from "../models/models";
13
+ import { Error as Error$ } from "../models/models";
14
+ import { ICETrickle as ICETrickle$ } from "../models/models";
15
+ /**
16
+ * SFUEvent is a message that is sent from the SFU to the client.
17
+ *
18
+ * @generated from protobuf message stream.video.sfu.event.SfuEvent
19
+ */
20
+ export interface SfuEvent {
21
+ /**
22
+ * @generated from protobuf oneof: event_payload
23
+ */
24
+ eventPayload: {
25
+ oneofKind: "subscriberOffer";
26
+ /**
27
+ * @generated from protobuf field: stream.video.sfu.event.SubscriberOffer subscriber_offer = 1;
28
+ */
29
+ subscriberOffer: SubscriberOffer;
30
+ } | {
31
+ oneofKind: "publisherAnswer";
32
+ /**
33
+ * @generated from protobuf field: stream.video.sfu.event.PublisherAnswer publisher_answer = 2;
34
+ */
35
+ publisherAnswer: PublisherAnswer;
36
+ } | {
37
+ oneofKind: "connectionQualityChanged";
38
+ /**
39
+ * @generated from protobuf field: stream.video.sfu.event.ConnectionQualityChanged connection_quality_changed = 3;
40
+ */
41
+ connectionQualityChanged: ConnectionQualityChanged;
42
+ } | {
43
+ oneofKind: "audioLevelChanged";
44
+ /**
45
+ * @generated from protobuf field: stream.video.sfu.event.AudioLevelChanged audio_level_changed = 4;
46
+ */
47
+ audioLevelChanged: AudioLevelChanged;
48
+ } | {
49
+ oneofKind: "iceTrickle";
50
+ /**
51
+ * @generated from protobuf field: stream.video.sfu.models.ICETrickle ice_trickle = 5;
52
+ */
53
+ iceTrickle: ICETrickle$;
54
+ } | {
55
+ oneofKind: "changePublishQuality";
56
+ /**
57
+ * @generated from protobuf field: stream.video.sfu.event.ChangePublishQuality change_publish_quality = 6;
58
+ */
59
+ changePublishQuality: ChangePublishQuality;
60
+ } | {
61
+ oneofKind: "participantJoined";
62
+ /**
63
+ * @generated from protobuf field: stream.video.sfu.event.ParticipantJoined participant_joined = 10;
64
+ */
65
+ participantJoined: ParticipantJoined;
66
+ } | {
67
+ oneofKind: "participantLeft";
68
+ /**
69
+ * @generated from protobuf field: stream.video.sfu.event.ParticipantLeft participant_left = 11;
70
+ */
71
+ participantLeft: ParticipantLeft;
72
+ } | {
73
+ oneofKind: "dominantSpeakerChanged";
74
+ /**
75
+ * @generated from protobuf field: stream.video.sfu.event.DominantSpeakerChanged dominant_speaker_changed = 12;
76
+ */
77
+ dominantSpeakerChanged: DominantSpeakerChanged;
78
+ } | {
79
+ oneofKind: "joinResponse";
80
+ /**
81
+ * @generated from protobuf field: stream.video.sfu.event.JoinResponse join_response = 13;
82
+ */
83
+ joinResponse: JoinResponse;
84
+ } | {
85
+ oneofKind: "healthCheckResponse";
86
+ /**
87
+ * @generated from protobuf field: stream.video.sfu.event.HealthCheckResponse health_check_response = 14;
88
+ */
89
+ healthCheckResponse: HealthCheckResponse;
90
+ } | {
91
+ oneofKind: "trackPublished";
92
+ /**
93
+ * @generated from protobuf field: stream.video.sfu.event.TrackPublished track_published = 16;
94
+ */
95
+ trackPublished: TrackPublished;
96
+ } | {
97
+ oneofKind: "trackUnpublished";
98
+ /**
99
+ * @generated from protobuf field: stream.video.sfu.event.TrackUnpublished track_unpublished = 17;
100
+ */
101
+ trackUnpublished: TrackUnpublished;
102
+ } | {
103
+ oneofKind: "error";
104
+ /**
105
+ * @generated from protobuf field: stream.video.sfu.event.Error error = 18;
106
+ */
107
+ error: Error;
108
+ } | {
109
+ oneofKind: undefined;
110
+ };
111
+ }
112
+ /**
113
+ * @generated from protobuf message stream.video.sfu.event.Error
114
+ */
115
+ export interface Error {
116
+ /**
117
+ * @generated from protobuf field: stream.video.sfu.models.Error error = 4;
118
+ */
119
+ error?: Error$;
120
+ }
121
+ /**
122
+ * @generated from protobuf message stream.video.sfu.event.ICETrickle
123
+ */
124
+ export interface ICETrickle {
125
+ /**
126
+ * @generated from protobuf field: stream.video.sfu.models.PeerType peer_type = 1;
127
+ */
128
+ peerType: PeerType;
129
+ /**
130
+ * @generated from protobuf field: string ice_candidate = 2;
131
+ */
132
+ iceCandidate: string;
133
+ }
134
+ /**
135
+ * SfuRequest is a message that is sent from the client to the SFU.
136
+ *
137
+ * @generated from protobuf message stream.video.sfu.event.SfuRequest
138
+ */
139
+ export interface SfuRequest {
140
+ /**
141
+ * @generated from protobuf oneof: request_payload
142
+ */
143
+ requestPayload: {
144
+ oneofKind: "joinRequest";
145
+ /**
146
+ * @generated from protobuf field: stream.video.sfu.event.JoinRequest join_request = 1;
147
+ */
148
+ joinRequest: JoinRequest;
149
+ } | {
150
+ oneofKind: "healthCheckRequest";
151
+ /**
152
+ * @generated from protobuf field: stream.video.sfu.event.HealthCheckRequest health_check_request = 2;
153
+ */
154
+ healthCheckRequest: HealthCheckRequest;
155
+ } | {
156
+ oneofKind: undefined;
157
+ };
158
+ }
159
+ /**
160
+ * @generated from protobuf message stream.video.sfu.event.HealthCheckRequest
161
+ */
162
+ export interface HealthCheckRequest {
163
+ }
164
+ /**
165
+ * @generated from protobuf message stream.video.sfu.event.HealthCheckResponse
166
+ */
167
+ export interface HealthCheckResponse {
168
+ }
169
+ /**
170
+ * @generated from protobuf message stream.video.sfu.event.TrackPublished
171
+ */
172
+ export interface TrackPublished {
173
+ /**
174
+ * @generated from protobuf field: string user_id = 1;
175
+ */
176
+ userId: string;
177
+ /**
178
+ * @generated from protobuf field: string session_id = 2;
179
+ */
180
+ sessionId: string;
181
+ /**
182
+ * @generated from protobuf field: stream.video.sfu.models.TrackType type = 3;
183
+ */
184
+ type: TrackType;
185
+ }
186
+ /**
187
+ * @generated from protobuf message stream.video.sfu.event.TrackUnpublished
188
+ */
189
+ export interface TrackUnpublished {
190
+ /**
191
+ * @generated from protobuf field: string user_id = 1;
192
+ */
193
+ userId: string;
194
+ /**
195
+ * @generated from protobuf field: string session_id = 2;
196
+ */
197
+ sessionId: string;
198
+ /**
199
+ * @generated from protobuf field: stream.video.sfu.models.TrackType type = 3;
200
+ */
201
+ type: TrackType;
202
+ }
203
+ /**
204
+ * @generated from protobuf message stream.video.sfu.event.JoinRequest
205
+ */
206
+ export interface JoinRequest {
207
+ /**
208
+ * @generated from protobuf field: string token = 1;
209
+ */
210
+ token: string;
211
+ /**
212
+ * @generated from protobuf field: string session_id = 2;
213
+ */
214
+ sessionId: string;
215
+ /**
216
+ * dumb SDP that allow us to extract subscriber's decode codecs
217
+ *
218
+ * @generated from protobuf field: string subscriber_sdp = 3;
219
+ */
220
+ subscriberSdp: string;
221
+ }
222
+ /**
223
+ * @generated from protobuf message stream.video.sfu.event.JoinResponse
224
+ */
225
+ export interface JoinResponse {
226
+ /**
227
+ * TODO: include full list of participants with track and audio info
228
+ *
229
+ * @generated from protobuf field: stream.video.sfu.models.CallState call_state = 1;
230
+ */
231
+ callState?: CallState;
232
+ }
233
+ /**
234
+ * ParticipantJoined is fired when a user joins a call
235
+ *
236
+ * @generated from protobuf message stream.video.sfu.event.ParticipantJoined
237
+ */
238
+ export interface ParticipantJoined {
239
+ /**
240
+ * @generated from protobuf field: string call_cid = 1;
241
+ */
242
+ callCid: string;
243
+ /**
244
+ * @generated from protobuf field: stream.video.sfu.models.Participant participant = 2;
245
+ */
246
+ participant?: Participant;
247
+ }
248
+ /**
249
+ * ParticipantJoined is fired when a user leaves a call
250
+ *
251
+ * @generated from protobuf message stream.video.sfu.event.ParticipantLeft
252
+ */
253
+ export interface ParticipantLeft {
254
+ /**
255
+ * @generated from protobuf field: string call_cid = 1;
256
+ */
257
+ callCid: string;
258
+ /**
259
+ * @generated from protobuf field: stream.video.sfu.models.Participant participant = 2;
260
+ */
261
+ participant?: Participant;
262
+ }
263
+ /**
264
+ * SubscriberOffer is sent when the SFU adds tracks to a subscription
265
+ *
266
+ * @generated from protobuf message stream.video.sfu.event.SubscriberOffer
267
+ */
268
+ export interface SubscriberOffer {
269
+ /**
270
+ * @generated from protobuf field: bool ice_restart = 1;
271
+ */
272
+ iceRestart: boolean;
273
+ /**
274
+ * @generated from protobuf field: string sdp = 2;
275
+ */
276
+ sdp: string;
277
+ }
278
+ /**
279
+ * @generated from protobuf message stream.video.sfu.event.PublisherAnswer
280
+ */
281
+ export interface PublisherAnswer {
282
+ /**
283
+ * @generated from protobuf field: string sdp = 1;
284
+ */
285
+ sdp: string;
286
+ }
287
+ /**
288
+ * ConnectionQuality is sent to inform about connection quality changes
289
+ * eg. thierry's connection is not good -> render a red icon Zoom style
290
+ *
291
+ * @generated from protobuf message stream.video.sfu.event.ConnectionQualityChanged
292
+ */
293
+ export interface ConnectionQualityChanged {
294
+ /**
295
+ * @generated from protobuf field: repeated stream.video.sfu.event.ConnectionQualityInfo connection_quality_updates = 1;
296
+ */
297
+ connectionQualityUpdates: ConnectionQualityInfo[];
298
+ }
299
+ /**
300
+ * @generated from protobuf message stream.video.sfu.event.ConnectionQualityInfo
301
+ */
302
+ export interface ConnectionQualityInfo {
303
+ /**
304
+ * @generated from protobuf field: string user_id = 1;
305
+ */
306
+ userId: string;
307
+ /**
308
+ * @generated from protobuf field: string session_id = 2;
309
+ */
310
+ sessionId: string;
311
+ /**
312
+ * @generated from protobuf field: stream.video.sfu.models.ConnectionQuality connection_quality = 3;
313
+ */
314
+ connectionQuality: ConnectionQuality;
315
+ }
316
+ /**
317
+ * DominantSpeakerChanged is sent by the SFU to notify when there is a new dominant speaker in the call
318
+ *
319
+ * @generated from protobuf message stream.video.sfu.event.DominantSpeakerChanged
320
+ */
321
+ export interface DominantSpeakerChanged {
322
+ /**
323
+ * @generated from protobuf field: string user_id = 1;
324
+ */
325
+ userId: string;
326
+ /**
327
+ * @generated from protobuf field: string session_id = 2;
328
+ */
329
+ sessionId: string;
330
+ }
331
+ /**
332
+ * @generated from protobuf message stream.video.sfu.event.AudioLevel
333
+ */
334
+ export interface AudioLevel {
335
+ /**
336
+ * @generated from protobuf field: string user_id = 1;
337
+ */
338
+ userId: string;
339
+ /**
340
+ * @generated from protobuf field: string session_id = 2;
341
+ */
342
+ sessionId: string;
343
+ /**
344
+ * 0.0 means complete silence, 1.0 loudest
345
+ *
346
+ * @generated from protobuf field: float level = 3;
347
+ */
348
+ level: number;
349
+ /**
350
+ * @generated from protobuf field: bool is_speaking = 4;
351
+ */
352
+ isSpeaking: boolean;
353
+ }
354
+ /**
355
+ * AudioLevelChanged is sent by the SFU to notify about audio levels by user
356
+ *
357
+ * @generated from protobuf message stream.video.sfu.event.AudioLevelChanged
358
+ */
359
+ export interface AudioLevelChanged {
360
+ /**
361
+ * @generated from protobuf field: repeated stream.video.sfu.event.AudioLevel audio_levels = 1;
362
+ */
363
+ audioLevels: AudioLevel[];
364
+ }
365
+ /**
366
+ * @generated from protobuf message stream.video.sfu.event.AudioMediaRequest
367
+ */
368
+ export interface AudioMediaRequest {
369
+ /**
370
+ * @generated from protobuf field: int32 channel_count = 1;
371
+ */
372
+ channelCount: number;
373
+ }
374
+ /**
375
+ * @generated from protobuf message stream.video.sfu.event.AudioSender
376
+ */
377
+ export interface AudioSender {
378
+ /**
379
+ * @generated from protobuf field: stream.video.sfu.event.AudioMediaRequest media_request = 1;
380
+ */
381
+ mediaRequest?: AudioMediaRequest;
382
+ /**
383
+ * @generated from protobuf field: stream.video.sfu.models.Codec codec = 2;
384
+ */
385
+ codec?: Codec;
386
+ }
387
+ /**
388
+ * @generated from protobuf message stream.video.sfu.event.VideoMediaRequest
389
+ */
390
+ export interface VideoMediaRequest {
391
+ /**
392
+ * @generated from protobuf field: int32 ideal_height = 1;
393
+ */
394
+ idealHeight: number;
395
+ /**
396
+ * @generated from protobuf field: int32 ideal_width = 2;
397
+ */
398
+ idealWidth: number;
399
+ /**
400
+ * @generated from protobuf field: int32 ideal_frame_rate = 3;
401
+ */
402
+ idealFrameRate: number;
403
+ }
404
+ /**
405
+ * @generated from protobuf message stream.video.sfu.event.VideoLayerSetting
406
+ */
407
+ export interface VideoLayerSetting {
408
+ /**
409
+ * @generated from protobuf field: string name = 1;
410
+ */
411
+ name: string;
412
+ /**
413
+ * @generated from protobuf field: bool active = 2;
414
+ */
415
+ active: boolean;
416
+ /**
417
+ * @generated from protobuf field: int32 max_bitrate = 3;
418
+ */
419
+ maxBitrate: number;
420
+ /**
421
+ * @generated from protobuf field: float scale_resolution_down_by = 4;
422
+ */
423
+ scaleResolutionDownBy: number;
424
+ /**
425
+ * @generated from protobuf field: stream.video.sfu.event.VideoLayerSetting.Priority priority = 5;
426
+ */
427
+ priority: VideoLayerSetting_Priority;
428
+ /**
429
+ * @generated from protobuf field: stream.video.sfu.models.Codec codec = 6;
430
+ */
431
+ codec?: Codec;
432
+ }
433
+ /**
434
+ * @generated from protobuf enum stream.video.sfu.event.VideoLayerSetting.Priority
435
+ */
436
+ export declare enum VideoLayerSetting_Priority {
437
+ /**
438
+ * @generated from protobuf enum value: PRIORITY_HIGH_UNSPECIFIED = 0;
439
+ */
440
+ HIGH_UNSPECIFIED = 0,
441
+ /**
442
+ * @generated from protobuf enum value: PRIORITY_LOW = 1;
443
+ */
444
+ LOW = 1,
445
+ /**
446
+ * @generated from protobuf enum value: PRIORITY_MEDIUM = 2;
447
+ */
448
+ MEDIUM = 2,
449
+ /**
450
+ * @generated from protobuf enum value: PRIORITY_VERY_LOW = 3;
451
+ */
452
+ VERY_LOW = 3
453
+ }
454
+ /**
455
+ * @generated from protobuf message stream.video.sfu.event.VideoSender
456
+ */
457
+ export interface VideoSender {
458
+ /**
459
+ * @generated from protobuf field: stream.video.sfu.event.VideoMediaRequest media_request = 1;
460
+ */
461
+ mediaRequest?: VideoMediaRequest;
462
+ /**
463
+ * @generated from protobuf field: stream.video.sfu.models.Codec codec = 2;
464
+ */
465
+ codec?: Codec;
466
+ /**
467
+ * @generated from protobuf field: repeated stream.video.sfu.event.VideoLayerSetting layers = 3;
468
+ */
469
+ layers: VideoLayerSetting[];
470
+ }
471
+ /**
472
+ * sent to users when they need to change the quality of their video
473
+ *
474
+ * @generated from protobuf message stream.video.sfu.event.ChangePublishQuality
475
+ */
476
+ export interface ChangePublishQuality {
477
+ /**
478
+ * @generated from protobuf field: repeated stream.video.sfu.event.AudioSender audio_senders = 1;
479
+ */
480
+ audioSenders: AudioSender[];
481
+ /**
482
+ * @generated from protobuf field: repeated stream.video.sfu.event.VideoSender video_senders = 2;
483
+ */
484
+ videoSenders: VideoSender[];
485
+ }
486
+ declare class SfuEvent$Type extends MessageType<SfuEvent> {
487
+ constructor();
488
+ create(value?: PartialMessage<SfuEvent>): SfuEvent;
489
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SfuEvent): SfuEvent;
490
+ internalBinaryWrite(message: SfuEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
491
+ }
492
+ /**
493
+ * @generated MessageType for protobuf message stream.video.sfu.event.SfuEvent
494
+ */
495
+ export declare const SfuEvent: SfuEvent$Type;
496
+ declare class Error$Type extends MessageType<Error> {
497
+ constructor();
498
+ create(value?: PartialMessage<Error>): Error;
499
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Error): Error;
500
+ internalBinaryWrite(message: Error, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
501
+ }
502
+ /**
503
+ * @generated MessageType for protobuf message stream.video.sfu.event.Error
504
+ */
505
+ export declare const Error: Error$Type;
506
+ declare class ICETrickle$Type extends MessageType<ICETrickle> {
507
+ constructor();
508
+ create(value?: PartialMessage<ICETrickle>): ICETrickle;
509
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ICETrickle): ICETrickle;
510
+ internalBinaryWrite(message: ICETrickle, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
511
+ }
512
+ /**
513
+ * @generated MessageType for protobuf message stream.video.sfu.event.ICETrickle
514
+ */
515
+ export declare const ICETrickle: ICETrickle$Type;
516
+ declare class SfuRequest$Type extends MessageType<SfuRequest> {
517
+ constructor();
518
+ create(value?: PartialMessage<SfuRequest>): SfuRequest;
519
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SfuRequest): SfuRequest;
520
+ internalBinaryWrite(message: SfuRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
521
+ }
522
+ /**
523
+ * @generated MessageType for protobuf message stream.video.sfu.event.SfuRequest
524
+ */
525
+ export declare const SfuRequest: SfuRequest$Type;
526
+ declare class HealthCheckRequest$Type extends MessageType<HealthCheckRequest> {
527
+ constructor();
528
+ create(value?: PartialMessage<HealthCheckRequest>): HealthCheckRequest;
529
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: HealthCheckRequest): HealthCheckRequest;
530
+ internalBinaryWrite(message: HealthCheckRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
531
+ }
532
+ /**
533
+ * @generated MessageType for protobuf message stream.video.sfu.event.HealthCheckRequest
534
+ */
535
+ export declare const HealthCheckRequest: HealthCheckRequest$Type;
536
+ declare class HealthCheckResponse$Type extends MessageType<HealthCheckResponse> {
537
+ constructor();
538
+ create(value?: PartialMessage<HealthCheckResponse>): HealthCheckResponse;
539
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: HealthCheckResponse): HealthCheckResponse;
540
+ internalBinaryWrite(message: HealthCheckResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
541
+ }
542
+ /**
543
+ * @generated MessageType for protobuf message stream.video.sfu.event.HealthCheckResponse
544
+ */
545
+ export declare const HealthCheckResponse: HealthCheckResponse$Type;
546
+ declare class TrackPublished$Type extends MessageType<TrackPublished> {
547
+ constructor();
548
+ create(value?: PartialMessage<TrackPublished>): TrackPublished;
549
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TrackPublished): TrackPublished;
550
+ internalBinaryWrite(message: TrackPublished, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
551
+ }
552
+ /**
553
+ * @generated MessageType for protobuf message stream.video.sfu.event.TrackPublished
554
+ */
555
+ export declare const TrackPublished: TrackPublished$Type;
556
+ declare class TrackUnpublished$Type extends MessageType<TrackUnpublished> {
557
+ constructor();
558
+ create(value?: PartialMessage<TrackUnpublished>): TrackUnpublished;
559
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TrackUnpublished): TrackUnpublished;
560
+ internalBinaryWrite(message: TrackUnpublished, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
561
+ }
562
+ /**
563
+ * @generated MessageType for protobuf message stream.video.sfu.event.TrackUnpublished
564
+ */
565
+ export declare const TrackUnpublished: TrackUnpublished$Type;
566
+ declare class JoinRequest$Type extends MessageType<JoinRequest> {
567
+ constructor();
568
+ create(value?: PartialMessage<JoinRequest>): JoinRequest;
569
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: JoinRequest): JoinRequest;
570
+ internalBinaryWrite(message: JoinRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
571
+ }
572
+ /**
573
+ * @generated MessageType for protobuf message stream.video.sfu.event.JoinRequest
574
+ */
575
+ export declare const JoinRequest: JoinRequest$Type;
576
+ declare class JoinResponse$Type extends MessageType<JoinResponse> {
577
+ constructor();
578
+ create(value?: PartialMessage<JoinResponse>): JoinResponse;
579
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: JoinResponse): JoinResponse;
580
+ internalBinaryWrite(message: JoinResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
581
+ }
582
+ /**
583
+ * @generated MessageType for protobuf message stream.video.sfu.event.JoinResponse
584
+ */
585
+ export declare const JoinResponse: JoinResponse$Type;
586
+ declare class ParticipantJoined$Type extends MessageType<ParticipantJoined> {
587
+ constructor();
588
+ create(value?: PartialMessage<ParticipantJoined>): ParticipantJoined;
589
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ParticipantJoined): ParticipantJoined;
590
+ internalBinaryWrite(message: ParticipantJoined, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
591
+ }
592
+ /**
593
+ * @generated MessageType for protobuf message stream.video.sfu.event.ParticipantJoined
594
+ */
595
+ export declare const ParticipantJoined: ParticipantJoined$Type;
596
+ declare class ParticipantLeft$Type extends MessageType<ParticipantLeft> {
597
+ constructor();
598
+ create(value?: PartialMessage<ParticipantLeft>): ParticipantLeft;
599
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ParticipantLeft): ParticipantLeft;
600
+ internalBinaryWrite(message: ParticipantLeft, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
601
+ }
602
+ /**
603
+ * @generated MessageType for protobuf message stream.video.sfu.event.ParticipantLeft
604
+ */
605
+ export declare const ParticipantLeft: ParticipantLeft$Type;
606
+ declare class SubscriberOffer$Type extends MessageType<SubscriberOffer> {
607
+ constructor();
608
+ create(value?: PartialMessage<SubscriberOffer>): SubscriberOffer;
609
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubscriberOffer): SubscriberOffer;
610
+ internalBinaryWrite(message: SubscriberOffer, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
611
+ }
612
+ /**
613
+ * @generated MessageType for protobuf message stream.video.sfu.event.SubscriberOffer
614
+ */
615
+ export declare const SubscriberOffer: SubscriberOffer$Type;
616
+ declare class PublisherAnswer$Type extends MessageType<PublisherAnswer> {
617
+ constructor();
618
+ create(value?: PartialMessage<PublisherAnswer>): PublisherAnswer;
619
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PublisherAnswer): PublisherAnswer;
620
+ internalBinaryWrite(message: PublisherAnswer, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
621
+ }
622
+ /**
623
+ * @generated MessageType for protobuf message stream.video.sfu.event.PublisherAnswer
624
+ */
625
+ export declare const PublisherAnswer: PublisherAnswer$Type;
626
+ declare class ConnectionQualityChanged$Type extends MessageType<ConnectionQualityChanged> {
627
+ constructor();
628
+ create(value?: PartialMessage<ConnectionQualityChanged>): ConnectionQualityChanged;
629
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ConnectionQualityChanged): ConnectionQualityChanged;
630
+ internalBinaryWrite(message: ConnectionQualityChanged, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
631
+ }
632
+ /**
633
+ * @generated MessageType for protobuf message stream.video.sfu.event.ConnectionQualityChanged
634
+ */
635
+ export declare const ConnectionQualityChanged: ConnectionQualityChanged$Type;
636
+ declare class ConnectionQualityInfo$Type extends MessageType<ConnectionQualityInfo> {
637
+ constructor();
638
+ create(value?: PartialMessage<ConnectionQualityInfo>): ConnectionQualityInfo;
639
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ConnectionQualityInfo): ConnectionQualityInfo;
640
+ internalBinaryWrite(message: ConnectionQualityInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
641
+ }
642
+ /**
643
+ * @generated MessageType for protobuf message stream.video.sfu.event.ConnectionQualityInfo
644
+ */
645
+ export declare const ConnectionQualityInfo: ConnectionQualityInfo$Type;
646
+ declare class DominantSpeakerChanged$Type extends MessageType<DominantSpeakerChanged> {
647
+ constructor();
648
+ create(value?: PartialMessage<DominantSpeakerChanged>): DominantSpeakerChanged;
649
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DominantSpeakerChanged): DominantSpeakerChanged;
650
+ internalBinaryWrite(message: DominantSpeakerChanged, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
651
+ }
652
+ /**
653
+ * @generated MessageType for protobuf message stream.video.sfu.event.DominantSpeakerChanged
654
+ */
655
+ export declare const DominantSpeakerChanged: DominantSpeakerChanged$Type;
656
+ declare class AudioLevel$Type extends MessageType<AudioLevel> {
657
+ constructor();
658
+ create(value?: PartialMessage<AudioLevel>): AudioLevel;
659
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AudioLevel): AudioLevel;
660
+ internalBinaryWrite(message: AudioLevel, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
661
+ }
662
+ /**
663
+ * @generated MessageType for protobuf message stream.video.sfu.event.AudioLevel
664
+ */
665
+ export declare const AudioLevel: AudioLevel$Type;
666
+ declare class AudioLevelChanged$Type extends MessageType<AudioLevelChanged> {
667
+ constructor();
668
+ create(value?: PartialMessage<AudioLevelChanged>): AudioLevelChanged;
669
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AudioLevelChanged): AudioLevelChanged;
670
+ internalBinaryWrite(message: AudioLevelChanged, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
671
+ }
672
+ /**
673
+ * @generated MessageType for protobuf message stream.video.sfu.event.AudioLevelChanged
674
+ */
675
+ export declare const AudioLevelChanged: AudioLevelChanged$Type;
676
+ declare class AudioMediaRequest$Type extends MessageType<AudioMediaRequest> {
677
+ constructor();
678
+ create(value?: PartialMessage<AudioMediaRequest>): AudioMediaRequest;
679
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AudioMediaRequest): AudioMediaRequest;
680
+ internalBinaryWrite(message: AudioMediaRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
681
+ }
682
+ /**
683
+ * @generated MessageType for protobuf message stream.video.sfu.event.AudioMediaRequest
684
+ */
685
+ export declare const AudioMediaRequest: AudioMediaRequest$Type;
686
+ declare class AudioSender$Type extends MessageType<AudioSender> {
687
+ constructor();
688
+ create(value?: PartialMessage<AudioSender>): AudioSender;
689
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AudioSender): AudioSender;
690
+ internalBinaryWrite(message: AudioSender, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
691
+ }
692
+ /**
693
+ * @generated MessageType for protobuf message stream.video.sfu.event.AudioSender
694
+ */
695
+ export declare const AudioSender: AudioSender$Type;
696
+ declare class VideoMediaRequest$Type extends MessageType<VideoMediaRequest> {
697
+ constructor();
698
+ create(value?: PartialMessage<VideoMediaRequest>): VideoMediaRequest;
699
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VideoMediaRequest): VideoMediaRequest;
700
+ internalBinaryWrite(message: VideoMediaRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
701
+ }
702
+ /**
703
+ * @generated MessageType for protobuf message stream.video.sfu.event.VideoMediaRequest
704
+ */
705
+ export declare const VideoMediaRequest: VideoMediaRequest$Type;
706
+ declare class VideoLayerSetting$Type extends MessageType<VideoLayerSetting> {
707
+ constructor();
708
+ create(value?: PartialMessage<VideoLayerSetting>): VideoLayerSetting;
709
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VideoLayerSetting): VideoLayerSetting;
710
+ internalBinaryWrite(message: VideoLayerSetting, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
711
+ }
712
+ /**
713
+ * @generated MessageType for protobuf message stream.video.sfu.event.VideoLayerSetting
714
+ */
715
+ export declare const VideoLayerSetting: VideoLayerSetting$Type;
716
+ declare class VideoSender$Type extends MessageType<VideoSender> {
717
+ constructor();
718
+ create(value?: PartialMessage<VideoSender>): VideoSender;
719
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VideoSender): VideoSender;
720
+ internalBinaryWrite(message: VideoSender, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
721
+ }
722
+ /**
723
+ * @generated MessageType for protobuf message stream.video.sfu.event.VideoSender
724
+ */
725
+ export declare const VideoSender: VideoSender$Type;
726
+ declare class ChangePublishQuality$Type extends MessageType<ChangePublishQuality> {
727
+ constructor();
728
+ create(value?: PartialMessage<ChangePublishQuality>): ChangePublishQuality;
729
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ChangePublishQuality): ChangePublishQuality;
730
+ internalBinaryWrite(message: ChangePublishQuality, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
731
+ }
732
+ /**
733
+ * @generated MessageType for protobuf message stream.video.sfu.event.ChangePublishQuality
734
+ */
735
+ export declare const ChangePublishQuality: ChangePublishQuality$Type;
736
+ export {};