steamutils 1.2.71 → 1.2.73

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 (217) hide show
  1. package/.idea/deployment.xml +21 -0
  2. package/.idea/steamutils.iml +1 -1
  3. package/.idea/vcs.xml +1 -1
  4. package/SteamClient.js +4 -2
  5. package/free_packages.json +10048 -10048
  6. package/package.json +2 -1
  7. package/protos/csgo/base_gcmessages_csgo.proto +547 -547
  8. package/protos/csgo/c_peer2peer_netmessages.proto +55 -55
  9. package/protos/csgo/clientmessages.proto +48 -48
  10. package/protos/csgo/connectionless_netmessages.proto +19 -19
  11. package/protos/csgo/cs_gameevents.proto +34 -34
  12. package/protos/csgo/cs_usercmd.proto +34 -34
  13. package/protos/csgo/cstrike15_gcmessages.proto +1402 -1402
  14. package/protos/csgo/cstrike15_usermessages.proto +596 -596
  15. package/protos/csgo/demo.proto +160 -160
  16. package/protos/csgo/econ_gcmessages.proto +228 -228
  17. package/protos/csgo/engine_gcmessages.proto +14 -14
  18. package/protos/csgo/enums_clientserver.proto +1529 -1529
  19. package/protos/csgo/fatdemo.proto +125 -125
  20. package/protos/csgo/gameevents.proto +120 -120
  21. package/protos/csgo/gcsdk_gcmessages.proto +323 -323
  22. package/protos/csgo/gcsystemmsgs.proto +242 -242
  23. package/protos/csgo/netmessages.proto +604 -604
  24. package/protos/csgo/network_connection.proto +126 -126
  25. package/protos/csgo/networkbasetypes.proto +244 -244
  26. package/protos/csgo/networksystem_protomessages.proto +17 -17
  27. package/protos/csgo/steamdatagram_messages_auth.proto +65 -65
  28. package/protos/csgo/steamdatagram_messages_sdr.proto +534 -534
  29. package/protos/csgo/steammessages.proto +597 -597
  30. package/protos/csgo/steammessages_base.proto +301 -301
  31. package/protos/csgo/steammessages_cloud.steamworkssdk.proto +68 -68
  32. package/protos/csgo/steammessages_gamenetworkingui.proto +61 -61
  33. package/protos/csgo/steammessages_helprequest.steamworkssdk.proto +22 -22
  34. package/protos/csgo/steammessages_oauth.steamworkssdk.proto +18 -18
  35. package/protos/csgo/steammessages_player.steamworkssdk.proto +254 -254
  36. package/protos/csgo/steammessages_publishedfile.steamworkssdk.proto +233 -233
  37. package/protos/csgo/steammessages_steamlearn.steamworkssdk.proto +357 -357
  38. package/protos/csgo/steammessages_unified_base.steamworkssdk.proto +30 -30
  39. package/protos/csgo/steamnetworkingsockets_messages.proto +205 -205
  40. package/protos/csgo/steamnetworkingsockets_messages_certs.proto +39 -39
  41. package/protos/csgo/steamnetworkingsockets_messages_udp.proto +75 -75
  42. package/protos/csgo/te.proto +259 -259
  43. package/protos/csgo/uifontfile_format.proto +13 -13
  44. package/protos/csgo/usercmd.proto +38 -38
  45. package/protos/csgo/usermessages.proto +721 -721
  46. package/protos/csgo/valveextensions.proto +17 -17
  47. package/protos/google/protobuf/descriptor.proto +281 -281
  48. package/protos/steam/clientmetrics.proto +45 -45
  49. package/protos/steam/content_manifest.proto +62 -62
  50. package/protos/steam/contenthubs.proto +41 -41
  51. package/protos/steam/encrypted_app_ticket.proto +10 -10
  52. package/protos/steam/enums.proto +444 -444
  53. package/protos/steam/enums_clientserver.proto +1539 -1539
  54. package/protos/steam/enums_productinfo.proto +13 -13
  55. package/protos/steam/htmlmessages.proto +1027 -1027
  56. package/protos/steam/offline_ticket.proto +8 -8
  57. package/protos/steam/renderer/rendermessages.proto +893 -893
  58. package/protos/steam/steamdatagram_messages_auth.proto +65 -65
  59. package/protos/steam/steamdatagram_messages_sdr.proto +533 -533
  60. package/protos/steam/steammessages_accounthardware.steamclient.proto +201 -201
  61. package/protos/steam/steammessages_appoverview.proto +187 -187
  62. package/protos/steam/steammessages_auth.steamclient.proto +435 -435
  63. package/protos/steam/steammessages_base.proto +332 -332
  64. package/protos/steam/steammessages_broadcast.steamclient.proto +759 -759
  65. package/protos/steam/steammessages_chat.steamclient.proto +1281 -1281
  66. package/protos/steam/steammessages_client_objects.proto +645 -645
  67. package/protos/steam/steammessages_clientlanp2p.proto +42 -42
  68. package/protos/steam/steammessages_clientmetrics.steamclient.proto +194 -194
  69. package/protos/steam/steammessages_clientnotificationtypes.proto +231 -231
  70. package/protos/steam/steammessages_clientserver.proto +392 -392
  71. package/protos/steam/steammessages_clientserver_2.proto +760 -760
  72. package/protos/steam/steammessages_clientserver_appinfo.proto +131 -131
  73. package/protos/steam/steammessages_clientserver_friends.proto +260 -260
  74. package/protos/steam/steammessages_clientserver_gameservers.proto +159 -159
  75. package/protos/steam/steammessages_clientserver_lbs.proto +70 -70
  76. package/protos/steam/steammessages_clientserver_login.proto +167 -167
  77. package/protos/steam/steammessages_clientserver_ucm.proto +205 -205
  78. package/protos/steam/steammessages_clientserver_uds.proto +124 -124
  79. package/protos/steam/steammessages_clientserver_ufs.proto +172 -172
  80. package/protos/steam/steammessages_clientserver_userstats.proto +80 -80
  81. package/protos/steam/steammessages_clientsettings.proto +168 -168
  82. package/protos/steam/steammessages_cloud.steamclient.proto +513 -513
  83. package/protos/steam/steammessages_contentsystem.steamclient.proto +115 -115
  84. package/protos/steam/steammessages_credentials.steamclient.proto +115 -115
  85. package/protos/steam/steammessages_datapublisher.steamclient.proto +116 -116
  86. package/protos/steam/steammessages_depotbuilder.steamclient.proto +118 -118
  87. package/protos/steam/steammessages_deviceauth.steamclient.proto +203 -203
  88. package/protos/steam/steammessages_econ.steamclient.proto +150 -150
  89. package/protos/steam/steammessages_friendmessages.steamclient.proto +168 -168
  90. package/protos/steam/steammessages_gamenetworking.steamclient.proto +32 -32
  91. package/protos/steam/steammessages_gamenetworkingui.proto +61 -61
  92. package/protos/steam/steammessages_gamenotifications.steamclient.proto +156 -156
  93. package/protos/steam/steammessages_gameservers.steamclient.proto +152 -152
  94. package/protos/steam/steammessages_hiddevices.proto +157 -157
  95. package/protos/steam/steammessages_inventory.steamclient.proto +224 -224
  96. package/protos/steam/steammessages_linkfilter.steamclient.proto +49 -49
  97. package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +33 -33
  98. package/protos/steam/steammessages_market.steamclient.proto +26 -26
  99. package/protos/steam/steammessages_marketingmessages.steamclient.proto +274 -274
  100. package/protos/steam/steammessages_offline.steamclient.proto +40 -40
  101. package/protos/steam/steammessages_parental.steamclient.proto +228 -228
  102. package/protos/steam/steammessages_parties.steamclient.proto +94 -94
  103. package/protos/steam/steammessages_partnerapps.steamclient.proto +138 -138
  104. package/protos/steam/steammessages_player.steamclient.proto +1060 -1060
  105. package/protos/steam/steammessages_publishedfile.steamclient.proto +813 -813
  106. package/protos/steam/steammessages_qms.steamclient.proto +125 -125
  107. package/protos/steam/steammessages_remoteclient.proto +99 -99
  108. package/protos/steam/steammessages_remoteclient_discovery.proto +235 -235
  109. package/protos/steam/steammessages_remoteclient_service.steamclient.proto +86 -86
  110. package/protos/steam/steammessages_remoteclient_service_messages.proto +217 -217
  111. package/protos/steam/steammessages_remoteplay.proto +976 -976
  112. package/protos/steam/steammessages_secrets.steamclient.proto +39 -39
  113. package/protos/steam/steammessages_shader.steamclient.proto +108 -108
  114. package/protos/steam/steammessages_site_license.steamclient.proto +128 -128
  115. package/protos/steam/steammessages_sitelicenseclient.proto +38 -38
  116. package/protos/steam/steammessages_siteserverui.proto +130 -130
  117. package/protos/steam/steammessages_star.steamclient.proto +64 -64
  118. package/protos/steam/steammessages_steamtv.steamclient.proto +630 -630
  119. package/protos/steam/steammessages_store.steamclient.proto +371 -371
  120. package/protos/steam/steammessages_storebrowse.steamclient.proto +402 -402
  121. package/protos/steam/steammessages_timedtrial.steamclient.proto +50 -50
  122. package/protos/steam/steammessages_twofactor.steamclient.proto +186 -186
  123. package/protos/steam/steammessages_unified_base.steamclient.proto +33 -33
  124. package/protos/steam/steammessages_unified_test.steamclient.proto +61 -61
  125. package/protos/steam/steammessages_useraccount.steamclient.proto +249 -249
  126. package/protos/steam/steammessages_vac.steamclient.proto +44 -44
  127. package/protos/steam/steammessages_video.steamclient.proto +171 -171
  128. package/protos/steam/steammessages_virtualcontroller.proto +138 -138
  129. package/protos/steam/steammessages_workshop.steamclient.proto +23 -23
  130. package/protos/steam/steamnetworkingsockets_messages.proto +205 -205
  131. package/protos/steam/steamnetworkingsockets_messages_certs.proto +39 -39
  132. package/protos/steam/steamnetworkingsockets_messages_udp.proto +75 -75
  133. package/protos/steam/webuimessages_base.proto +24 -24
  134. package/protos/steam/webuimessages_gamenotes.proto +21 -21
  135. package/protos/steam/webuimessages_steamengine.proto +32 -32
  136. package/protos/steam/webuimessages_storagedevicemanager.proto +110 -110
  137. package/protos/steam/webuimessages_systemmanager.proto +17 -17
  138. package/protos/steam/webuimessages_transport.proto +18 -18
  139. package/protos/steam/webuimessages_transportvalidation.proto +97 -97
  140. package/protos/webui/common.proto +5508 -5508
  141. package/protos/webui/common_base.proto +27 -27
  142. package/protos/webui/service_accountlinking.proto +27 -27
  143. package/protos/webui/service_accountprivacy.proto +42 -42
  144. package/protos/webui/service_auction.proto +97 -97
  145. package/protos/webui/service_authentication.proto +222 -222
  146. package/protos/webui/service_authenticationsupport.proto +74 -74
  147. package/protos/webui/service_broadcast.proto +562 -562
  148. package/protos/webui/service_chat.proto +11 -11
  149. package/protos/webui/service_chatroom.proto +810 -810
  150. package/protos/webui/service_chatusability.proto +107 -107
  151. package/protos/webui/service_clan.proto +41 -41
  152. package/protos/webui/service_clanchatrooms.proto +25 -25
  153. package/protos/webui/service_clanfaqs.proto +202 -202
  154. package/protos/webui/service_clientcomm.proto +150 -150
  155. package/protos/webui/service_clientmetrics.proto +63 -63
  156. package/protos/webui/service_cloud.proto +222 -222
  157. package/protos/webui/service_cloudconfigstore.proto +51 -51
  158. package/protos/webui/service_cloudgaming.proto +30 -30
  159. package/protos/webui/service_community.proto +365 -365
  160. package/protos/webui/service_econ.proto +134 -134
  161. package/protos/webui/service_embedded.proto +24 -24
  162. package/protos/webui/service_experimentservice.proto +6 -6
  163. package/protos/webui/service_fovasvideo.proto +15 -15
  164. package/protos/webui/service_friendmessages.proto +133 -133
  165. package/protos/webui/service_friendslist.proto +70 -70
  166. package/protos/webui/service_gamenotes.proto +15 -15
  167. package/protos/webui/service_helprequestlogs.proto +26 -26
  168. package/protos/webui/service_loyaltyrewards.proto +252 -252
  169. package/protos/webui/service_marketingmessages.proto +184 -184
  170. package/protos/webui/service_mobileapp.proto +18 -18
  171. package/protos/webui/service_mobileauth.proto +24 -24
  172. package/protos/webui/service_mobiledevice.proto +26 -26
  173. package/protos/webui/service_mobileperaccount.proto +31 -31
  174. package/protos/webui/service_news.proto +101 -101
  175. package/protos/webui/service_parental.proto +178 -178
  176. package/protos/webui/service_partnermembershipinvite.proto +29 -29
  177. package/protos/webui/service_partnerstorebrowse.proto +6 -6
  178. package/protos/webui/service_phone.proto +51 -51
  179. package/protos/webui/service_physicalgoods.proto +15 -15
  180. package/protos/webui/service_player.proto +885 -885
  181. package/protos/webui/service_promotioneventinvites.proto +50 -50
  182. package/protos/webui/service_promotionplanning.proto +72 -72
  183. package/protos/webui/service_publishedfile.proto +687 -687
  184. package/protos/webui/service_publishing.proto +119 -119
  185. package/protos/webui/service_quest.proto +127 -127
  186. package/protos/webui/service_salefeature.proto +315 -315
  187. package/protos/webui/service_saleitemrewards.proto +54 -54
  188. package/protos/webui/service_shoppingcart.proto +108 -108
  189. package/protos/webui/service_steamawards.proto +19 -19
  190. package/protos/webui/service_steamcharts.proto +75 -75
  191. package/protos/webui/service_steamengine.proto +36 -36
  192. package/protos/webui/service_steamlearn.proto +727 -727
  193. package/protos/webui/service_steamnotification.proto +84 -84
  194. package/protos/webui/service_steamtv.proto +495 -495
  195. package/protos/webui/service_steamvrvoicechat.proto +67 -67
  196. package/protos/webui/service_steamvrwebrtc.proto +48 -48
  197. package/protos/webui/service_storagedevicemanager.proto +104 -104
  198. package/protos/webui/service_store.proto +289 -289
  199. package/protos/webui/service_storeappsimilarity.proto +76 -76
  200. package/protos/webui/service_storebrowse.proto +73 -73
  201. package/protos/webui/service_storequery.proto +97 -97
  202. package/protos/webui/service_storesales.proto +15 -15
  203. package/protos/webui/service_storetopsellers.proto +44 -44
  204. package/protos/webui/service_systemmanager.proto +11 -11
  205. package/protos/webui/service_test_transporterror.proto +6 -6
  206. package/protos/webui/service_transportauth.proto +12 -12
  207. package/protos/webui/service_transportvalidation.proto +69 -69
  208. package/protos/webui/service_twofactor.proto +181 -181
  209. package/protos/webui/service_useraccount.proto +138 -138
  210. package/protos/webui/service_usergameactivity.proto +34 -34
  211. package/protos/webui/service_usergamenotes.proto +53 -53
  212. package/protos/webui/service_usernews.proto +68 -68
  213. package/protos/webui/service_userreviews.proto +96 -96
  214. package/protos/webui/service_video.proto +128 -128
  215. package/protos/webui/service_voicechat.proto +139 -139
  216. package/protos/webui/service_webrtc.proto +52 -52
  217. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
