steamutils 1.3.64 → 1.3.66

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. package/SteamClient.js +12 -10
  2. package/index.js +96 -0
  3. package/package.json +2 -2
  4. package/protos/csgo/base_gcmessages.proto +553 -0
  5. package/protos/csgo/connectionless_netmessages.proto +0 -2
  6. package/protos/csgo/cs_gameevents.proto +1 -0
  7. package/protos/csgo/cstrike15_gcmessages.proto +41 -12
  8. package/protos/csgo/cstrike15_usermessages.proto +0 -4
  9. package/protos/csgo/demo.proto +5 -0
  10. package/protos/csgo/econ_gcmessages.proto +0 -9
  11. package/protos/csgo/gcsdk_gcmessages.proto +2 -2
  12. package/protos/csgo/gcsystemmsgs.proto +1 -0
  13. package/protos/csgo/netmessages.proto +22 -8
  14. package/protos/csgo/networkbasetypes.proto +2 -0
  15. package/protos/csgo/steammessages.proto +23 -0
  16. package/protos/csgo/usercmd.proto +2 -1
  17. package/protos/csgo/usermessages.proto +31 -0
  18. package/protos/steam/enums.proto +58 -1
  19. package/protos/steam/enums_clientserver.proto +3 -34
  20. package/protos/steam/enums_productinfo.proto +1 -0
  21. package/protos/steam/htmlmessages.proto +12 -0
  22. package/protos/steam/steamdatagram_messages_sdr.proto +1 -1
  23. package/protos/steam/steammessages_accounthardware.steamclient.proto +18 -52
  24. package/protos/steam/steammessages_appoverview.proto +18 -1
  25. package/protos/steam/steammessages_auth.steamclient.proto +128 -188
  26. package/protos/steam/steammessages_base.proto +3 -0
  27. package/protos/steam/steammessages_broadcast.steamclient.proto +126 -267
  28. package/protos/steam/steammessages_chat.steamclient.proto +79 -290
  29. package/protos/steam/steammessages_client_objects.proto +4 -0
  30. package/protos/steam/steammessages_clientlanp2p.proto +1 -0
  31. package/protos/steam/steammessages_clientmetrics.steamclient.proto +0 -2
  32. package/protos/steam/steammessages_clientnotificationtypes.proto +19 -0
  33. package/protos/steam/steammessages_clientserver_2.proto +11 -0
  34. package/protos/steam/steammessages_clientserver_login.proto +1 -1
  35. package/protos/steam/steammessages_clientserver_mms.proto +228 -235
  36. package/protos/steam/steammessages_clientserver_ucm.proto +2 -0
  37. package/protos/steam/steammessages_clientserver_uds.proto +1 -0
  38. package/protos/steam/steammessages_clientserver_ufs.proto +0 -127
  39. package/protos/steam/steammessages_clientsettings.proto +46 -6
  40. package/protos/steam/steammessages_cloud.steamclient.proto +158 -249
  41. package/protos/steam/steammessages_contentsystem.steamclient.proto +16 -8
  42. package/protos/steam/steammessages_credentials.steamclient.proto +7 -26
  43. package/protos/steam/steammessages_datapublisher.steamclient.proto +30 -44
  44. package/protos/steam/steammessages_depotbuilder.steamclient.proto +6 -25
  45. package/protos/steam/steammessages_deviceauth.steamclient.proto +11 -45
  46. package/protos/steam/steammessages_econ.steamclient.proto +12 -25
  47. package/protos/steam/steammessages_familygroups.steamclient.proto +441 -0
  48. package/protos/steam/steammessages_friendmessages.steamclient.proto +19 -46
  49. package/protos/steam/steammessages_gamenetworking.steamclient.proto +2 -9
  50. package/protos/steam/steammessages_gamenotifications.steamclient.proto +57 -82
  51. package/protos/steam/steammessages_gameservers.steamclient.proto +13 -29
  52. package/protos/steam/steammessages_inventory.steamclient.proto +21 -73
  53. package/protos/steam/steammessages_linkfilter.steamclient.proto +14 -24
  54. package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +1 -5
  55. package/protos/steam/steammessages_market.steamclient.proto +9 -13
  56. package/protos/steam/steammessages_marketingmessages.steamclient.proto +59 -60
  57. package/protos/steam/steammessages_offline.steamclient.proto +2 -9
  58. package/protos/steam/steammessages_parental.steamclient.proto +100 -66
  59. package/protos/steam/steammessages_parties.steamclient.proto +6 -25
  60. package/protos/steam/steammessages_partnerapps.steamclient.proto +11 -43
  61. package/protos/steam/steammessages_player.steamclient.proto +133 -278
  62. package/protos/steam/steammessages_publishedfile.steamclient.proto +213 -289
  63. package/protos/steam/steammessages_qms.steamclient.proto +4 -18
  64. package/protos/steam/steammessages_remoteclient.proto +2 -1
  65. package/protos/steam/steammessages_remoteclient_discovery.proto +9 -0
  66. package/protos/steam/steammessages_remoteclient_service.steamclient.proto +18 -73
  67. package/protos/steam/steammessages_remoteplay.proto +1 -2
  68. package/protos/steam/steammessages_secrets.steamclient.proto +1 -5
  69. package/protos/steam/steammessages_shader.steamclient.proto +6 -25
  70. package/protos/steam/steammessages_site_license.steamclient.proto +8 -33
  71. package/protos/steam/steammessages_steamtv.steamclient.proto +169 -266
  72. package/protos/steam/steammessages_store.steamclient.proto +110 -77
  73. package/protos/steam/steammessages_storebrowse.steamclient.proto +170 -115
  74. package/protos/steam/steammessages_timedtrial.steamclient.proto +3 -13
  75. package/protos/steam/steammessages_twofactor.steamclient.proto +92 -121
  76. package/protos/steam/steammessages_unified_base.steamclient.proto +12 -0
  77. package/protos/steam/steammessages_unified_test.steamclient.proto +10 -20
  78. package/protos/steam/steammessages_useraccount.steamclient.proto +26 -64
  79. package/protos/steam/steammessages_vac.steamclient.proto +2 -9
  80. package/protos/steam/steammessages_video.steamclient.proto +25 -128
  81. package/protos/steam/steammessages_workshop.steamclient.proto +1 -5
  82. package/protos/steam/webuimessages_achievements.proto +29 -0
  83. package/protos/steam/webuimessages_gamescope.proto +57 -0
  84. package/protos/steam/webuimessages_steamengine.proto +9 -0
  85. package/protos/steam/webuimessages_steamos.proto +114 -0
  86. package/protos/steam/webuimessages_transport.proto +4 -0
  87. package/protos/steam/webuimessages_transportvalidation.proto +14 -0
  88. package/test_steamclient.js +4 -3
  89. package/protos/csgo/steammessages_steamlearn.steamworkssdk.proto +0 -357
  90. package/protos/steam/renderer/rendermessages.proto +0 -893
  91. package/protos/steam/steammessages_star.steamclient.proto +0 -64
  92. package/protos/webui/common.proto +0 -5508
  93. package/protos/webui/common_base.proto +0 -27
  94. package/protos/webui/service_accountlinking.proto +0 -27
  95. package/protos/webui/service_accountprivacy.proto +0 -42
  96. package/protos/webui/service_auction.proto +0 -97
  97. package/protos/webui/service_authentication.proto +0 -222
  98. package/protos/webui/service_authenticationsupport.proto +0 -74
  99. package/protos/webui/service_broadcast.proto +0 -562
  100. package/protos/webui/service_chat.proto +0 -11
  101. package/protos/webui/service_chatroom.proto +0 -810
  102. package/protos/webui/service_chatusability.proto +0 -107
  103. package/protos/webui/service_clan.proto +0 -41
  104. package/protos/webui/service_clanchatrooms.proto +0 -25
  105. package/protos/webui/service_clanfaqs.proto +0 -202
  106. package/protos/webui/service_clientcomm.proto +0 -150
  107. package/protos/webui/service_clientmetrics.proto +0 -63
  108. package/protos/webui/service_cloud.proto +0 -222
  109. package/protos/webui/service_cloudconfigstore.proto +0 -51
  110. package/protos/webui/service_cloudgaming.proto +0 -30
  111. package/protos/webui/service_community.proto +0 -365
  112. package/protos/webui/service_econ.proto +0 -134
  113. package/protos/webui/service_embedded.proto +0 -24
  114. package/protos/webui/service_experimentservice.proto +0 -6
  115. package/protos/webui/service_fovasvideo.proto +0 -15
  116. package/protos/webui/service_friendmessages.proto +0 -133
  117. package/protos/webui/service_friendslist.proto +0 -70
  118. package/protos/webui/service_gamenotes.proto +0 -15
  119. package/protos/webui/service_helprequestlogs.proto +0 -26
  120. package/protos/webui/service_loyaltyrewards.proto +0 -252
  121. package/protos/webui/service_marketingmessages.proto +0 -184
  122. package/protos/webui/service_mobileapp.proto +0 -18
  123. package/protos/webui/service_mobileauth.proto +0 -24
  124. package/protos/webui/service_mobiledevice.proto +0 -26
  125. package/protos/webui/service_mobileperaccount.proto +0 -31
  126. package/protos/webui/service_news.proto +0 -101
  127. package/protos/webui/service_parental.proto +0 -178
  128. package/protos/webui/service_partnermembershipinvite.proto +0 -29
  129. package/protos/webui/service_partnerstorebrowse.proto +0 -6
  130. package/protos/webui/service_phone.proto +0 -51
  131. package/protos/webui/service_physicalgoods.proto +0 -15
  132. package/protos/webui/service_player.proto +0 -885
  133. package/protos/webui/service_promotioneventinvites.proto +0 -50
  134. package/protos/webui/service_promotionplanning.proto +0 -72
  135. package/protos/webui/service_publishedfile.proto +0 -687
  136. package/protos/webui/service_publishing.proto +0 -119
  137. package/protos/webui/service_quest.proto +0 -127
  138. package/protos/webui/service_salefeature.proto +0 -315
  139. package/protos/webui/service_saleitemrewards.proto +0 -54
  140. package/protos/webui/service_shoppingcart.proto +0 -108
  141. package/protos/webui/service_steamawards.proto +0 -19
  142. package/protos/webui/service_steamcharts.proto +0 -75
  143. package/protos/webui/service_steamengine.proto +0 -36
  144. package/protos/webui/service_steamlearn.proto +0 -727
  145. package/protos/webui/service_steamnotification.proto +0 -84
  146. package/protos/webui/service_steamtv.proto +0 -495
  147. package/protos/webui/service_steamvrvoicechat.proto +0 -67
  148. package/protos/webui/service_steamvrwebrtc.proto +0 -48
  149. package/protos/webui/service_storagedevicemanager.proto +0 -104
  150. package/protos/webui/service_store.proto +0 -289
  151. package/protos/webui/service_storeappsimilarity.proto +0 -76
  152. package/protos/webui/service_storebrowse.proto +0 -73
  153. package/protos/webui/service_storequery.proto +0 -97
  154. package/protos/webui/service_storesales.proto +0 -15
  155. package/protos/webui/service_storetopsellers.proto +0 -44
  156. package/protos/webui/service_systemmanager.proto +0 -11
  157. package/protos/webui/service_test_transporterror.proto +0 -6
  158. package/protos/webui/service_transportauth.proto +0 -12
  159. package/protos/webui/service_transportvalidation.proto +0 -69
  160. package/protos/webui/service_twofactor.proto +0 -181
  161. package/protos/webui/service_useraccount.proto +0 -138
  162. package/protos/webui/service_usergameactivity.proto +0 -34
  163. package/protos/webui/service_usergamenotes.proto +0 -53
  164. package/protos/webui/service_usernews.proto +0 -68
  165. package/protos/webui/service_userreviews.proto +0 -96
  166. package/protos/webui/service_video.proto +0 -128
  167. package/protos/webui/service_voicechat.proto +0 -139
  168. package/protos/webui/service_webrtc.proto +0 -52
