steamutils 1.3.64 → 1.3.66
Sign up to get free protection for your applications and to get access to all the features.
- package/SteamClient.js +12 -10
- package/index.js +96 -0
- package/package.json +2 -2
- package/protos/csgo/base_gcmessages.proto +553 -0
- package/protos/csgo/connectionless_netmessages.proto +0 -2
- package/protos/csgo/cs_gameevents.proto +1 -0
- package/protos/csgo/cstrike15_gcmessages.proto +41 -12
- package/protos/csgo/cstrike15_usermessages.proto +0 -4
- package/protos/csgo/demo.proto +5 -0
- package/protos/csgo/econ_gcmessages.proto +0 -9
- package/protos/csgo/gcsdk_gcmessages.proto +2 -2
- package/protos/csgo/gcsystemmsgs.proto +1 -0
- package/protos/csgo/netmessages.proto +22 -8
- package/protos/csgo/networkbasetypes.proto +2 -0
- package/protos/csgo/steammessages.proto +23 -0
- package/protos/csgo/usercmd.proto +2 -1
- package/protos/csgo/usermessages.proto +31 -0
- package/protos/steam/enums.proto +58 -1
- package/protos/steam/enums_clientserver.proto +3 -34
- package/protos/steam/enums_productinfo.proto +1 -0
- package/protos/steam/htmlmessages.proto +12 -0
- package/protos/steam/steamdatagram_messages_sdr.proto +1 -1
- package/protos/steam/steammessages_accounthardware.steamclient.proto +18 -52
- package/protos/steam/steammessages_appoverview.proto +18 -1
- package/protos/steam/steammessages_auth.steamclient.proto +128 -188
- package/protos/steam/steammessages_base.proto +3 -0
- package/protos/steam/steammessages_broadcast.steamclient.proto +126 -267
- package/protos/steam/steammessages_chat.steamclient.proto +79 -290
- package/protos/steam/steammessages_client_objects.proto +4 -0
- package/protos/steam/steammessages_clientlanp2p.proto +1 -0
- package/protos/steam/steammessages_clientmetrics.steamclient.proto +0 -2
- package/protos/steam/steammessages_clientnotificationtypes.proto +19 -0
- package/protos/steam/steammessages_clientserver_2.proto +11 -0
- package/protos/steam/steammessages_clientserver_login.proto +1 -1
- package/protos/steam/steammessages_clientserver_mms.proto +228 -235
- package/protos/steam/steammessages_clientserver_ucm.proto +2 -0
- package/protos/steam/steammessages_clientserver_uds.proto +1 -0
- package/protos/steam/steammessages_clientserver_ufs.proto +0 -127
- package/protos/steam/steammessages_clientsettings.proto +46 -6
- package/protos/steam/steammessages_cloud.steamclient.proto +158 -249
- package/protos/steam/steammessages_contentsystem.steamclient.proto +16 -8
- package/protos/steam/steammessages_credentials.steamclient.proto +7 -26
- package/protos/steam/steammessages_datapublisher.steamclient.proto +30 -44
- package/protos/steam/steammessages_depotbuilder.steamclient.proto +6 -25
- package/protos/steam/steammessages_deviceauth.steamclient.proto +11 -45
- package/protos/steam/steammessages_econ.steamclient.proto +12 -25
- package/protos/steam/steammessages_familygroups.steamclient.proto +441 -0
- package/protos/steam/steammessages_friendmessages.steamclient.proto +19 -46
- package/protos/steam/steammessages_gamenetworking.steamclient.proto +2 -9
- package/protos/steam/steammessages_gamenotifications.steamclient.proto +57 -82
- package/protos/steam/steammessages_gameservers.steamclient.proto +13 -29
- package/protos/steam/steammessages_inventory.steamclient.proto +21 -73
- package/protos/steam/steammessages_linkfilter.steamclient.proto +14 -24
- package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +1 -5
- package/protos/steam/steammessages_market.steamclient.proto +9 -13
- package/protos/steam/steammessages_marketingmessages.steamclient.proto +59 -60
- package/protos/steam/steammessages_offline.steamclient.proto +2 -9
- package/protos/steam/steammessages_parental.steamclient.proto +100 -66
- package/protos/steam/steammessages_parties.steamclient.proto +6 -25
- package/protos/steam/steammessages_partnerapps.steamclient.proto +11 -43
- package/protos/steam/steammessages_player.steamclient.proto +133 -278
- package/protos/steam/steammessages_publishedfile.steamclient.proto +213 -289
- package/protos/steam/steammessages_qms.steamclient.proto +4 -18
- package/protos/steam/steammessages_remoteclient.proto +2 -1
- package/protos/steam/steammessages_remoteclient_discovery.proto +9 -0
- package/protos/steam/steammessages_remoteclient_service.steamclient.proto +18 -73
- package/protos/steam/steammessages_remoteplay.proto +1 -2
- package/protos/steam/steammessages_secrets.steamclient.proto +1 -5
- package/protos/steam/steammessages_shader.steamclient.proto +6 -25
- package/protos/steam/steammessages_site_license.steamclient.proto +8 -33
- package/protos/steam/steammessages_steamtv.steamclient.proto +169 -266
- package/protos/steam/steammessages_store.steamclient.proto +110 -77
- package/protos/steam/steammessages_storebrowse.steamclient.proto +170 -115
- package/protos/steam/steammessages_timedtrial.steamclient.proto +3 -13
- package/protos/steam/steammessages_twofactor.steamclient.proto +92 -121
- package/protos/steam/steammessages_unified_base.steamclient.proto +12 -0
- package/protos/steam/steammessages_unified_test.steamclient.proto +10 -20
- package/protos/steam/steammessages_useraccount.steamclient.proto +26 -64
- package/protos/steam/steammessages_vac.steamclient.proto +2 -9
- package/protos/steam/steammessages_video.steamclient.proto +25 -128
- package/protos/steam/steammessages_workshop.steamclient.proto +1 -5
- package/protos/steam/webuimessages_achievements.proto +29 -0
- package/protos/steam/webuimessages_gamescope.proto +57 -0
- package/protos/steam/webuimessages_steamengine.proto +9 -0
- package/protos/steam/webuimessages_steamos.proto +114 -0
- package/protos/steam/webuimessages_transport.proto +4 -0
- package/protos/steam/webuimessages_transportvalidation.proto +14 -0
- package/test_steamclient.js +4 -3
- package/protos/csgo/steammessages_steamlearn.steamworkssdk.proto +0 -357
- package/protos/steam/renderer/rendermessages.proto +0 -893
- package/protos/steam/steammessages_star.steamclient.proto +0 -64
- package/protos/webui/common.proto +0 -5508
- package/protos/webui/common_base.proto +0 -27
- package/protos/webui/service_accountlinking.proto +0 -27
- package/protos/webui/service_accountprivacy.proto +0 -42
- package/protos/webui/service_auction.proto +0 -97
- package/protos/webui/service_authentication.proto +0 -222
- package/protos/webui/service_authenticationsupport.proto +0 -74
- package/protos/webui/service_broadcast.proto +0 -562
- package/protos/webui/service_chat.proto +0 -11
- package/protos/webui/service_chatroom.proto +0 -810
- package/protos/webui/service_chatusability.proto +0 -107
- package/protos/webui/service_clan.proto +0 -41
- package/protos/webui/service_clanchatrooms.proto +0 -25
- package/protos/webui/service_clanfaqs.proto +0 -202
- package/protos/webui/service_clientcomm.proto +0 -150
- package/protos/webui/service_clientmetrics.proto +0 -63
- package/protos/webui/service_cloud.proto +0 -222
- package/protos/webui/service_cloudconfigstore.proto +0 -51
- package/protos/webui/service_cloudgaming.proto +0 -30
- package/protos/webui/service_community.proto +0 -365
- package/protos/webui/service_econ.proto +0 -134
- package/protos/webui/service_embedded.proto +0 -24
- package/protos/webui/service_experimentservice.proto +0 -6
- package/protos/webui/service_fovasvideo.proto +0 -15
- package/protos/webui/service_friendmessages.proto +0 -133
- package/protos/webui/service_friendslist.proto +0 -70
- package/protos/webui/service_gamenotes.proto +0 -15
- package/protos/webui/service_helprequestlogs.proto +0 -26
- package/protos/webui/service_loyaltyrewards.proto +0 -252
- package/protos/webui/service_marketingmessages.proto +0 -184
- package/protos/webui/service_mobileapp.proto +0 -18
- package/protos/webui/service_mobileauth.proto +0 -24
- package/protos/webui/service_mobiledevice.proto +0 -26
- package/protos/webui/service_mobileperaccount.proto +0 -31
- package/protos/webui/service_news.proto +0 -101
- package/protos/webui/service_parental.proto +0 -178
- package/protos/webui/service_partnermembershipinvite.proto +0 -29
- package/protos/webui/service_partnerstorebrowse.proto +0 -6
- package/protos/webui/service_phone.proto +0 -51
- package/protos/webui/service_physicalgoods.proto +0 -15
- package/protos/webui/service_player.proto +0 -885
- package/protos/webui/service_promotioneventinvites.proto +0 -50
- package/protos/webui/service_promotionplanning.proto +0 -72
- package/protos/webui/service_publishedfile.proto +0 -687
- package/protos/webui/service_publishing.proto +0 -119
- package/protos/webui/service_quest.proto +0 -127
- package/protos/webui/service_salefeature.proto +0 -315
- package/protos/webui/service_saleitemrewards.proto +0 -54
- package/protos/webui/service_shoppingcart.proto +0 -108
- package/protos/webui/service_steamawards.proto +0 -19
- package/protos/webui/service_steamcharts.proto +0 -75
- package/protos/webui/service_steamengine.proto +0 -36
- package/protos/webui/service_steamlearn.proto +0 -727
- package/protos/webui/service_steamnotification.proto +0 -84
- package/protos/webui/service_steamtv.proto +0 -495
- package/protos/webui/service_steamvrvoicechat.proto +0 -67
- package/protos/webui/service_steamvrwebrtc.proto +0 -48
- package/protos/webui/service_storagedevicemanager.proto +0 -104
- package/protos/webui/service_store.proto +0 -289
- package/protos/webui/service_storeappsimilarity.proto +0 -76
- package/protos/webui/service_storebrowse.proto +0 -73
- package/protos/webui/service_storequery.proto +0 -97
- package/protos/webui/service_storesales.proto +0 -15
- package/protos/webui/service_storetopsellers.proto +0 -44
- package/protos/webui/service_systemmanager.proto +0 -11
- package/protos/webui/service_test_transporterror.proto +0 -6
- package/protos/webui/service_transportauth.proto +0 -12
- package/protos/webui/service_transportvalidation.proto +0 -69
- package/protos/webui/service_twofactor.proto +0 -181
- package/protos/webui/service_useraccount.proto +0 -138
- package/protos/webui/service_usergameactivity.proto +0 -34
- package/protos/webui/service_usergamenotes.proto +0 -53
- package/protos/webui/service_usernews.proto +0 -68
- package/protos/webui/service_userreviews.proto +0 -96
- package/protos/webui/service_video.proto +0 -128
- package/protos/webui/service_voicechat.proto +0 -139
- 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
|
45
|
-
optional string thumbnail_upload_token = 3
|
46
|
-
optional uint32 thumbnail_interval_seconds = 4
|
47
|
-
optional uint32 heartbeat_interval_seconds = 5
|
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
|
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
|
83
|
-
optional fixed64 existing_broadcast_id = 2
|
84
|
-
optional fixed64 viewer_token = 3
|
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
|
130
|
-
optional fixed64 broadcast_id = 2
|
131
|
-
optional fixed64 viewer_token = 3
|
132
|
-
optional uint32 representation = 4
|
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
|
137
|
-
optional fixed64 broadcast_id = 2
|
138
|
-
optional fixed64 viewer_token = 3
|
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
|
143
|
-
optional fixed64 broadcast_id = 2
|
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
|
216
|
-
optional string country_code = 5
|
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
|
289
|
-
optional uint32 start_time = 2
|
290
|
-
optional uint32 end_time = 3
|
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
|
298
|
+
optional uint64 broadcast_clip_id = 1;
|
299
299
|
}
|
300
300
|
|
301
301
|
message CBroadcast_GetClipDetails_Response {
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
465
|
-
optional fixed64 steamid = 2
|
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
|
471
|
-
optional uint32 num_viewers = 2
|
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
|
476
|
-
optional uint32 num_viewers = 2
|
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
|
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
|
-
|
567
|
-
|
568
|
-
rpc
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
rpc
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
rpc
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
rpc
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
rpc
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
rpc
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
rpc
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
rpc
|
597
|
-
|
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
|
-
|
710
|
-
|
711
|
-
|
712
|
-
rpc
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
rpc
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
rpc
|
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
|
}
|