@@ -1,562 +1,562 @@
1
- import "common_base.proto";
2
-
3
- message CBroadcast_BeginBroadcastSession_Request {
4
- optional int32 permission = 1;
5
- optional uint64 gameid = 2;
6
- optional uint64 client_instance_id = 3;
7
- optional string title = 4;
8
- optional uint32 cellid = 5;
9
- optional uint64 rtmp_token = 6;
10
- optional bool thumbnail_upload = 7;
11
- optional string client_beta = 8;
12
- optional uint32 sysid = 9;
13
- optional bool allow_webrtc = 10;
14
- }
15
-
16
- message CBroadcast_BeginBroadcastSession_Response {
17
- optional fixed64 broadcast_id = 1;
18
- optional string thumbnail_upload_address = 2;
19
- optional string thumbnail_upload_token = 3;
20
- optional uint32 thumbnail_interval_seconds = 4;
21
- optional uint32 heartbeat_interval_seconds = 5;
22
- }
23
-
24
- message CBroadcast_BroadcastChannelLive_Notification {
25
- optional fixed64 broadcast_channel_id = 1;
26
- optional string broadcast_channel_name = 2;
27
- optional string broadcast_channel_avatar = 3;
28
- }
29
-
30
- message CBroadcast_BroadcastStatus_Notification {
31
- optional fixed64 broadcast_id = 1;
32
- optional int32 num_viewers = 2;
33
- }
34
-
35
- message CBroadcast_BroadcastUploadStarted_Notification {
36
- optional fixed64 broadcast_id = 1;
37
- optional string upload_token = 2;
38
- optional string upload_address = 3;
39
- optional string http_address = 4;
40
- optional fixed64 broadcast_upload_id = 5;
41
- optional uint32 heartbeat_interval_seconds = 6;
42
- optional bool is_rtmp = 7;
43
- }
44
-
45
- message CBroadcast_BroadcastViewerState_Notification {
46
- optional fixed64 steamid = 1;
47
- optional int32 state = 2 [(.description) = "enum"];
48
- }
49
-
50
- message CBroadcast_EndBroadcastSession_Request {
51
- optional fixed64 broadcast_id = 1;
52
- }
53
-
54
- message CBroadcast_EndBroadcastSession_Response {
55
- }
56
-
57
- message CBroadcast_GetBroadcastChatInfo_Request {
58
- optional fixed64 steamid = 1;
59
- optional fixed64 broadcast_id = 2;
60
- optional uint32 client_ip = 3;
61
- optional uint32 client_cell = 4;
62
- }
63
-
64
- message CBroadcast_GetBroadcastChatInfo_Response {
65
- optional fixed64 chat_id = 1;
66
- optional string view_url_template = 3;
67
- repeated uint32 flair_group_ids = 4;
68
- }
69
-
70
- message CBroadcast_GetBroadcastChatUserNames_Request {
71
- optional fixed64 chat_id = 1;
72
- repeated fixed64 user_steamid = 2;
73
- }
74
-
75
- message CBroadcast_GetBroadcastChatUserNames_Response {
76
- repeated .CBroadcast_GetBroadcastChatUserNames_Response_PersonaName persona_names = 1;
77
- }
78
-
79
- message CBroadcast_GetBroadcastChatUserNames_Response_PersonaName {
80
- optional fixed64 steam_id = 1;
81
- optional string persona = 2;
82
- }
83
-
84
- message CBroadcast_GetBroadcastStatus_Request {
85
- optional fixed64 steamid = 1;
86
- optional fixed64 broadcast_id = 2;
87
- }
88
-
89
- message CBroadcast_GetBroadcastStatus_Response {
90
- optional uint64 gameid = 1;
91
- optional string title = 2;
92
- optional uint32 num_viewers = 3;
93
- optional int32 permission = 4;
94
- optional bool is_rtmp = 5;
95
- optional int32 seconds_delay = 6;
96
- optional bool is_publisher = 7;
97
- optional string thumbnail_url = 8;
98
- optional int32 update_interval = 9;
99
- optional bool is_uploading = 10;
100
- optional uint32 duration = 11;
101
- optional bool is_replay = 12;
102
- optional bool is_capturing_vod = 13;
103
- optional bool is_store_whitelisted = 14;
104
- }
105
-
106
- message CBroadcast_GetBroadcastThumbnail_Request {
107
- optional fixed64 steamid = 1;
108
- optional fixed64 broadcast_id = 2;
109
- }
110
-
111
- message CBroadcast_GetBroadcastThumbnail_Response {
112
- optional string thumbnail_url = 1;
113
- optional int32 update_interval = 2;
114
- optional int32 num_viewers = 3;
115
- optional int32 duration = 4;
116
- }
117
-
118
- message CBroadcast_GetBroadcastUploadStats_Request {
119
- optional uint32 row_limit = 1 [default = 100];
120
- optional uint32 start_time = 2 [default = 0];
121
- optional uint64 upload_id = 3;
122
- optional fixed64 steamid = 4;
123
- optional uint64 session_id = 5;
124
- }
125
-
126
- message CBroadcast_GetBroadcastUploadStats_Response {
127
- repeated .CBroadcast_GetBroadcastUploadStats_Response_UploadStats upload_stats = 1;
128
- }
129
-
130
- message CBroadcast_GetBroadcastUploadStats_Response_UploadStats {
131
- optional uint32 upload_result = 1;
132
- optional uint32 time_stopped = 2;
133
- optional uint32 seconds_uploaded = 3;
134
- optional uint32 max_viewers = 4;
135
- optional uint32 resolution_x = 5;
136
- optional uint32 resolution_y = 6;
137
- optional uint32 avg_bandwidth = 7;
138
- optional uint64 total_bytes = 8;
139
- optional uint32 app_id = 9;
140
- optional uint32 total_unique_viewers = 10;
141
- optional uint64 total_seconds_watched = 11;
142
- optional uint32 time_started = 12;
143
- optional uint64 upload_id = 13;
144
- optional string local_address = 14;
145
- optional string remote_address = 15;
146
- optional uint32 frames_per_second = 16;
147
- optional uint32 num_representations = 17;
148
- optional string app_name = 18;
149
- optional bool is_replay = 19;
150
- optional uint64 session_id = 20;
151
- }
152
-
153
- message CBroadcast_GetBroadcastViewerStats_Request {
154
- optional uint64 upload_id = 1;
155
- optional fixed64 steamid = 2;
156
- }
157
-
158
- message CBroadcast_GetBroadcastViewerStats_Response {
159
- repeated .CBroadcast_GetBroadcastViewerStats_Response_ViewerStats viewer_stats = 1;
160
- repeated .CBroadcast_GetBroadcastViewerStats_Response_CountryStats country_stats = 2;
161
- }
162
-
163
- message CBroadcast_GetBroadcastViewerStats_Response_CountryStats {
164
- optional string country_code = 1;
165
- optional uint32 num_viewers = 2;
166
- }
167
-
168
- message CBroadcast_GetBroadcastViewerStats_Response_ViewerStats {
169
- optional uint32 time = 1;
170
- optional uint32 num_viewers = 2;
171
- }
172
-
173
- message CBroadcast_GetBuildClipStatus_Request {
174
- optional fixed64 broadcast_clip_id = 1;
175
- }
176
-
177
- message CBroadcast_GetBuildClipStatus_Response {
178
- }
179
-
180
- message CBroadcast_GetClipDetails_Request {
181
- optional uint64 broadcast_clip_id = 1;
182
- }
183
-
184
- message CBroadcast_GetClipDetails_Response {
185
- optional uint64 broadcast_clip_id = 1;
186
- optional uint64 video_id = 2;
187
- optional uint64 channel_id = 3;
188
- optional uint32 app_id = 4;
189
- optional uint32 accountid_broadcaster = 5;
190
- optional uint32 accountid_clipmaker = 6;
191
- optional string video_description = 7;
192
- optional uint32 start_time = 8;
193
- optional uint32 length_milliseconds = 9;
194
- optional string thumbnail_path = 10;
195
- }
196
-
197
- message CBroadcast_GetRTMPInfo_Request {
198
- optional uint32 ip = 1;
199
- optional fixed64 steamid = 2;
200
- }
201
-
202
- message CBroadcast_GetRTMPInfo_Response {
203
- optional int32 broadcast_permission = 1;
204
- optional string rtmp_host = 2;
205
- optional string rtmp_token = 3;
206
- optional int32 broadcast_delay = 4;
207
- optional uint32 app_id = 5;
208
- optional uint32 required_app_id = 6;
209
- optional int32 broadcast_chat_permission = 7 [(.description) = "enum"];
210
- optional int32 broadcast_buffer = 8;
211
- optional fixed64 steamid = 9;
212
- optional uint32 chat_rate_limit = 10;
213
- optional bool enable_replay = 11;
214
- optional bool is_partner_chat_only = 12;
215
- optional string wordban_list = 13;
216
- }
217
-
218
- message CBroadcast_HeartbeatBroadcast_Notification {
219
- optional fixed64 steamid = 1;
220
- optional fixed64 broadcast_id = 2;
221
- optional fixed64 viewer_token = 3;
222
- optional uint32 representation = 4;
223
- }
224
-
225
- message CBroadcast_InviteToBroadcast_Request {
226
- optional fixed64 steamid = 1;
227
- optional bool approval_response = 2;
228
- }
229
-
230
- message CBroadcast_InviteToBroadcast_Response {
231
- optional bool success = 1;
232
- }
233
-
234
- message CBroadcast_MuteBroadcastChatUser_Request {
235
- optional fixed64 chat_id = 1;
236
- optional fixed64 user_steamid = 2;
237
- optional bool muted = 3;
238
- }
239
-
240
- message CBroadcast_MuteBroadcastChatUser_Response {
241
- }
242
-
243
- message CBroadcast_PostChatMessage_Request {
244
- optional fixed64 chat_id = 1;
245
- optional string message = 2;
246
- optional uint32 instance_id = 3;
247
- optional uint32 language = 4 [default = 0];
248
- optional string country_code = 5;
249
- }
250
-
251
- message CBroadcast_PostChatMessage_Response {
252
- optional string persona_name = 1;
253
- optional bool in_game = 2;
254
- optional int32 result = 3;
255
- optional int32 cooldown_time_seconds = 4;
256
- }
257
-
258
- message CBroadcast_RemoveUserChatText_Request {
259
- optional fixed64 chat_id = 1;
260
- optional fixed64 user_steamid = 2;
261
- }
262
-
263
- message CBroadcast_RemoveUserChatText_Response {
264
- }
265
-
266
- message CBroadcast_SendBroadcastStateToServer_Request {
267
- optional int32 permission = 1;
268
- optional uint64 gameid = 2;
269
- optional string title = 3;
270
- optional string game_data_config = 4;
271
- }
272
-
273
- message CBroadcast_SendBroadcastStateToServer_Response {
274
- }
275
-
276
- message CBroadcast_SendThumbnailToRelay_Notification {
277
- optional string thumbnail_upload_token = 1;
278
- optional fixed64 thumbnail_broadcast_session_id = 2;
279
- optional bytes thumbnail_data = 3;
280
- optional uint32 thumbnail_width = 4;
281
- optional uint32 thumbnail_height = 5;
282
- }
283
-
284
- message CBroadcast_SessionClosed_Notification {
285
- optional fixed64 broadcast_id = 1;
286
- }
287
-
288
- message CBroadcast_SetClipDetails_Request {
289
- optional uint64 broadcast_clip_id = 1;
290
- optional uint32 start_time = 2;
291
- optional uint32 end_time = 3;
292
- optional string video_description = 4;
293
- }
294
-
295
- message CBroadcast_SetClipDetails_Response {
296
- }
297
-
298
- message CBroadcast_SetRTMPInfo_Request {
299
- optional int32 broadcast_permission = 1;
300
- optional bool update_token = 2;
301
- optional int32 broadcast_delay = 3;
302
- optional uint32 app_id = 4;
303
- optional uint32 required_app_id = 5;
304
- optional int32 broadcast_chat_permission = 6 [default = 0, (.description) = "enum"];
305
- optional int32 broadcast_buffer = 7;
306
- optional fixed64 steamid = 8;
307
- optional uint32 chat_rate_limit = 9;
308
- optional bool enable_replay = 10;
309
- optional bool is_partner_chat_only = 11;
310
- optional string wordban_list = 12;
311
- }
312
-
313
- message CBroadcast_SetRTMPInfo_Response {
314
- }
315
-
316
- message CBroadcast_StartBroadcastUpload_Request {
317
- optional fixed64 broadcast_id = 1;
318
- optional uint32 cellid = 2;
319
- optional bool as_rtmp = 3;
320
- optional uint32 delay_seconds = 4;
321
- optional uint64 rtmp_token = 5 [default = 0];
322
- optional uint32 upload_ip_address = 6;
323
- optional bool is_replay = 7;
324
- optional uint32 sysid = 8;
325
- }
326
-
327
- message CBroadcast_StartBroadcastUpload_Response {
328
- optional string upload_token = 1;
329
- optional string upload_address = 2;
330
- optional fixed64 broadcast_upload_id = 3;
331
- optional bool enable_replay = 6;
332
- optional string http_address = 7;
333
- }
334
-
335
- message CBroadcast_StartBuildClip_Request {
336
- optional fixed64 steamid = 1;
337
- optional fixed64 broadcast_session_id = 2;
338
- optional int32 first_segment = 3;
339
- optional int32 num_segments = 4;
340
- optional string clip_description = 5;
341
- }
342
-
343
- message CBroadcast_StartBuildClip_Response {
344
- optional fixed64 broadcast_clip_id = 1;
345
- }
346
-
347
- message CBroadcast_StopBroadcastUpload_Notification {
348
- optional fixed64 broadcast_id = 1;
349
- optional fixed64 broadcast_relay_id = 2;
350
- optional uint32 upload_result = 3;
351
- optional bool too_many_poor_uploads = 4;
352
- }
353
-
354
- message CBroadcast_StopWatchingBroadcast_Notification {
355
- optional fixed64 steamid = 1;
356
- optional fixed64 broadcast_id = 2;
357
- optional fixed64 viewer_token = 3;
358
- }
359
-
360
- message CBroadcast_UpdateChatMessageFlair_Request {
361
- optional fixed64 chat_id = 1;
362
- optional string flair = 2;
363
- }
364
-
365
- message CBroadcast_UpdateChatMessageFlair_Response {
366
- optional int32 result = 1;
367
- optional fixed64 chat_id = 2;
368
- optional string flair = 3;
369
- }
370
-
371
- message CBroadcast_ViewerBroadcastInvite_Notification {
372
- optional fixed64 broadcaster_steamid = 1;
373
- }
374
-
375
- message CBroadcast_WaitingBroadcastViewer_Notification {
376
- optional fixed64 broadcast_id = 1;
377
- }
378
-
379
- message CBroadcast_WatchBroadcast_Request {
380
- optional fixed64 steamid = 1;
381
- optional fixed64 existing_broadcast_id = 2;
382
- optional fixed64 viewer_token = 3;
383
- optional uint32 client_ip = 4;
384
- optional uint32 client_cell = 5;
385
- optional int32 watch_location = 6 [(.description) = "enum"];
386
- optional bool is_webrtc = 7;
387
- }
388
-
389
- message CBroadcast_WatchBroadcast_Response {
390
- optional int32 response = 1 [(.description) = "enum"];
391
- optional string mpd_url = 2;
392
- optional fixed64 broadcast_id = 3;
393
- optional uint64 gameid = 4;
394
- optional string title = 5;
395
- optional uint32 num_viewers = 6;
396
- optional int32 permission = 7;
397
- optional bool is_rtmp = 8;
398
- optional int32 seconds_delay = 9;
399
- optional fixed64 viewer_token = 10;
400
- optional string hls_m3u8_master_url = 11;
401
- optional int32 heartbeat_interval = 12;
402
- optional string thumbnail_url = 13;
403
- optional bool is_webrtc = 14;
404
- optional fixed64 webrtc_session_id = 15;
405
- optional string webrtc_offer_sdp = 16;
406
- optional string webrtc_turn_server = 17;
407
- optional bool is_replay = 18;
408
- optional int32 duration = 19;
409
- optional string cdn_auth_url_parameters = 20;
410
- }
411
-
412
- message CBroadcast_WebRTC_Candidate {
413
- optional string sdp_mid = 1;
414
- optional int32 sdp_mline_index = 2;
415
- optional string candidate = 3;
416
- }
417
-
418
- message CBroadcast_WebRTCAddHostCandidate_Request {
419
- optional fixed64 webrtc_session_id = 1;
420
- optional .CBroadcast_WebRTC_Candidate candidate = 2;
421
- }
422
-
423
- message CBroadcast_WebRTCAddHostCandidate_Response {
424
- }
425
-
426
- message CBroadcast_WebRTCAddViewerCandidate_Notification {
427
- optional fixed64 broadcast_session_id = 1;
428
- optional fixed64 webrtc_session_id = 2;
429
- optional .CBroadcast_WebRTC_Candidate candidate = 3;
430
- }
431
-
432
- message CBroadcast_WebRTCAddViewerCandidate_Request {
433
- optional fixed64 broadcaster_steamid = 1;
434
- optional fixed64 webrtc_session_id = 2;
435
- optional .CBroadcast_WebRTC_Candidate candidate = 3;
436
- }
437
-
438
- message CBroadcast_WebRTCAddViewerCandidate_Response {
439
- }
440
-
441
- message CBroadcast_WebRTCGetHostCandidates_Request {
442
- optional fixed64 broadcaster_steamid = 1;
443
- optional fixed64 webrtc_session_id = 2;
444
- optional uint32 candidate_generation = 3;
445
- }
446
-
447
- message CBroadcast_WebRTCGetHostCandidates_Response {
448
- optional uint32 candidate_generation = 1;
449
- repeated .CBroadcast_WebRTC_Candidate candidates = 2;
450
- }
451
-
452
- message CBroadcast_WebRTCHaveTURNServer_Notification {
453
- optional fixed64 broadcast_session_id = 1;
454
- optional string turn_server = 2;
455
- }
456
-
457
- message CBroadcast_WebRTCLookupTURNServer_Request {
458
- optional uint32 cellid = 1;
459
- }
460
-
461
- message CBroadcast_WebRTCLookupTURNServer_Response {
462
- optional string turn_server = 1;
463
- }
464
-
465
- message CBroadcast_WebRTCNeedTURNServer_Notification {
466
- optional fixed64 broadcast_session_id = 1;
467
- }
468
-
469
- message CBroadcast_WebRTCSetAnswer_Notification {
470
- optional fixed64 broadcast_session_id = 1;
471
- optional fixed64 webrtc_session_id = 2;
472
- optional string answer = 3;
473
- }
474
-
475
- message CBroadcast_WebRTCSetAnswer_Request {
476
- optional fixed64 broadcaster_steamid = 1;
477
- optional fixed64 webrtc_session_id = 2;
478
- optional string answer = 3;
479
- }
480
-
481
- message CBroadcast_WebRTCSetAnswer_Response {
482
- }
483
-
484
- message CBroadcast_WebRTCStart_Notification {
485
- optional fixed64 broadcast_session_id = 1;
486
- optional fixed64 webrtc_session_id = 2;
487
- optional fixed64 viewer_steamid = 3;
488
- optional fixed64 viewer_token = 4;
489
- }
490
-
491
- message CBroadcast_WebRTCStartResult_Request {
492
- optional fixed64 webrtc_session_id = 1;
493
- optional bool started = 2;
494
- optional string offer = 3;
495
- optional uint32 resolution_x = 4;
496
- optional uint32 resolution_y = 5;
497
- optional uint32 fps = 6;
498
- }
499
-
500
- message CBroadcast_WebRTCStartResult_Response {
501
- }
502
-
503
- message CBroadcast_WebRTCStopped_Request {
504
- optional fixed64 webrtc_session_id = 1;
505
- }
506
-
507
- message CBroadcast_WebRTCStopped_Response {
508
- }
509
-
510
- service Broadcast {
511
- rpc BeginBroadcastSession (.CBroadcast_BeginBroadcastSession_Request) returns (.CBroadcast_BeginBroadcastSession_Response);
512
- rpc EndBroadcastSession (.CBroadcast_EndBroadcastSession_Request) returns (.CBroadcast_EndBroadcastSession_Response);
513
- rpc GetBroadcastChatInfo (.CBroadcast_GetBroadcastChatInfo_Request) returns (.CBroadcast_GetBroadcastChatInfo_Response);
514
- rpc GetBroadcastChatUserNames (.CBroadcast_GetBroadcastChatUserNames_Request) returns (.CBroadcast_GetBroadcastChatUserNames_Response);
515
- rpc GetBroadcastStatus (.CBroadcast_GetBroadcastStatus_Request) returns (.CBroadcast_GetBroadcastStatus_Response);
516
- rpc GetBroadcastThumbnail (.CBroadcast_GetBroadcastThumbnail_Request) returns (.CBroadcast_GetBroadcastThumbnail_Response);
517
- rpc GetBroadcastUploadStats (.CBroadcast_GetBroadcastUploadStats_Request) returns (.CBroadcast_GetBroadcastUploadStats_Response);
518
- rpc GetBroadcastViewerStats (.CBroadcast_GetBroadcastViewerStats_Request) returns (.CBroadcast_GetBroadcastViewerStats_Response);
519
- rpc GetBuildClipStatus (.CBroadcast_GetBuildClipStatus_Request) returns (.CBroadcast_GetBuildClipStatus_Response);
520
- rpc GetClipDetails (.CBroadcast_GetClipDetails_Request) returns (.CBroadcast_GetClipDetails_Response);
521
- rpc GetRTMPInfo (.CBroadcast_GetRTMPInfo_Request) returns (.CBroadcast_GetRTMPInfo_Response);
522
- rpc HeartbeatBroadcast (.CBroadcast_HeartbeatBroadcast_Notification) returns (.NoResponse);
523
- rpc InviteToBroadcast (.CBroadcast_InviteToBroadcast_Request) returns (.CBroadcast_InviteToBroadcast_Response);
524
- rpc MuteBroadcastChatUser (.CBroadcast_MuteBroadcastChatUser_Request) returns (.CBroadcast_MuteBroadcastChatUser_Response);
525
- rpc NotifyBroadcastSessionHeartbeat (.NotImplemented) returns (.NoResponse);
526
- rpc NotifyBroadcastUploadStop (.NotImplemented) returns (.NoResponse);
527
- rpc NotifyWebRTCHaveTURNServer (.CBroadcast_WebRTCHaveTURNServer_Notification) returns (.NoResponse);
528
- rpc PostChatMessage (.CBroadcast_PostChatMessage_Request) returns (.CBroadcast_PostChatMessage_Response);
529
- rpc RemoveUserChatText (.CBroadcast_RemoveUserChatText_Request) returns (.CBroadcast_RemoveUserChatText_Response);
530
- rpc SendBroadcastStateToServer (.CBroadcast_SendBroadcastStateToServer_Request) returns (.CBroadcast_SendBroadcastStateToServer_Response);
531
- rpc SetClipDetails (.CBroadcast_SetClipDetails_Request) returns (.CBroadcast_SetClipDetails_Response);
532
- rpc SetRTMPInfo (.CBroadcast_SetRTMPInfo_Request) returns (.CBroadcast_SetRTMPInfo_Response);
533
- rpc StartBroadcastUpload (.CBroadcast_StartBroadcastUpload_Request) returns (.CBroadcast_StartBroadcastUpload_Response);
534
- rpc StartBuildClip (.CBroadcast_StartBuildClip_Request) returns (.CBroadcast_StartBuildClip_Response);
535
- rpc StopWatchingBroadcast (.CBroadcast_StopWatchingBroadcast_Notification) returns (.NoResponse);
536
- rpc UpdateChatMessageFlair (.CBroadcast_UpdateChatMessageFlair_Request) returns (.CBroadcast_UpdateChatMessageFlair_Response);
537
- rpc WatchBroadcast (.CBroadcast_WatchBroadcast_Request) returns (.CBroadcast_WatchBroadcast_Response);
538
- rpc WebRTCAddHostCandidate (.CBroadcast_WebRTCAddHostCandidate_Request) returns (.CBroadcast_WebRTCAddHostCandidate_Response);
539
- rpc WebRTCAddViewerCandidate (.CBroadcast_WebRTCAddViewerCandidate_Request) returns (.CBroadcast_WebRTCAddViewerCandidate_Response);
540
- rpc WebRTCGetHostCandidates (.CBroadcast_WebRTCGetHostCandidates_Request) returns (.CBroadcast_WebRTCGetHostCandidates_Response);
541
- rpc WebRTCLookupTURNServer (.CBroadcast_WebRTCLookupTURNServer_Request) returns (.CBroadcast_WebRTCLookupTURNServer_Response);
542
- rpc WebRTCSetAnswer (.CBroadcast_WebRTCSetAnswer_Request) returns (.CBroadcast_WebRTCSetAnswer_Response);
543
- rpc WebRTCStartResult (.CBroadcast_WebRTCStartResult_Request) returns (.CBroadcast_WebRTCStartResult_Response);
544
- rpc WebRTCStopped (.CBroadcast_WebRTCStopped_Request) returns (.CBroadcast_WebRTCStopped_Response);
545
- }
546
-
547
- service BroadcastClient {
548
- rpc NotifyBroadcastChannelLive (.CBroadcast_BroadcastChannelLive_Notification) returns (.NoResponse);
549
- rpc NotifyBroadcastStatus (.CBroadcast_BroadcastStatus_Notification) returns (.NoResponse);
550
- rpc NotifyBroadcastUploadStarted (.CBroadcast_BroadcastUploadStarted_Notification) returns (.NoResponse);
551
- rpc NotifyBroadcastViewerState (.CBroadcast_BroadcastViewerState_Notification) returns (.NoResponse);
552
- rpc NotifySessionClosed (.CBroadcast_SessionClosed_Notification) returns (.NoResponse);
553
- rpc NotifyStopBroadcastUpload (.CBroadcast_StopBroadcastUpload_Notification) returns (.NoResponse);
554
- rpc NotifyViewerBroadcastInvite (.CBroadcast_ViewerBroadcastInvite_Notification) returns (.NoResponse);
555
- rpc NotifyWaitingBroadcastViewer (.CBroadcast_WaitingBroadcastViewer_Notification) returns (.NoResponse);
556
- rpc NotifyWebRTCAddViewerCandidate (.CBroadcast_WebRTCAddViewerCandidate_Notification) returns (.NoResponse);
557
- rpc NotifyWebRTCNeedTURNServer (.CBroadcast_WebRTCNeedTURNServer_Notification) returns (.NoResponse);
558
- rpc NotifyWebRTCSetAnswer (.CBroadcast_WebRTCSetAnswer_Notification) returns (.NoResponse);
559
- rpc NotifyWebRTCStart (.CBroadcast_WebRTCStart_Notification) returns (.NoResponse);
560
- rpc SendThumbnailToRelay (.CBroadcast_SendThumbnailToRelay_Notification) returns (.NoResponse);
561
- }
562
-
1
+ import "common_base.proto";
2
+
3
+ message CBroadcast_BeginBroadcastSession_Request {
4
+ optional int32 permission = 1;
5
+ optional uint64 gameid = 2;
6
+ optional uint64 client_instance_id = 3;
7
+ optional string title = 4;
8
+ optional uint32 cellid = 5;
9
+ optional uint64 rtmp_token = 6;
10
+ optional bool thumbnail_upload = 7;
11
+ optional string client_beta = 8;
12
+ optional uint32 sysid = 9;
13
+ optional bool allow_webrtc = 10;
14
+ }
15
+
16
+ message CBroadcast_BeginBroadcastSession_Response {
17
+ optional fixed64 broadcast_id = 1;
18
+ optional string thumbnail_upload_address = 2;
19
+ optional string thumbnail_upload_token = 3;
20
+ optional uint32 thumbnail_interval_seconds = 4;
21
+ optional uint32 heartbeat_interval_seconds = 5;
22
+ }
23
+
24
+ message CBroadcast_BroadcastChannelLive_Notification {
25
+ optional fixed64 broadcast_channel_id = 1;
26
+ optional string broadcast_channel_name = 2;
27
+ optional string broadcast_channel_avatar = 3;
28
+ }
29
+
30
+ message CBroadcast_BroadcastStatus_Notification {
31
+ optional fixed64 broadcast_id = 1;
32
+ optional int32 num_viewers = 2;
33
+ }
34
+
35
+ message CBroadcast_BroadcastUploadStarted_Notification {
36
+ optional fixed64 broadcast_id = 1;
37
+ optional string upload_token = 2;
38
+ optional string upload_address = 3;
39
+ optional string http_address = 4;
40
+ optional fixed64 broadcast_upload_id = 5;
41
+ optional uint32 heartbeat_interval_seconds = 6;
42
+ optional bool is_rtmp = 7;
43
+ }
44
+
45
+ message CBroadcast_BroadcastViewerState_Notification {
46
+ optional fixed64 steamid = 1;
47
+ optional int32 state = 2 [(.description) = "enum"];
48
+ }
49
+
50
+ message CBroadcast_EndBroadcastSession_Request {
51
+ optional fixed64 broadcast_id = 1;
52
+ }
53
+
54
+ message CBroadcast_EndBroadcastSession_Response {
55
+ }
56
+
57
+ message CBroadcast_GetBroadcastChatInfo_Request {
58
+ optional fixed64 steamid = 1;
59
+ optional fixed64 broadcast_id = 2;
60
+ optional uint32 client_ip = 3;
61
+ optional uint32 client_cell = 4;
62
+ }
63
+
64
+ message CBroadcast_GetBroadcastChatInfo_Response {
65
+ optional fixed64 chat_id = 1;
66
+ optional string view_url_template = 3;
67
+ repeated uint32 flair_group_ids = 4;
68
+ }
69
+
70
+ message CBroadcast_GetBroadcastChatUserNames_Request {
71
+ optional fixed64 chat_id = 1;
72
+ repeated fixed64 user_steamid = 2;
73
+ }
74
+
75
+ message CBroadcast_GetBroadcastChatUserNames_Response {
76
+ repeated .CBroadcast_GetBroadcastChatUserNames_Response_PersonaName persona_names = 1;
77
+ }
78
+
79
+ message CBroadcast_GetBroadcastChatUserNames_Response_PersonaName {
80
+ optional fixed64 steam_id = 1;
81
+ optional string persona = 2;
82
+ }
83
+
84
+ message CBroadcast_GetBroadcastStatus_Request {
85
+ optional fixed64 steamid = 1;
86
+ optional fixed64 broadcast_id = 2;
87
+ }
88
+
89
+ message CBroadcast_GetBroadcastStatus_Response {
90
+ optional uint64 gameid = 1;
91
+ optional string title = 2;
92
+ optional uint32 num_viewers = 3;
93
+ optional int32 permission = 4;
94
+ optional bool is_rtmp = 5;
95
+ optional int32 seconds_delay = 6;
96
+ optional bool is_publisher = 7;
97
+ optional string thumbnail_url = 8;
98
+ optional int32 update_interval = 9;
99
+ optional bool is_uploading = 10;
100
+ optional uint32 duration = 11;
101
+ optional bool is_replay = 12;
102
+ optional bool is_capturing_vod = 13;
103
+ optional bool is_store_whitelisted = 14;
104
+ }
105
+
106
+ message CBroadcast_GetBroadcastThumbnail_Request {
107
+ optional fixed64 steamid = 1;
108
+ optional fixed64 broadcast_id = 2;
109
+ }
110
+
111
+ message CBroadcast_GetBroadcastThumbnail_Response {
112
+ optional string thumbnail_url = 1;
113
+ optional int32 update_interval = 2;
114
+ optional int32 num_viewers = 3;
115
+ optional int32 duration = 4;
116
+ }
117
+
118
+ message CBroadcast_GetBroadcastUploadStats_Request {
119
+ optional uint32 row_limit = 1 [default = 100];
120
+ optional uint32 start_time = 2 [default = 0];
121
+ optional uint64 upload_id = 3;
122
+ optional fixed64 steamid = 4;
123
+ optional uint64 session_id = 5;
124
+ }
125
+
126
+ message CBroadcast_GetBroadcastUploadStats_Response {
127
+ repeated .CBroadcast_GetBroadcastUploadStats_Response_UploadStats upload_stats = 1;
128
+ }
129
+
130
+ message CBroadcast_GetBroadcastUploadStats_Response_UploadStats {
131
+ optional uint32 upload_result = 1;
132
+ optional uint32 time_stopped = 2;
133
+ optional uint32 seconds_uploaded = 3;
134
+ optional uint32 max_viewers = 4;
135
+ optional uint32 resolution_x = 5;
136
+ optional uint32 resolution_y = 6;
137
+ optional uint32 avg_bandwidth = 7;
138
+ optional uint64 total_bytes = 8;
139
+ optional uint32 app_id = 9;
140
+ optional uint32 total_unique_viewers = 10;
141
+ optional uint64 total_seconds_watched = 11;
142
+ optional uint32 time_started = 12;
143
+ optional uint64 upload_id = 13;
144
+ optional string local_address = 14;
145
+ optional string remote_address = 15;
146
+ optional uint32 frames_per_second = 16;
147
+ optional uint32 num_representations = 17;
148
+ optional string app_name = 18;
149
+ optional bool is_replay = 19;
150
+ optional uint64 session_id = 20;
151
+ }
152
+
153
+ message CBroadcast_GetBroadcastViewerStats_Request {
154
+ optional uint64 upload_id = 1;
155
+ optional fixed64 steamid = 2;
156
+ }
157
+
158
+ message CBroadcast_GetBroadcastViewerStats_Response {
159
+ repeated .CBroadcast_GetBroadcastViewerStats_Response_ViewerStats viewer_stats = 1;
160
+ repeated .CBroadcast_GetBroadcastViewerStats_Response_CountryStats country_stats = 2;
161
+ }
162
+
163
+ message CBroadcast_GetBroadcastViewerStats_Response_CountryStats {
164
+ optional string country_code = 1;
165
+ optional uint32 num_viewers = 2;
166
+ }
167
+
168
+ message CBroadcast_GetBroadcastViewerStats_Response_ViewerStats {
169
+ optional uint32 time = 1;
170
+ optional uint32 num_viewers = 2;
171
+ }
172
+
173
+ message CBroadcast_GetBuildClipStatus_Request {
174
+ optional fixed64 broadcast_clip_id = 1;
175
+ }
176
+
177
+ message CBroadcast_GetBuildClipStatus_Response {
178
+ }
179
+
180
+ message CBroadcast_GetClipDetails_Request {
181
+ optional uint64 broadcast_clip_id = 1;
182
+ }
183
+
184
+ message CBroadcast_GetClipDetails_Response {
185
+ optional uint64 broadcast_clip_id = 1;
186
+ optional uint64 video_id = 2;
187
+ optional uint64 channel_id = 3;
188
+ optional uint32 app_id = 4;
189
+ optional uint32 accountid_broadcaster = 5;
190
+ optional uint32 accountid_clipmaker = 6;
191
+ optional string video_description = 7;
192
+ optional uint32 start_time = 8;
193
+ optional uint32 length_milliseconds = 9;
194
+ optional string thumbnail_path = 10;
195
+ }
196
+
197
+ message CBroadcast_GetRTMPInfo_Request {
198
+ optional uint32 ip = 1;
199
+ optional fixed64 steamid = 2;
200
+ }
201
+
202
+ message CBroadcast_GetRTMPInfo_Response {
203
+ optional int32 broadcast_permission = 1;
204
+ optional string rtmp_host = 2;
205
+ optional string rtmp_token = 3;
206
+ optional int32 broadcast_delay = 4;
207
+ optional uint32 app_id = 5;
208
+ optional uint32 required_app_id = 6;
209
+ optional int32 broadcast_chat_permission = 7 [(.description) = "enum"];
210
+ optional int32 broadcast_buffer = 8;
211
+ optional fixed64 steamid = 9;
212
+ optional uint32 chat_rate_limit = 10;
213
+ optional bool enable_replay = 11;
214
+ optional bool is_partner_chat_only = 12;
215
+ optional string wordban_list = 13;
216
+ }
217
+
218
+ message CBroadcast_HeartbeatBroadcast_Notification {
219
+ optional fixed64 steamid = 1;
220
+ optional fixed64 broadcast_id = 2;
221
+ optional fixed64 viewer_token = 3;
222
+ optional uint32 representation = 4;
223
+ }
224
+
225
+ message CBroadcast_InviteToBroadcast_Request {
226
+ optional fixed64 steamid = 1;
227
+ optional bool approval_response = 2;
228
+ }
229
+
230
+ message CBroadcast_InviteToBroadcast_Response {
231
+ optional bool success = 1;
232
+ }
233
+
234
+ message CBroadcast_MuteBroadcastChatUser_Request {
235
+ optional fixed64 chat_id = 1;
236
+ optional fixed64 user_steamid = 2;
237
+ optional bool muted = 3;
238
+ }
239
+
240
+ message CBroadcast_MuteBroadcastChatUser_Response {
241
+ }
242
+
243
+ message CBroadcast_PostChatMessage_Request {
244
+ optional fixed64 chat_id = 1;
245
+ optional string message = 2;
246
+ optional uint32 instance_id = 3;
247
+ optional uint32 language = 4 [default = 0];
248
+ optional string country_code = 5;
249
+ }
250
+
251
+ message CBroadcast_PostChatMessage_Response {
252
+ optional string persona_name = 1;
253
+ optional bool in_game = 2;
254
+ optional int32 result = 3;
255
+ optional int32 cooldown_time_seconds = 4;
256
+ }
257
+
258
+ message CBroadcast_RemoveUserChatText_Request {
259
+ optional fixed64 chat_id = 1;
260
+ optional fixed64 user_steamid = 2;
261
+ }
262
+
263
+ message CBroadcast_RemoveUserChatText_Response {
264
+ }
265
+
266
+ message CBroadcast_SendBroadcastStateToServer_Request {
267
+ optional int32 permission = 1;
268
+ optional uint64 gameid = 2;
269
+ optional string title = 3;
270
+ optional string game_data_config = 4;
271
+ }
272
+
273
+ message CBroadcast_SendBroadcastStateToServer_Response {
274
+ }
275
+
276
+ message CBroadcast_SendThumbnailToRelay_Notification {
277
+ optional string thumbnail_upload_token = 1;
278
+ optional fixed64 thumbnail_broadcast_session_id = 2;
279
+ optional bytes thumbnail_data = 3;
280
+ optional uint32 thumbnail_width = 4;
281
+ optional uint32 thumbnail_height = 5;
282
+ }
283
+
284
+ message CBroadcast_SessionClosed_Notification {
285
+ optional fixed64 broadcast_id = 1;
286
+ }
287
+
288
+ message CBroadcast_SetClipDetails_Request {
289
+ optional uint64 broadcast_clip_id = 1;
290
+ optional uint32 start_time = 2;
291
+ optional uint32 end_time = 3;
292
+ optional string video_description = 4;
293
+ }
294
+
295
+ message CBroadcast_SetClipDetails_Response {
296
+ }
297
+
298
+ message CBroadcast_SetRTMPInfo_Request {
299
+ optional int32 broadcast_permission = 1;
300
+ optional bool update_token = 2;
301
+ optional int32 broadcast_delay = 3;
302
+ optional uint32 app_id = 4;
303
+ optional uint32 required_app_id = 5;
304
+ optional int32 broadcast_chat_permission = 6 [default = 0, (.description) = "enum"];
305
+ optional int32 broadcast_buffer = 7;
306
+ optional fixed64 steamid = 8;
307
+ optional uint32 chat_rate_limit = 9;
308
+ optional bool enable_replay = 10;
309
+ optional bool is_partner_chat_only = 11;
310
+ optional string wordban_list = 12;
311
+ }
312
+
313
+ message CBroadcast_SetRTMPInfo_Response {
314
+ }
315
+
316
+ message CBroadcast_StartBroadcastUpload_Request {
317
+ optional fixed64 broadcast_id = 1;
318
+ optional uint32 cellid = 2;
319
+ optional bool as_rtmp = 3;
320
+ optional uint32 delay_seconds = 4;
321
+ optional uint64 rtmp_token = 5 [default = 0];
322
+ optional uint32 upload_ip_address = 6;
323
+ optional bool is_replay = 7;
324
+ optional uint32 sysid = 8;
325
+ }
326
+
327
+ message CBroadcast_StartBroadcastUpload_Response {
328
+ optional string upload_token = 1;
329
+ optional string upload_address = 2;
330
+ optional fixed64 broadcast_upload_id = 3;
331
+ optional bool enable_replay = 6;
332
+ optional string http_address = 7;
333
+ }
334
+
335
+ message CBroadcast_StartBuildClip_Request {
336
+ optional fixed64 steamid = 1;
337
+ optional fixed64 broadcast_session_id = 2;
338
+ optional int32 first_segment = 3;
339
+ optional int32 num_segments = 4;
340
+ optional string clip_description = 5;
341
+ }
342
+
343
+ message CBroadcast_StartBuildClip_Response {
344
+ optional fixed64 broadcast_clip_id = 1;
345
+ }
346
+
347
+ message CBroadcast_StopBroadcastUpload_Notification {
348
+ optional fixed64 broadcast_id = 1;
349
+ optional fixed64 broadcast_relay_id = 2;
350
+ optional uint32 upload_result = 3;
351
+ optional bool too_many_poor_uploads = 4;
352
+ }
353
+
354
+ message CBroadcast_StopWatchingBroadcast_Notification {
355
+ optional fixed64 steamid = 1;
356
+ optional fixed64 broadcast_id = 2;
357
+ optional fixed64 viewer_token = 3;
358
+ }
359
+
360
+ message CBroadcast_UpdateChatMessageFlair_Request {
361
+ optional fixed64 chat_id = 1;
362
+ optional string flair = 2;
363
+ }
364
+
365
+ message CBroadcast_UpdateChatMessageFlair_Response {
366
+ optional int32 result = 1;
367
+ optional fixed64 chat_id = 2;
368
+ optional string flair = 3;
369
+ }
370
+
371
+ message CBroadcast_ViewerBroadcastInvite_Notification {
372
+ optional fixed64 broadcaster_steamid = 1;
373
+ }
374
+
375
+ message CBroadcast_WaitingBroadcastViewer_Notification {
376
+ optional fixed64 broadcast_id = 1;
377
+ }
378
+
379
+ message CBroadcast_WatchBroadcast_Request {
380
+ optional fixed64 steamid = 1;
381
+ optional fixed64 existing_broadcast_id = 2;
382
+ optional fixed64 viewer_token = 3;
383
+ optional uint32 client_ip = 4;
384
+ optional uint32 client_cell = 5;
385
+ optional int32 watch_location = 6 [(.description) = "enum"];
386
+ optional bool is_webrtc = 7;
387
+ }
388
+
389
+ message CBroadcast_WatchBroadcast_Response {
390
+ optional int32 response = 1 [(.description) = "enum"];
391
+ optional string mpd_url = 2;
392
+ optional fixed64 broadcast_id = 3;
393
+ optional uint64 gameid = 4;
394
+ optional string title = 5;
395
+ optional uint32 num_viewers = 6;
396
+ optional int32 permission = 7;
397
+ optional bool is_rtmp = 8;
398
+ optional int32 seconds_delay = 9;
399
+ optional fixed64 viewer_token = 10;
400
+ optional string hls_m3u8_master_url = 11;
401
+ optional int32 heartbeat_interval = 12;
402
+ optional string thumbnail_url = 13;
403
+ optional bool is_webrtc = 14;
404
+ optional fixed64 webrtc_session_id = 15;
405
+ optional string webrtc_offer_sdp = 16;
406
+ optional string webrtc_turn_server = 17;
407
+ optional bool is_replay = 18;
408
+ optional int32 duration = 19;
409
+ optional string cdn_auth_url_parameters = 20;
410
+ }
411
+
412
+ message CBroadcast_WebRTC_Candidate {
413
+ optional string sdp_mid = 1;
414
+ optional int32 sdp_mline_index = 2;
415
+ optional string candidate = 3;
416
+ }
417
+
418
+ message CBroadcast_WebRTCAddHostCandidate_Request {
419
+ optional fixed64 webrtc_session_id = 1;
420
+ optional .CBroadcast_WebRTC_Candidate candidate = 2;
421
+ }
422
+
423
+ message CBroadcast_WebRTCAddHostCandidate_Response {
424
+ }
425
+
426
+ message CBroadcast_WebRTCAddViewerCandidate_Notification {
427
+ optional fixed64 broadcast_session_id = 1;
428
+ optional fixed64 webrtc_session_id = 2;
429
+ optional .CBroadcast_WebRTC_Candidate candidate = 3;
430
+ }
431
+
432
+ message CBroadcast_WebRTCAddViewerCandidate_Request {
433
+ optional fixed64 broadcaster_steamid = 1;
434
+ optional fixed64 webrtc_session_id = 2;
435
+ optional .CBroadcast_WebRTC_Candidate candidate = 3;
436
+ }
437
+
438
+ message CBroadcast_WebRTCAddViewerCandidate_Response {
439
+ }
440
+
441
+ message CBroadcast_WebRTCGetHostCandidates_Request {
442
+ optional fixed64 broadcaster_steamid = 1;
443
+ optional fixed64 webrtc_session_id = 2;
444
+ optional uint32 candidate_generation = 3;
445
+ }
446
+
447
+ message CBroadcast_WebRTCGetHostCandidates_Response {
448
+ optional uint32 candidate_generation = 1;
449
+ repeated .CBroadcast_WebRTC_Candidate candidates = 2;
450
+ }
451
+
452
+ message CBroadcast_WebRTCHaveTURNServer_Notification {
453
+ optional fixed64 broadcast_session_id = 1;
454
+ optional string turn_server = 2;
455
+ }
456
+
457
+ message CBroadcast_WebRTCLookupTURNServer_Request {
458
+ optional uint32 cellid = 1;
459
+ }
460
+
461
+ message CBroadcast_WebRTCLookupTURNServer_Response {
462
+ optional string turn_server = 1;
463
+ }
464
+
465
+ message CBroadcast_WebRTCNeedTURNServer_Notification {
466
+ optional fixed64 broadcast_session_id = 1;
467
+ }
468
+
469
+ message CBroadcast_WebRTCSetAnswer_Notification {
470
+ optional fixed64 broadcast_session_id = 1;
471
+ optional fixed64 webrtc_session_id = 2;
472
+ optional string answer = 3;
473
+ }
474
+
475
+ message CBroadcast_WebRTCSetAnswer_Request {
476
+ optional fixed64 broadcaster_steamid = 1;
477
+ optional fixed64 webrtc_session_id = 2;
478
+ optional string answer = 3;
479
+ }
480
+
481
+ message CBroadcast_WebRTCSetAnswer_Response {
482
+ }
483
+
484
+ message CBroadcast_WebRTCStart_Notification {
485
+ optional fixed64 broadcast_session_id = 1;
486
+ optional fixed64 webrtc_session_id = 2;
487
+ optional fixed64 viewer_steamid = 3;
488
+ optional fixed64 viewer_token = 4;
489
+ }
490
+
491
+ message CBroadcast_WebRTCStartResult_Request {
492
+ optional fixed64 webrtc_session_id = 1;
493
+ optional bool started = 2;
494
+ optional string offer = 3;
495
+ optional uint32 resolution_x = 4;
496
+ optional uint32 resolution_y = 5;
497
+ optional uint32 fps = 6;
498
+ }
499
+
500
+ message CBroadcast_WebRTCStartResult_Response {
501
+ }
502
+
503
+ message CBroadcast_WebRTCStopped_Request {
504
+ optional fixed64 webrtc_session_id = 1;
505
+ }
506
+
507
+ message CBroadcast_WebRTCStopped_Response {
508
+ }
509
+
510
+ service Broadcast {
511
+ rpc BeginBroadcastSession (.CBroadcast_BeginBroadcastSession_Request) returns (.CBroadcast_BeginBroadcastSession_Response);
512
+ rpc EndBroadcastSession (.CBroadcast_EndBroadcastSession_Request) returns (.CBroadcast_EndBroadcastSession_Response);
513
+ rpc GetBroadcastChatInfo (.CBroadcast_GetBroadcastChatInfo_Request) returns (.CBroadcast_GetBroadcastChatInfo_Response);
514
+ rpc GetBroadcastChatUserNames (.CBroadcast_GetBroadcastChatUserNames_Request) returns (.CBroadcast_GetBroadcastChatUserNames_Response);
515
+ rpc GetBroadcastStatus (.CBroadcast_GetBroadcastStatus_Request) returns (.CBroadcast_GetBroadcastStatus_Response);
516
+ rpc GetBroadcastThumbnail (.CBroadcast_GetBroadcastThumbnail_Request) returns (.CBroadcast_GetBroadcastThumbnail_Response);
517
+ rpc GetBroadcastUploadStats (.CBroadcast_GetBroadcastUploadStats_Request) returns (.CBroadcast_GetBroadcastUploadStats_Response);
518
+ rpc GetBroadcastViewerStats (.CBroadcast_GetBroadcastViewerStats_Request) returns (.CBroadcast_GetBroadcastViewerStats_Response);
519
+ rpc GetBuildClipStatus (.CBroadcast_GetBuildClipStatus_Request) returns (.CBroadcast_GetBuildClipStatus_Response);
520
+ rpc GetClipDetails (.CBroadcast_GetClipDetails_Request) returns (.CBroadcast_GetClipDetails_Response);
521
+ rpc GetRTMPInfo (.CBroadcast_GetRTMPInfo_Request) returns (.CBroadcast_GetRTMPInfo_Response);
522
+ rpc HeartbeatBroadcast (.CBroadcast_HeartbeatBroadcast_Notification) returns (.NoResponse);
523
+ rpc InviteToBroadcast (.CBroadcast_InviteToBroadcast_Request) returns (.CBroadcast_InviteToBroadcast_Response);
524
+ rpc MuteBroadcastChatUser (.CBroadcast_MuteBroadcastChatUser_Request) returns (.CBroadcast_MuteBroadcastChatUser_Response);
525
+ rpc NotifyBroadcastSessionHeartbeat (.NotImplemented) returns (.NoResponse);
526
+ rpc NotifyBroadcastUploadStop (.NotImplemented) returns (.NoResponse);
527
+ rpc NotifyWebRTCHaveTURNServer (.CBroadcast_WebRTCHaveTURNServer_Notification) returns (.NoResponse);
528
+ rpc PostChatMessage (.CBroadcast_PostChatMessage_Request) returns (.CBroadcast_PostChatMessage_Response);
529
+ rpc RemoveUserChatText (.CBroadcast_RemoveUserChatText_Request) returns (.CBroadcast_RemoveUserChatText_Response);
530
+ rpc SendBroadcastStateToServer (.CBroadcast_SendBroadcastStateToServer_Request) returns (.CBroadcast_SendBroadcastStateToServer_Response);
531
+ rpc SetClipDetails (.CBroadcast_SetClipDetails_Request) returns (.CBroadcast_SetClipDetails_Response);
532
+ rpc SetRTMPInfo (.CBroadcast_SetRTMPInfo_Request) returns (.CBroadcast_SetRTMPInfo_Response);
533
+ rpc StartBroadcastUpload (.CBroadcast_StartBroadcastUpload_Request) returns (.CBroadcast_StartBroadcastUpload_Response);
534
+ rpc StartBuildClip (.CBroadcast_StartBuildClip_Request) returns (.CBroadcast_StartBuildClip_Response);
535
+ rpc StopWatchingBroadcast (.CBroadcast_StopWatchingBroadcast_Notification) returns (.NoResponse);
536
+ rpc UpdateChatMessageFlair (.CBroadcast_UpdateChatMessageFlair_Request) returns (.CBroadcast_UpdateChatMessageFlair_Response);
537
+ rpc WatchBroadcast (.CBroadcast_WatchBroadcast_Request) returns (.CBroadcast_WatchBroadcast_Response);
538
+ rpc WebRTCAddHostCandidate (.CBroadcast_WebRTCAddHostCandidate_Request) returns (.CBroadcast_WebRTCAddHostCandidate_Response);
539
+ rpc WebRTCAddViewerCandidate (.CBroadcast_WebRTCAddViewerCandidate_Request) returns (.CBroadcast_WebRTCAddViewerCandidate_Response);
540
+ rpc WebRTCGetHostCandidates (.CBroadcast_WebRTCGetHostCandidates_Request) returns (.CBroadcast_WebRTCGetHostCandidates_Response);
541
+ rpc WebRTCLookupTURNServer (.CBroadcast_WebRTCLookupTURNServer_Request) returns (.CBroadcast_WebRTCLookupTURNServer_Response);
542
+ rpc WebRTCSetAnswer (.CBroadcast_WebRTCSetAnswer_Request) returns (.CBroadcast_WebRTCSetAnswer_Response);
543
+ rpc WebRTCStartResult (.CBroadcast_WebRTCStartResult_Request) returns (.CBroadcast_WebRTCStartResult_Response);
544
+ rpc WebRTCStopped (.CBroadcast_WebRTCStopped_Request) returns (.CBroadcast_WebRTCStopped_Response);
545
+ }
546
+
547
+ service BroadcastClient {
548
+ rpc NotifyBroadcastChannelLive (.CBroadcast_BroadcastChannelLive_Notification) returns (.NoResponse);
549
+ rpc NotifyBroadcastStatus (.CBroadcast_BroadcastStatus_Notification) returns (.NoResponse);
550
+ rpc NotifyBroadcastUploadStarted (.CBroadcast_BroadcastUploadStarted_Notification) returns (.NoResponse);
551
+ rpc NotifyBroadcastViewerState (.CBroadcast_BroadcastViewerState_Notification) returns (.NoResponse);
552
+ rpc NotifySessionClosed (.CBroadcast_SessionClosed_Notification) returns (.NoResponse);
553
+ rpc NotifyStopBroadcastUpload (.CBroadcast_StopBroadcastUpload_Notification) returns (.NoResponse);
554
+ rpc NotifyViewerBroadcastInvite (.CBroadcast_ViewerBroadcastInvite_Notification) returns (.NoResponse);
555
+ rpc NotifyWaitingBroadcastViewer (.CBroadcast_WaitingBroadcastViewer_Notification) returns (.NoResponse);
556
+ rpc NotifyWebRTCAddViewerCandidate (.CBroadcast_WebRTCAddViewerCandidate_Notification) returns (.NoResponse);
557
+ rpc NotifyWebRTCNeedTURNServer (.CBroadcast_WebRTCNeedTURNServer_Notification) returns (.NoResponse);
558
+ rpc NotifyWebRTCSetAnswer (.CBroadcast_WebRTCSetAnswer_Notification) returns (.NoResponse);
559
+ rpc NotifyWebRTCStart (.CBroadcast_WebRTCStart_Notification) returns (.NoResponse);
560
+ rpc SendThumbnailToRelay (.CBroadcast_SendThumbnailToRelay_Notification) returns (.NoResponse);
561
+ }
562
+