@@ -34,17 +34,16 @@ message CBroadcast_BeginBroadcastSession_Request {
34
34
  optional uint32 cellid = 5;
35
35
  optional uint64 rtmp_token = 6;
36
36
  optional bool thumbnail_upload = 7;
37
- optional string client_beta = 8;
38
37
  optional uint32 sysid = 9;
39
38
  optional bool allow_webrtc = 10;
40
39
  }
41
40
 
42
41
  message CBroadcast_BeginBroadcastSession_Response {
43
42
  optional fixed64 broadcast_id = 1;
44
- optional string thumbnail_upload_address = 2 [(description) = "Http address to upload the thumbnail data."];
45
- optional string thumbnail_upload_token = 3 [(description) = "token to authorize as broadcaster to upload content to the relay."];
46
- optional uint32 thumbnail_interval_seconds = 4 [(description) = "how many seconds between thumbnails"];
47
- optional uint32 heartbeat_interval_seconds = 5 [(description) = "how many seconds between session heartbeats"];
43
+ optional string thumbnail_upload_address = 2;
44
+ optional string thumbnail_upload_token = 3;
45
+ optional uint32 thumbnail_interval_seconds = 4;
46
+ optional uint32 heartbeat_interval_seconds = 5;
48
47
  }
49
48
 
50
49
  message CBroadcast_EndBroadcastSession_Request {
@@ -59,7 +58,7 @@ message CBroadcast_StartBroadcastUpload_Request {
59
58
  optional uint32 cellid = 2;
60
59
  optional bool as_rtmp = 3;
61
60
  optional uint32 delay_seconds = 4;
62
- optional uint64 rtmp_token = 5 [default = 0, (description) = "Only set during RTMP uploads; secret key from the user."];
61
+ optional uint64 rtmp_token = 5 [default = 0];
63
62
  optional uint32 upload_ip_address = 6;
64
63
  optional bool is_replay = 7;
65
64
  optional uint32 sysid = 8;
@@ -79,9 +78,9 @@ message CBroadcast_NotifyBroadcastUploadStop_Notification {
79
78
  }
80
79
 
81
80
  message CBroadcast_WatchBroadcast_Request {
82
- optional fixed64 steamid = 1 [(description) = "broadcaster steamID."];
83
- optional fixed64 existing_broadcast_id = 2 [(description) = "broadcast session ID (optional, rejoin if specified)."];
84
- optional fixed64 viewer_token = 3 [(description) = "viewer token received from last WatchRequest call, from browser storage."];
81
+ optional fixed64 steamid = 1;
82
+ optional fixed64 existing_broadcast_id = 2;
83
+ optional fixed64 viewer_token = 3;
85
84
  optional uint32 client_cell = 5;
86
85
  optional .EBroadcastWatchLocation watch_location = 6 [default = k_EBroadcastWatchLocation_Invalid];
87
86
  optional bool is_webrtc = 7;
@@ -101,6 +100,7 @@ message CBroadcast_WatchBroadcast_Response {
101
100
  k_EWatchResponseClientOutOfDate = 10;
102
101
  k_EWatchResponsePoorUploadQuality = 11;
103
102
  k_EWatchResponseMissingSubscription = 12;
103
+ k_EWatchResponseTooManyViewers = 13;
104
104
  }
105
105
 
106
106
  optional .CBroadcast_WatchBroadcast_Response.EWatchResponse response = 1 [default = k_EWatchResponseReady];
@@ -126,21 +126,21 @@ message CBroadcast_WatchBroadcast_Response {
126
126
  }
127
127
 
128
128
  message CBroadcast_HeartbeatBroadcast_Notification {
129
- optional fixed64 steamid = 1 [(description) = "broadcaster steamID."];
130
- optional fixed64 broadcast_id = 2 [(description) = "broadcast session ID."];
131
- optional fixed64 viewer_token = 3 [(description) = "viewer token received from last WatchRequest call, from browser storage."];
132
- optional uint32 representation = 4 [(description) = "video stream representation watching"];
129
+ optional fixed64 steamid = 1;
130
+ optional fixed64 broadcast_id = 2;
131
+ optional fixed64 viewer_token = 3;
132
+ optional uint32 representation = 4;
133
133
  }
134
134
 
135
135
  message CBroadcast_StopWatchingBroadcast_Notification {
136
- optional fixed64 steamid = 1 [(description) = "broadcaster steamID."];
137
- optional fixed64 broadcast_id = 2 [(description) = "broadcast session ID."];
138
- optional fixed64 viewer_token = 3 [(description) = "viewer token received from last WatchRequest call, from browser storage."];
136
+ optional fixed64 steamid = 1;
137
+ optional fixed64 broadcast_id = 2;
138
+ optional fixed64 viewer_token = 3;
139
139
  }
140
140
 
141
141
  message CBroadcast_GetBroadcastStatus_Request {
142
- optional fixed64 steamid = 1 [(description) = "broadcaster steamID."];
143
- optional fixed64 broadcast_id = 2 [(description) = "broadcast session ID to proof that user is allowed to see details."];
142
+ optional fixed64 steamid = 1;
143
+ optional fixed64 broadcast_id = 2;
144
144
  }
145
145
 
146
146
  message CBroadcast_GetBroadcastStatus_Response {
@@ -212,8 +212,8 @@ message CBroadcast_PostChatMessage_Request {
212
212
  optional fixed64 chat_id = 1;
213
213
  optional string message = 2;
214
214
  optional uint32 instance_id = 3;
215
- optional uint32 language = 4 [default = 0, (description) = "ELanguage of the user posting the message, default is english"];
216
- optional string country_code = 5 [(description) = "The two letter country code"];
215
+ optional uint32 language = 4 [default = 0];
216
+ optional string country_code = 5;
217
217
  }
218
218
 
219
219
  message CBroadcast_PostChatMessage_Response {
@@ -285,9 +285,9 @@ message CBroadcast_GetBuildClipStatus_Response {
285
285
  }
286
286
 
287
287
  message CBroadcast_SetClipDetails_Request {
288
- optional uint64 broadcast_clip_id = 1 [(description) = "Clip ID"];
289
- optional uint32 start_time = 2 [(description) = "start time of the clip"];
290
- optional uint32 end_time = 3 [(description) = "end time of the clip"];
288
+ optional uint64 broadcast_clip_id = 1;
289
+ optional uint32 start_time = 2;
290
+ optional uint32 end_time = 3;
291
291
  optional string video_description = 4;
292
292
  }
293
293
 
@@ -295,20 +295,20 @@ message CBroadcast_SetClipDetails_Response {
295
295
  }
296
296
 
297
297
  message CBroadcast_GetClipDetails_Request {
298
- optional uint64 broadcast_clip_id = 1 [(description) = "List of clip IDs we want details for"];
298
+ optional uint64 broadcast_clip_id = 1;
299
299
  }
300
300
 
301
301
  message CBroadcast_GetClipDetails_Response {
302
- optional uint64 broadcast_clip_id = 1 [(description) = "broadcast clip ID"];
303
- optional uint64 video_id = 2 [(description) = "matching unique video ID"];
304
- optional uint64 channel_id = 3 [(description) = "Broadcast Channel ID"];
305
- optional uint32 app_id = 4 [(description) = "App ID stream is tagged with"];
306
- optional uint32 accountid_broadcaster = 5 [(description) = "Account ID of broadcaster"];
307
- optional uint32 accountid_clipmaker = 6 [(description) = "Account ID of clip-maker"];
308
- optional string video_description = 7 [(description) = "Short name or description of this clip"];
309
- optional uint32 start_time = 8 [(description) = "Wall time clip was broadcasted live"];
310
- optional uint32 length_milliseconds = 9 [(description) = "length of video in MS"];
311
- optional string thumbnail_path = 10 [(description) = "Path for thumbnail URL"];
302
+ optional uint64 broadcast_clip_id = 1;
303
+ optional uint64 video_id = 2;
304
+ optional uint64 channel_id = 3;
305
+ optional uint32 app_id = 4;
306
+ optional uint32 accountid_broadcaster = 5;
307
+ optional uint32 accountid_clipmaker = 6;
308
+ optional string video_description = 7;
309
+ optional uint32 start_time = 8;
310
+ optional uint32 length_milliseconds = 9;
311
+ optional string thumbnail_path = 10;
312
312
  }
313
313
 
314
314
  message CBroadcast_SetRTMPInfo_Request {
@@ -317,12 +317,12 @@ message CBroadcast_SetRTMPInfo_Request {
317
317
  optional int32 broadcast_delay = 3;
318
318
  optional uint32 app_id = 4;
319
319
  optional uint32 required_app_id = 5;
320
- optional .EBroadcastChatPermission broadcast_chat_permission = 6 [default = k_EBroadcastChatPermissionPublic, (description) = "Who is permitted to send a chat message during broadcast"];
321
- optional int32 broadcast_buffer = 7 [(description) = "Previous seconds we keep of the stream available"];
322
- optional fixed64 steamid = 8 [(description) = "broadcaster steamID if not logged-in user"];
323
- optional uint32 chat_rate_limit = 9 [(description) = "Seconds required between chat messages"];
324
- optional bool enable_replay = 10 [(description) = "Enable replay of last upload"];
325
- optional bool is_partner_chat_only = 11 [(description) = "When true, then only steamwork partner can create chat messages."];
320
+ optional .EBroadcastChatPermission broadcast_chat_permission = 6 [default = k_EBroadcastChatPermissionPublic];
321
+ optional int32 broadcast_buffer = 7;
322
+ optional fixed64 steamid = 8;
323
+ optional uint32 chat_rate_limit = 9;
324
+ optional bool enable_replay = 10;
325
+ optional bool is_partner_chat_only = 11;
326
326
  optional string wordban_list = 12;
327
327
  }
328
328
 
@@ -331,7 +331,7 @@ message CBroadcast_SetRTMPInfo_Response {
331
331
 
332
332
  message CBroadcast_GetRTMPInfo_Request {
333
333
  optional uint32 ip = 1;
334
- optional fixed64 steamid = 2 [(description) = "broadcaster steamID if not logged-in user"];
334
+ optional fixed64 steamid = 2;
335
335
  }
336
336
 
337
337
  message CBroadcast_GetRTMPInfo_Response {
@@ -341,12 +341,12 @@ message CBroadcast_GetRTMPInfo_Response {
341
341
  optional int32 broadcast_delay = 4;
342
342
  optional uint32 app_id = 5;
343
343
  optional uint32 required_app_id = 6;
344
- optional .EBroadcastChatPermission broadcast_chat_permission = 7 [default = k_EBroadcastChatPermissionPublic, (description) = "Who is permitted to send a chat message during broadcast"];
345
- optional int32 broadcast_buffer = 8 [(description) = "Seconds we keep streams available"];
346
- optional fixed64 steamid = 9 [(description) = "broadcaster steamID"];
347
- optional uint32 chat_rate_limit = 10 [(description) = "Seconds required between chat messages"];
348
- optional bool enable_replay = 11 [(description) = "Enable replay of last upload"];
349
- optional bool is_partner_chat_only = 12 [(description) = "When true, then only steamwork partner can create chat messages."];
344
+ optional .EBroadcastChatPermission broadcast_chat_permission = 7 [default = k_EBroadcastChatPermissionPublic];
345
+ optional int32 broadcast_buffer = 8;
346
+ optional fixed64 steamid = 9;
347
+ optional uint32 chat_rate_limit = 10;
348
+ optional bool enable_replay = 11;
349
+ optional bool is_partner_chat_only = 12;
350
350
  optional string wordban_list = 13;
351
351
  }
352
352
 
@@ -426,54 +426,54 @@ message CBroadcast_WebRTCGetHostCandidates_Response {
426
426
  }
427
427
 
428
428
  message CBroadcast_GetBroadcastUploadStats_Request {
429
- optional uint32 row_limit = 1 [default = 100, (description) = "How many at maximum to return."];
430
- optional uint32 start_time = 2 [default = 0, (description) = "Start time"];
431
- optional uint64 upload_id = 3 [(description) = "Optional relay upload ID - not compatible with session_id"];
432
- optional fixed64 steamid = 4 [(description) = "Optional the steamid whose stats you want, otherwise the user logged in - admin only"];
433
- optional uint64 session_id = 5 [(description) = "Optional broadcast session ID - not compatiable with upload_id"];
429
+ optional uint32 row_limit = 1 [default = 100];
430
+ optional uint32 start_time = 2 [default = 0];
431
+ optional uint64 upload_id = 3;
432
+ optional fixed64 steamid = 4;
433
+ optional uint64 session_id = 5;
434
434
  }
435
435
 
436
436
  message CBroadcast_GetBroadcastUploadStats_Response {
437
437
  message UploadStats {
438
- optional uint32 upload_result = 1 [(description) = ""];
439
- optional uint32 time_stopped = 2 [(description) = "time broadcast upload stopped"];
440
- optional uint32 seconds_uploaded = 3 [(description) = "seconds of vido uploaded"];
441
- optional uint32 max_viewers = 4 [(description) = "max concurrent viewers"];
442
- optional uint32 resolution_x = 5 [(description) = "horizontal resultion"];
443
- optional uint32 resolution_y = 6 [(description) = "vertical resultion"];
444
- optional uint32 avg_bandwidth = 7 [(description) = ""];
445
- optional uint64 total_bytes = 8 [(description) = "total byte uploaded by broadcaster"];
446
- optional uint32 app_id = 9 [(description) = "game broadcasted"];
447
- optional uint32 total_unique_viewers = 10 [(description) = "total unique viewers seen"];
448
- optional uint64 total_seconds_watched = 11 [(description) = "total number of seconds watched by all viewers"];
449
- optional uint32 time_started = 12 [(description) = "time broadcast upload started"];
450
- optional uint64 upload_id = 13 [(description) = "broadcast relay upload id"];
451
- optional string local_address = 14 [(description) = "upload to server address"];
452
- optional string remote_address = 15 [(description) = "upload from client address"];
453
- optional uint32 frames_per_second = 16 [(description) = "frames per second"];
454
- optional uint32 num_representations = 17 [(description) = "number of video represetations"];
455
- optional string app_name = 18 [(description) = "game name"];
456
- optional bool is_replay = 19 [(description) = "replay of previous recording"];
457
- optional uint64 session_id = 20 [(description) = "broadcast session id"];
438
+ optional uint32 upload_result = 1;
439
+ optional uint32 time_stopped = 2;
440
+ optional uint32 seconds_uploaded = 3;
441
+ optional uint32 max_viewers = 4;
442
+ optional uint32 resolution_x = 5;
443
+ optional uint32 resolution_y = 6;
444
+ optional uint32 avg_bandwidth = 7;
445
+ optional uint64 total_bytes = 8;
446
+ optional uint32 app_id = 9;
447
+ optional uint32 total_unique_viewers = 10;
448
+ optional uint64 total_seconds_watched = 11;
449
+ optional uint32 time_started = 12;
450
+ optional uint64 upload_id = 13;
451
+ optional string local_address = 14;
452
+ optional string remote_address = 15;
453
+ optional uint32 frames_per_second = 16;
454
+ optional uint32 num_representations = 17;
455
+ optional string app_name = 18;
456
+ optional bool is_replay = 19;
457
+ optional uint64 session_id = 20;
458
458
  }
459
459
 
460
460
  repeated .CBroadcast_GetBroadcastUploadStats_Response.UploadStats upload_stats = 1;
461
461
  }
462
462
 
463
463
  message CBroadcast_GetBroadcastViewerStats_Request {
464
- optional uint64 upload_id = 1 [(description) = "Get stats for this stream"];
465
- optional fixed64 steamid = 2 [(description) = "Optional: The steamid of the broadcast whose details you are requesting."];
464
+ optional uint64 upload_id = 1;
465
+ optional fixed64 steamid = 2;
466
466
  }
467
467
 
468
468
  message CBroadcast_GetBroadcastViewerStats_Response {
469
469
  message ViewerStats {
470
- optional uint32 time = 1 [(description) = "time of record"];
471
- optional uint32 num_viewers = 2 [(description) = "current number of viewers"];
470
+ optional uint32 time = 1;
471
+ optional uint32 num_viewers = 2;
472
472
  }
473
473
 
474
474
  message CountryStats {
475
- optional string country_code = 1 [(description) = "country code"];
476
- optional uint32 num_viewers = 2 [(description) = "number of viewers"];
475
+ optional string country_code = 1;
476
+ optional uint32 num_viewers = 2;
477
477
  }
478
478
 
479
479
  repeated .CBroadcast_GetBroadcastViewerStats_Response.ViewerStats viewer_stats = 1;
@@ -501,7 +501,7 @@ message CBroadcast_BroadcastUploadStarted_Notification {
501
501
  optional string upload_address = 3;
502
502
  optional string http_address = 4;
503
503
  optional fixed64 broadcast_upload_id = 5;
504
- optional uint32 heartbeat_interval_seconds = 6 [(description) = "how many seconds between session heartbeats"];
504
+ optional uint32 heartbeat_interval_seconds = 6;
505
505
  optional bool is_rtmp = 7;
506
506
  }
507
507
 
@@ -563,197 +563,56 @@ message CBroadcast_WebRTCAddViewerCandidate_Notification {
563
563
  }
564
564
 
565
565
  service Broadcast {
566
- option (service_description) = "Methods for Steam broadcast operations";
567
-
568
- rpc BeginBroadcastSession (.CBroadcast_BeginBroadcastSession_Request) returns (.CBroadcast_BeginBroadcastSession_Response) {
569
- option (method_description) = "Request from client to directory to begin a broadcast session. No data being sent to relay; just available for broadcast.";
570
- }
571
-
572
- rpc EndBroadcastSession (.CBroadcast_EndBroadcastSession_Request) returns (.CBroadcast_EndBroadcastSession_Response) {
573
- option (method_description) = "Request from client to stop a broadcast session. Any uploads will terminate.";
574
- }
575
-
576
- rpc StartBroadcastUpload (.CBroadcast_StartBroadcastUpload_Request) returns (.CBroadcast_StartBroadcastUpload_Response) {
577
- option (method_description) = "Request from client to begin sending video for a broadcast.";
578
- }
579
-
580
- rpc NotifyBroadcastUploadStop (.CBroadcast_NotifyBroadcastUploadStop_Notification) returns (.NoResponse) {
581
- option (method_description) = "Tells directory that client stopped uploading broadcast";
582
- }
583
-
584
- rpc WatchBroadcast (.CBroadcast_WatchBroadcast_Request) returns (.CBroadcast_WatchBroadcast_Response) {
585
- option (method_description) = "Request from viewer to watch a broadcast";
586
- }
587
-
588
- rpc HeartbeatBroadcast (.CBroadcast_HeartbeatBroadcast_Notification) returns (.NoResponse) {
589
- option (method_description) = "Notify directory that user is still watching.";
590
- }
591
-
592
- rpc StopWatchingBroadcast (.CBroadcast_StopWatchingBroadcast_Notification) returns (.NoResponse) {
593
- option (method_description) = "Request to immediately stop watching a broadcast. Optional Method, if not called, viewer will time out.";
594
- }
595
-
596
- rpc GetBroadcastStatus (.CBroadcast_GetBroadcastStatus_Request) returns (.CBroadcast_GetBroadcastStatus_Response) {
597
- option (method_description) = "Request from viewer about broadcast details";
598
- }
599
-
600
- rpc GetBroadcastThumbnail (.CBroadcast_GetBroadcastThumbnail_Request) returns (.CBroadcast_GetBroadcastThumbnail_Response) {
601
- option (method_description) = "Request thumbnail URL for broadcast";
602
- }
603
-
604
- rpc InviteToBroadcast (.CBroadcast_InviteToBroadcast_Request) returns (.CBroadcast_InviteToBroadcast_Response) {
605
- option (method_description) = "Invites another steam user to watch the caller's broadcast";
606
- }
607
-
608
- rpc SendBroadcastStateToServer (.CBroadcast_SendBroadcastStateToServer_Request) returns (.CBroadcast_SendBroadcastStateToServer_Response) {
609
- option (method_description) = "Sends users current broadcast state (permissions, game) to the server";
610
- }
611
-
612
- rpc NotifyBroadcastSessionHeartbeat (.CBroadcast_NotifyBroadcastSessionHeartbeat_Notification) returns (.NoResponse) {
613
- option (method_description) = "Tells directory broadcast session is still available";
614
- }
615
-
616
- rpc GetBroadcastChatInfo (.CBroadcast_GetBroadcastChatInfo_Request) returns (.CBroadcast_GetBroadcastChatInfo_Response) {
617
- option (method_description) = "Gets chat room info for a broadcast";
618
- }
619
-
620
- rpc PostChatMessage (.CBroadcast_PostChatMessage_Request) returns (.CBroadcast_PostChatMessage_Response) {
621
- option (method_description) = "Post chat message to specified chat room";
622
- }
623
-
624
- rpc UpdateChatMessageFlair (.CBroadcast_UpdateChatMessageFlair_Request) returns (.CBroadcast_UpdateChatMessageFlair_Response) {
625
- option (method_description) = "Update chat message flair in the specified chat room";
626
- }
627
-
628
- rpc MuteBroadcastChatUser (.CBroadcast_MuteBroadcastChatUser_Request) returns (.CBroadcast_MuteBroadcastChatUser_Response) {
629
- option (method_description) = "Mute a user in your broadcast chat";
630
- }
631
-
632
- rpc RemoveUserChatText (.CBroadcast_RemoveUserChatText_Request) returns (.CBroadcast_RemoveUserChatText_Response) {
633
- option (method_description) = "Tell all viewers to remove user chat text";
634
- }
635
-
636
- rpc GetBroadcastChatUserNames (.CBroadcast_GetBroadcastChatUserNames_Request) returns (.CBroadcast_GetBroadcastChatUserNames_Response) {
637
- option (method_description) = "Get names for list of users in chat";
638
- }
639
-
640
- rpc StartBuildClip (.CBroadcast_StartBuildClip_Request) returns (.CBroadcast_StartBuildClip_Response) {
641
- option (method_description) = "Start building a broadcast clip";
642
- }
643
-
644
- rpc GetBuildClipStatus (.CBroadcast_GetBuildClipStatus_Request) returns (.CBroadcast_GetBuildClipStatus_Response) {
645
- option (method_description) = "Start building a broadcast clip";
646
- }
647
-
648
- rpc SetClipDetails (.CBroadcast_SetClipDetails_Request) returns (.CBroadcast_SetClipDetails_Response) {
649
- option (method_description) = "Updates a broadcast clip";
650
- }
651
-
652
- rpc GetClipDetails (.CBroadcast_GetClipDetails_Request) returns (.CBroadcast_GetClipDetails_Response) {
653
- option (method_description) = "Get details for Broadcast Clips";
654
- }
655
-
656
- rpc SetRTMPInfo (.CBroadcast_SetRTMPInfo_Request) returns (.CBroadcast_SetRTMPInfo_Response) {
657
- option (method_description) = "Sets RTMP broadcast info";
658
- }
659
-
660
- rpc GetRTMPInfo (.CBroadcast_GetRTMPInfo_Request) returns (.CBroadcast_GetRTMPInfo_Response) {
661
- option (method_description) = "Gets RTMP broadcast info";
662
- }
663
-
664
- rpc NotifyWebRTCHaveTURNServer (.CBroadcast_WebRTCHaveTURNServer_Notification) returns (.NoResponse) {
665
- option (method_description) = "Notification from client to server with the client's TURN server";
666
- }
667
-
668
- rpc WebRTCStartResult (.CBroadcast_WebRTCStartResult_Request) returns (.CBroadcast_WebRTCStartResult_Response) {
669
- option (method_description) = "Notify the server that a WebRTC session has been created by the host";
670
- }
671
-
672
- rpc WebRTCStopped (.CBroadcast_WebRTCStopped_Request) returns (.CBroadcast_WebRTCStopped_Response) {
673
- option (method_description) = "Notify the server that a WebRTC session has been stopped by the host";
674
- }
675
-
676
- rpc WebRTCSetAnswer (.CBroadcast_WebRTCSetAnswer_Request) returns (.CBroadcast_WebRTCSetAnswer_Response) {
677
- option (method_description) = "Notify the server that a WebRTC session has been created by the viewer";
678
- }
679
-
680
- rpc WebRTCLookupTURNServer (.CBroadcast_WebRTCLookupTURNServer_Request) returns (.CBroadcast_WebRTCLookupTURNServer_Response) {
681
- option (method_description) = "Lookup the best TURN server for this client";
682
- }
683
-
684
- rpc WebRTCAddHostCandidate (.CBroadcast_WebRTCAddHostCandidate_Request) returns (.CBroadcast_WebRTCAddHostCandidate_Response) {
685
- option (method_description) = "Add an ICE candidate for the host side of a WebRTC session";
686
- }
687
-
688
- rpc WebRTCAddViewerCandidate (.CBroadcast_WebRTCAddViewerCandidate_Request) returns (.CBroadcast_WebRTCAddViewerCandidate_Response) {
689
- option (method_description) = "Add an ICE candidate for the viewer side of a WebRTC session";
690
- }
691
-
692
- rpc WebRTCGetHostCandidates (.CBroadcast_WebRTCGetHostCandidates_Request) returns (.CBroadcast_WebRTCGetHostCandidates_Response) {
693
- option (method_description) = "Get the ICE candidates for the host side of a WebRTC session";
694
- }
695
-
696
- rpc GetBroadcastUploadStats (.CBroadcast_GetBroadcastUploadStats_Request) returns (.CBroadcast_GetBroadcastUploadStats_Response) {
697
- option (method_description) = "Gets broadcast upload stats for user";
698
- }
699
-
700
- rpc GetBroadcastViewerStats (.CBroadcast_GetBroadcastViewerStats_Request) returns (.CBroadcast_GetBroadcastViewerStats_Response) {
701
- option (method_description) = "Gets viewer stats for given broadcast";
702
- }
566
+ rpc BeginBroadcastSession (.CBroadcast_BeginBroadcastSession_Request) returns (.CBroadcast_BeginBroadcastSession_Response);
567
+ rpc EndBroadcastSession (.CBroadcast_EndBroadcastSession_Request) returns (.CBroadcast_EndBroadcastSession_Response);
568
+ rpc StartBroadcastUpload (.CBroadcast_StartBroadcastUpload_Request) returns (.CBroadcast_StartBroadcastUpload_Response);
569
+ rpc NotifyBroadcastUploadStop (.CBroadcast_NotifyBroadcastUploadStop_Notification) returns (.NoResponse);
570
+ rpc WatchBroadcast (.CBroadcast_WatchBroadcast_Request) returns (.CBroadcast_WatchBroadcast_Response);
571
+ rpc HeartbeatBroadcast (.CBroadcast_HeartbeatBroadcast_Notification) returns (.NoResponse);
572
+ rpc StopWatchingBroadcast (.CBroadcast_StopWatchingBroadcast_Notification) returns (.NoResponse);
573
+ rpc GetBroadcastStatus (.CBroadcast_GetBroadcastStatus_Request) returns (.CBroadcast_GetBroadcastStatus_Response);
574
+ rpc GetBroadcastThumbnail (.CBroadcast_GetBroadcastThumbnail_Request) returns (.CBroadcast_GetBroadcastThumbnail_Response);
575
+ rpc InviteToBroadcast (.CBroadcast_InviteToBroadcast_Request) returns (.CBroadcast_InviteToBroadcast_Response);
576
+ rpc SendBroadcastStateToServer (.CBroadcast_SendBroadcastStateToServer_Request) returns (.CBroadcast_SendBroadcastStateToServer_Response);
577
+ rpc NotifyBroadcastSessionHeartbeat (.CBroadcast_NotifyBroadcastSessionHeartbeat_Notification) returns (.NoResponse);
578
+ rpc GetBroadcastChatInfo (.CBroadcast_GetBroadcastChatInfo_Request) returns (.CBroadcast_GetBroadcastChatInfo_Response);
579
+ rpc PostChatMessage (.CBroadcast_PostChatMessage_Request) returns (.CBroadcast_PostChatMessage_Response);
580
+ rpc UpdateChatMessageFlair (.CBroadcast_UpdateChatMessageFlair_Request) returns (.CBroadcast_UpdateChatMessageFlair_Response);
581
+ rpc MuteBroadcastChatUser (.CBroadcast_MuteBroadcastChatUser_Request) returns (.CBroadcast_MuteBroadcastChatUser_Response);
582
+ rpc RemoveUserChatText (.CBroadcast_RemoveUserChatText_Request) returns (.CBroadcast_RemoveUserChatText_Response);
583
+ rpc GetBroadcastChatUserNames (.CBroadcast_GetBroadcastChatUserNames_Request) returns (.CBroadcast_GetBroadcastChatUserNames_Response);
584
+ rpc StartBuildClip (.CBroadcast_StartBuildClip_Request) returns (.CBroadcast_StartBuildClip_Response);
585
+ rpc GetBuildClipStatus (.CBroadcast_GetBuildClipStatus_Request) returns (.CBroadcast_GetBuildClipStatus_Response);
586
+ rpc SetClipDetails (.CBroadcast_SetClipDetails_Request) returns (.CBroadcast_SetClipDetails_Response);
587
+ rpc GetClipDetails (.CBroadcast_GetClipDetails_Request) returns (.CBroadcast_GetClipDetails_Response);
588
+ rpc SetRTMPInfo (.CBroadcast_SetRTMPInfo_Request) returns (.CBroadcast_SetRTMPInfo_Response);
589
+ rpc GetRTMPInfo (.CBroadcast_GetRTMPInfo_Request) returns (.CBroadcast_GetRTMPInfo_Response);
590
+ rpc NotifyWebRTCHaveTURNServer (.CBroadcast_WebRTCHaveTURNServer_Notification) returns (.NoResponse);
591
+ rpc WebRTCStartResult (.CBroadcast_WebRTCStartResult_Request) returns (.CBroadcast_WebRTCStartResult_Response);
592
+ rpc WebRTCStopped (.CBroadcast_WebRTCStopped_Request) returns (.CBroadcast_WebRTCStopped_Response);
593
+ rpc WebRTCSetAnswer (.CBroadcast_WebRTCSetAnswer_Request) returns (.CBroadcast_WebRTCSetAnswer_Response);
594
+ rpc WebRTCLookupTURNServer (.CBroadcast_WebRTCLookupTURNServer_Request) returns (.CBroadcast_WebRTCLookupTURNServer_Response);
595
+ rpc WebRTCAddHostCandidate (.CBroadcast_WebRTCAddHostCandidate_Request) returns (.CBroadcast_WebRTCAddHostCandidate_Response);
596
+ rpc WebRTCAddViewerCandidate (.CBroadcast_WebRTCAddViewerCandidate_Request) returns (.CBroadcast_WebRTCAddViewerCandidate_Response);
597
+ rpc WebRTCGetHostCandidates (.CBroadcast_WebRTCGetHostCandidates_Request) returns (.CBroadcast_WebRTCGetHostCandidates_Response);
598
+ rpc GetBroadcastUploadStats (.CBroadcast_GetBroadcastUploadStats_Request) returns (.CBroadcast_GetBroadcastUploadStats_Response);
599
+ rpc GetBroadcastViewerStats (.CBroadcast_GetBroadcastViewerStats_Request) returns (.CBroadcast_GetBroadcastViewerStats_Response);
703
600
  }
704
601
 
705
602
  service BroadcastClient {
706
603
  option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
707
604
 
708
- rpc NotifyBroadcastViewerState (.CBroadcast_BroadcastViewerState_Notification) returns (.NoResponse) {
709
- option (method_description) = "Notification from server to client that a viewers state has changed";
710
- }
711
-
712
- rpc NotifyWaitingBroadcastViewer (.CBroadcast_WaitingBroadcastViewer_Notification) returns (.NoResponse) {
713
- option (method_description) = "Notification from server to client one or more users is waiting for user to start broadcast";
714
- }
715
-
716
- rpc NotifyBroadcastUploadStarted (.CBroadcast_BroadcastUploadStarted_Notification) returns (.NoResponse) {
717
- option (method_description) = "Notification from server to client with information about a broadcast";
718
- }
719
-
720
- rpc NotifyStopBroadcastUpload (.CBroadcast_StopBroadcastUpload_Notification) returns (.NoResponse) {
721
- option (method_description) = "Notification from server to client telling it to stop uploading when the last viewer has disconnected from their broadcast";
722
- }
723
-
724
- rpc NotifySessionClosed (.CBroadcast_SessionClosed_Notification) returns (.NoResponse) {
725
- option (method_description) = "Notification from server to client telling it a session has been closed unexpectedly by the directory";
726
- }
727
-
728
- rpc NotifyViewerBroadcastInvite (.CBroadcast_ViewerBroadcastInvite_Notification) returns (.NoResponse) {
729
- option (method_description) = "Notification from server to client that a broadcaster is inviting a viewer to watch their broadcast";
730
- }
731
-
732
- rpc NotifyBroadcastStatus (.CBroadcast_BroadcastStatus_Notification) returns (.NoResponse) {
733
- option (method_description) = "Notification from server to client about current broadcast status";
734
- }
735
-
736
- rpc NotifyBroadcastChannelLive (.CBroadcast_BroadcastChannelLive_Notification) returns (.NoResponse) {
737
- option (method_description) = "Notification from server to client about current broadcast status";
738
- }
739
-
740
- rpc SendThumbnailToRelay (.CBroadcast_SendThumbnailToRelay_Notification) returns (.NoResponse) {
741
- option (method_description) = "Send thumbnails to relay";
742
- }
743
-
744
- rpc NotifyWebRTCNeedTURNServer (.CBroadcast_WebRTCNeedTURNServer_Notification) returns (.NoResponse) {
745
- option (method_description) = "Notification from server to client that it needs the client's TURN server";
746
- }
747
-
748
- rpc NotifyWebRTCStart (.CBroadcast_WebRTCStart_Notification) returns (.NoResponse) {
749
- option (method_description) = "Notification from server to client that it should start a WebRTC session";
750
- }
751
-
752
- rpc NotifyWebRTCSetAnswer (.CBroadcast_WebRTCSetAnswer_Notification) returns (.NoResponse) {
753
- option (method_description) = "Notification from server to client about the broadcast viewer WebRTC answer";
754
- }
755
-
756
- rpc NotifyWebRTCAddViewerCandidate (.CBroadcast_WebRTCAddViewerCandidate_Notification) returns (.NoResponse) {
757
- option (method_description) = "Notification from server to client about a broadcast viewer WebRTC ICE candidate";
758
- }
605
+ rpc NotifyBroadcastViewerState (.CBroadcast_BroadcastViewerState_Notification) returns (.NoResponse);
606
+ rpc NotifyWaitingBroadcastViewer (.CBroadcast_WaitingBroadcastViewer_Notification) returns (.NoResponse);
607
+ rpc NotifyBroadcastUploadStarted (.CBroadcast_BroadcastUploadStarted_Notification) returns (.NoResponse);
608
+ rpc NotifyStopBroadcastUpload (.CBroadcast_StopBroadcastUpload_Notification) returns (.NoResponse);
609
+ rpc NotifySessionClosed (.CBroadcast_SessionClosed_Notification) returns (.NoResponse);
610
+ rpc NotifyViewerBroadcastInvite (.CBroadcast_ViewerBroadcastInvite_Notification) returns (.NoResponse);
611
+ rpc NotifyBroadcastStatus (.CBroadcast_BroadcastStatus_Notification) returns (.NoResponse);
612
+ rpc NotifyBroadcastChannelLive (.CBroadcast_BroadcastChannelLive_Notification) returns (.NoResponse);
613
+ rpc SendThumbnailToRelay (.CBroadcast_SendThumbnailToRelay_Notification) returns (.NoResponse);
614
+ rpc NotifyWebRTCNeedTURNServer (.CBroadcast_WebRTCNeedTURNServer_Notification) returns (.NoResponse);
615
+ rpc NotifyWebRTCStart (.CBroadcast_WebRTCStart_Notification) returns (.NoResponse);
616
+ rpc NotifyWebRTCSetAnswer (.CBroadcast_WebRTCSetAnswer_Notification) returns (.NoResponse);
617
+ rpc NotifyWebRTCAddViewerCandidate (.CBroadcast_WebRTCAddViewerCandidate_Notification) returns (.NoResponse);
759
618
  }