steamutils 1.4.83 → 1.4.85

Sign up to get free protection for your applications and to get access to all the features.
Files changed (233) hide show
  1. package/.idea/codeStyles/Project.xml +0 -1
  2. package/.idea/gbrowser_project.xml +11 -0
  3. package/.idea/git_toolbox_blame.xml +6 -0
  4. package/.idea/git_toolbox_prj.xml +15 -0
  5. package/.prettierrc.json +3 -3
  6. package/SteamClient.js +18 -12
  7. package/_steamproto.js +33 -33
  8. package/axios.js +84 -84
  9. package/bufferHelpers.js +115 -115
  10. package/cheerio.js +103 -103
  11. package/const.js +518 -518
  12. package/create_proto.js +96 -96
  13. package/create_remote_file.js +146 -146
  14. package/full_steamproto.js +34 -34
  15. package/helpers/protos.js +48 -48
  16. package/index.js +7781 -7781
  17. package/package.json +1 -1
  18. package/protos/csgo/base_gcmessages.proto +553 -553
  19. package/protos/csgo/base_gcmessages_csgo.proto +547 -547
  20. package/protos/csgo/c_peer2peer_netmessages.proto +55 -55
  21. package/protos/csgo/clientmessages.proto +48 -48
  22. package/protos/csgo/connectionless_netmessages.proto +17 -17
  23. package/protos/csgo/cs_gameevents.proto +35 -35
  24. package/protos/csgo/cs_usercmd.proto +34 -34
  25. package/protos/csgo/cstrike15_usermessages.proto +592 -592
  26. package/protos/csgo/demo.proto +165 -165
  27. package/protos/csgo/econ_gcmessages.proto +219 -219
  28. package/protos/csgo/enums_clientserver.proto +1529 -1529
  29. package/protos/csgo/fatdemo.proto +125 -125
  30. package/protos/csgo/gameevents.proto +120 -120
  31. package/protos/csgo/gcsdk_gcmessages.proto +323 -323
  32. package/protos/csgo/gcsystemmsgs.proto +243 -243
  33. package/protos/csgo/netmessages.proto +618 -618
  34. package/protos/csgo/networkbasetypes.proto +246 -246
  35. package/protos/csgo/networksystem_protomessages.proto +17 -17
  36. package/protos/csgo/steamdatagram_messages_auth.proto +65 -65
  37. package/protos/csgo/steamdatagram_messages_sdr.proto +534 -534
  38. package/protos/csgo/steammessages_cloud.steamworkssdk.proto +68 -68
  39. package/protos/csgo/steammessages_gamenetworkingui.proto +61 -61
  40. package/protos/csgo/steammessages_helprequest.steamworkssdk.proto +22 -22
  41. package/protos/csgo/steammessages_oauth.steamworkssdk.proto +18 -18
  42. package/protos/csgo/steammessages_player.steamworkssdk.proto +254 -254
  43. package/protos/csgo/steammessages_publishedfile.steamworkssdk.proto +233 -233
  44. package/protos/csgo/steamnetworkingsockets_messages.proto +205 -205
  45. package/protos/csgo/steamnetworkingsockets_messages_certs.proto +39 -39
  46. package/protos/csgo/steamnetworkingsockets_messages_udp.proto +75 -75
  47. package/protos/csgo/te.proto +259 -259
  48. package/protos/csgo/uifontfile_format.proto +13 -13
  49. package/protos/csgo/usercmd.proto +39 -39
  50. package/protos/csgo/usermessages.proto +752 -752
  51. package/protos/google/protobuf/descriptor.proto +281 -281
  52. package/protos/steam/clientmetrics.proto +45 -45
  53. package/protos/steam/content_manifest.proto +62 -62
  54. package/protos/steam/contenthubs.proto +41 -41
  55. package/protos/steam/encrypted_app_ticket.proto +10 -10
  56. package/protos/steam/enums.proto +501 -501
  57. package/protos/steam/enums_clientserver.proto +1508 -1508
  58. package/protos/steam/enums_productinfo.proto +14 -14
  59. package/protos/steam/htmlmessages.proto +1039 -1039
  60. package/protos/steam/offline_ticket.proto +8 -8
  61. package/protos/steam/steamdatagram_messages_auth.proto +65 -65
  62. package/protos/steam/steamdatagram_messages_sdr.proto +533 -533
  63. package/protos/steam/steammessages_accounthardware.steamclient.proto +167 -167
  64. package/protos/steam/steammessages_appoverview.proto +204 -204
  65. package/protos/steam/steammessages_auth.steamclient.proto +375 -375
  66. package/protos/steam/steammessages_broadcast.steamclient.proto +618 -618
  67. package/protos/steam/steammessages_chat.steamclient.proto +1070 -1070
  68. package/protos/steam/steammessages_client_objects.proto +649 -649
  69. package/protos/steam/steammessages_clientlanp2p.proto +43 -43
  70. package/protos/steam/steammessages_clientmetrics.steamclient.proto +192 -192
  71. package/protos/steam/steammessages_clientnotificationtypes.proto +250 -250
  72. package/protos/steam/steammessages_clientserver.proto +392 -392
  73. package/protos/steam/steammessages_clientserver_2.proto +771 -771
  74. package/protos/steam/steammessages_clientserver_appinfo.proto +131 -131
  75. package/protos/steam/steammessages_clientserver_friends.proto +260 -260
  76. package/protos/steam/steammessages_clientserver_gameservers.proto +159 -159
  77. package/protos/steam/steammessages_clientserver_lbs.proto +70 -70
  78. package/protos/steam/steammessages_clientserver_login.proto +167 -167
  79. package/protos/steam/steammessages_clientserver_mms.proto +233 -233
  80. package/protos/steam/steammessages_clientserver_ucm.proto +207 -207
  81. package/protos/steam/steammessages_clientserver_uds.proto +125 -125
  82. package/protos/steam/steammessages_clientserver_ufs.proto +45 -45
  83. package/protos/steam/steammessages_clientserver_userstats.proto +80 -80
  84. package/protos/steam/steammessages_cloud.steamclient.proto +422 -422
  85. package/protos/steam/steammessages_contentsystem.steamclient.proto +123 -123
  86. package/protos/steam/steammessages_credentials.steamclient.proto +96 -96
  87. package/protos/steam/steammessages_datapublisher.steamclient.proto +102 -102
  88. package/protos/steam/steammessages_depotbuilder.steamclient.proto +99 -99
  89. package/protos/steam/steammessages_deviceauth.steamclient.proto +169 -169
  90. package/protos/steam/steammessages_econ.steamclient.proto +137 -137
  91. package/protos/steam/steammessages_familygroups.steamclient.proto +441 -441
  92. package/protos/steam/steammessages_friendmessages.steamclient.proto +141 -141
  93. package/protos/steam/steammessages_gamenetworking.steamclient.proto +25 -25
  94. package/protos/steam/steammessages_gamenetworkingui.proto +61 -61
  95. package/protos/steam/steammessages_gamenotifications.steamclient.proto +131 -131
  96. package/protos/steam/steammessages_gameservers.steamclient.proto +136 -136
  97. package/protos/steam/steammessages_hiddevices.proto +157 -157
  98. package/protos/steam/steammessages_inventory.steamclient.proto +172 -172
  99. package/protos/steam/steammessages_linkfilter.steamclient.proto +39 -39
  100. package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +29 -29
  101. package/protos/steam/steammessages_market.steamclient.proto +22 -22
  102. package/protos/steam/steammessages_marketingmessages.steamclient.proto +273 -273
  103. package/protos/steam/steammessages_offline.steamclient.proto +33 -33
  104. package/protos/steam/steammessages_parental.steamclient.proto +262 -262
  105. package/protos/steam/steammessages_parties.steamclient.proto +75 -75
  106. package/protos/steam/steammessages_partnerapps.steamclient.proto +106 -106
  107. package/protos/steam/steammessages_player.steamclient.proto +915 -915
  108. package/protos/steam/steammessages_publishedfile.steamclient.proto +737 -737
  109. package/protos/steam/steammessages_qms.steamclient.proto +111 -111
  110. package/protos/steam/steammessages_remoteclient.proto +100 -100
  111. package/protos/steam/steammessages_remoteclient_discovery.proto +244 -244
  112. package/protos/steam/steammessages_remoteclient_service.steamclient.proto +31 -31
  113. package/protos/steam/steammessages_remoteclient_service_messages.proto +217 -217
  114. package/protos/steam/steammessages_remoteplay.proto +975 -975
  115. package/protos/steam/steammessages_secrets.steamclient.proto +35 -35
  116. package/protos/steam/steammessages_shader.steamclient.proto +89 -89
  117. package/protos/steam/steammessages_site_license.steamclient.proto +103 -103
  118. package/protos/steam/steammessages_sitelicenseclient.proto +38 -38
  119. package/protos/steam/steammessages_siteserverui.proto +130 -130
  120. package/protos/steam/steammessages_steamtv.steamclient.proto +533 -533
  121. package/protos/steam/steammessages_store.steamclient.proto +404 -404
  122. package/protos/steam/steammessages_storebrowse.steamclient.proto +457 -457
  123. package/protos/steam/steammessages_timedtrial.steamclient.proto +40 -40
  124. package/protos/steam/steammessages_twofactor.steamclient.proto +157 -157
  125. package/protos/steam/steammessages_unified_test.steamclient.proto +51 -51
  126. package/protos/steam/steammessages_useraccount.steamclient.proto +211 -211
  127. package/protos/steam/steammessages_vac.steamclient.proto +37 -37
  128. package/protos/steam/steammessages_video.steamclient.proto +68 -68
  129. package/protos/steam/steammessages_virtualcontroller.proto +138 -138
  130. package/protos/steam/steammessages_workshop.steamclient.proto +19 -19
  131. package/protos/steam/steamnetworkingsockets_messages.proto +205 -205
  132. package/protos/steam/steamnetworkingsockets_messages_certs.proto +39 -39
  133. package/protos/steam/steamnetworkingsockets_messages_udp.proto +75 -75
  134. package/protos/steam/webuimessages_achievements.proto +29 -29
  135. package/protos/steam/webuimessages_gamenotes.proto +21 -21
  136. package/protos/steam/webuimessages_gamescope.proto +57 -57
  137. package/protos/steam/webuimessages_steamengine.proto +41 -41
  138. package/protos/steam/webuimessages_steamos.proto +114 -114
  139. package/protos/steam/webuimessages_storagedevicemanager.proto +110 -110
  140. package/protos/steam/webuimessages_systemmanager.proto +17 -17
  141. package/protos/steam/webuimessages_transport.proto +22 -22
  142. package/protos/steam/webuimessages_transportvalidation.proto +111 -111
  143. package/protos/webui/common.proto +4024 -4024
  144. package/protos/webui/service_accountcart.proto +153 -153
  145. package/protos/webui/service_accountlinking.proto +27 -27
  146. package/protos/webui/service_accountprivacy.proto +42 -42
  147. package/protos/webui/service_accountprivateapps.proto +34 -34
  148. package/protos/webui/service_auction.proto +97 -97
  149. package/protos/webui/service_authentication.proto +222 -222
  150. package/protos/webui/service_authenticationsupport.proto +74 -74
  151. package/protos/webui/service_broadcast.proto +562 -562
  152. package/protos/webui/service_chat.proto +11 -11
  153. package/protos/webui/service_chatroom.proto +810 -810
  154. package/protos/webui/service_chatusability.proto +107 -107
  155. package/protos/webui/service_checkout.proto +84 -84
  156. package/protos/webui/service_clan.proto +41 -41
  157. package/protos/webui/service_clanchatrooms.proto +25 -25
  158. package/protos/webui/service_clanfaqs.proto +202 -202
  159. package/protos/webui/service_clientcomm.proto +151 -151
  160. package/protos/webui/service_clientmetrics.proto +22 -22
  161. package/protos/webui/service_cloud.proto +222 -222
  162. package/protos/webui/service_cloudconfigstore.proto +51 -51
  163. package/protos/webui/service_cloudgaming.proto +30 -30
  164. package/protos/webui/service_community.proto +365 -365
  165. package/protos/webui/service_dailydeal.proto +89 -89
  166. package/protos/webui/service_econ.proto +134 -134
  167. package/protos/webui/service_embedded.proto +24 -24
  168. package/protos/webui/service_experimentservice.proto +6 -6
  169. package/protos/webui/service_familygroups.proto +355 -355
  170. package/protos/webui/service_fovasvideo.proto +15 -15
  171. package/protos/webui/service_friendmessages.proto +133 -133
  172. package/protos/webui/service_friendslist.proto +70 -70
  173. package/protos/webui/service_gamenotes.proto +15 -15
  174. package/protos/webui/service_gamerecording.proto +265 -265
  175. package/protos/webui/service_gamerecordingclip.proto +85 -85
  176. package/protos/webui/service_gamerecordingdebug.proto +52 -52
  177. package/protos/webui/service_helprequestlogs.proto +16 -16
  178. package/protos/webui/service_loyaltyrewards.proto +252 -252
  179. package/protos/webui/service_marketingmessages.proto +215 -215
  180. package/protos/webui/service_mobileapp.proto +18 -18
  181. package/protos/webui/service_mobileauth.proto +24 -24
  182. package/protos/webui/service_mobiledevice.proto +26 -26
  183. package/protos/webui/service_mobileperaccount.proto +31 -31
  184. package/protos/webui/service_news.proto +110 -110
  185. package/protos/webui/service_parental.proto +258 -258
  186. package/protos/webui/service_partnermembershipinvite.proto +34 -34
  187. package/protos/webui/service_partnerstorebrowse.proto +28 -28
  188. package/protos/webui/service_phone.proto +51 -51
  189. package/protos/webui/service_physicalgoods.proto +15 -15
  190. package/protos/webui/service_player.proto +918 -918
  191. package/protos/webui/service_promotioneventinvites.proto +109 -109
  192. package/protos/webui/service_promotionplanning.proto +186 -186
  193. package/protos/webui/service_promotionstats.proto +23 -23
  194. package/protos/webui/service_publishedfile.proto +714 -714
  195. package/protos/webui/service_publishing.proto +200 -200
  196. package/protos/webui/service_quest.proto +127 -127
  197. package/protos/webui/service_salefeature.proto +373 -373
  198. package/protos/webui/service_saleitemrewards.proto +54 -54
  199. package/protos/webui/service_shoppingcart.proto +152 -152
  200. package/protos/webui/service_steamawards.proto +76 -76
  201. package/protos/webui/service_steamcharts.proto +75 -75
  202. package/protos/webui/service_steamengine.proto +36 -36
  203. package/protos/webui/service_steamlearn.proto +876 -876
  204. package/protos/webui/service_steamnotification.proto +73 -73
  205. package/protos/webui/service_steamtv.proto +495 -495
  206. package/protos/webui/service_steamvrvoicechat.proto +67 -67
  207. package/protos/webui/service_steamvrwebrtc.proto +48 -48
  208. package/protos/webui/service_storagedevicemanager.proto +104 -104
  209. package/protos/webui/service_store.proto +359 -359
  210. package/protos/webui/service_storeappsimilarity.proto +76 -76
  211. package/protos/webui/service_storebrowse.proto +103 -103
  212. package/protos/webui/service_storemarketing.proto +44 -44
  213. package/protos/webui/service_storequery.proto +103 -103
  214. package/protos/webui/service_storesales.proto +87 -87
  215. package/protos/webui/service_storetopsellers.proto +44 -44
  216. package/protos/webui/service_systemmanager.proto +11 -11
  217. package/protos/webui/service_test_transporterror.proto +6 -6
  218. package/protos/webui/service_transportauth.proto +17 -17
  219. package/protos/webui/service_transportvalidation.proto +69 -69
  220. package/protos/webui/service_twofactor.proto +170 -170
  221. package/protos/webui/service_useraccount.proto +142 -142
  222. package/protos/webui/service_usergameactivity.proto +34 -34
  223. package/protos/webui/service_usergamenotes.proto +70 -70
  224. package/protos/webui/service_usernews.proto +68 -68
  225. package/protos/webui/service_userreviews.proto +97 -97
  226. package/protos/webui/service_video.proto +50 -50
  227. package/protos/webui/service_videoclip.proto +62 -62
  228. package/protos/webui/service_voicechat.proto +139 -139
  229. package/protos/webui/service_webrtc.proto +52 -52
  230. package/remote.js +2287 -2287
  231. package/steamproto.js +1 -1
  232. package/utils.js +1 -1
  233. package/.idea/deployment.xml +0 -14
@@ -1,618 +1,618 @@
1
- import "steammessages_base.proto";
2
- import "steammessages_unified_base.steamclient.proto";
3
-
4
- option cc_generic_services = true;
5
-
6
- enum EBroadcastWatchLocation {
7
- k_EBroadcastWatchLocation_Invalid = 0;
8
- k_EBroadcastWatchLocation_SteamTV_Tab = 1;
9
- k_EBroadcastWatchLocation_SteamTV_WatchParty = 2;
10
- k_EBroadcastWatchLocation_Chat_Tab = 3;
11
- k_EBroadcastWatchLocation_Chat_WatchParty = 4;
12
- k_EBroadcastWatchLocation_CommunityPage = 5;
13
- k_EBroadcastWatchLocation_StoreAppPage = 6;
14
- k_EBroadcastWatchLocation_InGame = 7;
15
- k_EBroadcastWatchLocation_BigPicture = 8;
16
- k_EBroadcastWatchLocation_SalesPage = 9;
17
- k_EBroadcastWatchLocation_CuratorPage = 10;
18
- k_EBroadcastWatchLocation_DeveloperPage = 11;
19
- k_EBroadcastWatchLocation_Chat_Friends = 12;
20
- k_EBroadcastWatchLocation_SteamTV_Web = 13;
21
- k_EBroadcastWatchLocation_DesktopUI_Overlay = 14;
22
- }
23
-
24
- enum EBroadcastChatPermission {
25
- k_EBroadcastChatPermissionPublic = 0;
26
- k_EBroadcastChatPermissionOwnsApp = 1;
27
- }
28
-
29
- message CBroadcast_BeginBroadcastSession_Request {
30
- optional int32 permission = 1;
31
- optional uint64 gameid = 2;
32
- optional uint64 client_instance_id = 3;
33
- optional string title = 4;
34
- optional uint32 cellid = 5;
35
- optional uint64 rtmp_token = 6;
36
- optional bool thumbnail_upload = 7;
37
- optional uint32 sysid = 9;
38
- optional bool allow_webrtc = 10;
39
- }
40
-
41
- message CBroadcast_BeginBroadcastSession_Response {
42
- optional fixed64 broadcast_id = 1;
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;
47
- }
48
-
49
- message CBroadcast_EndBroadcastSession_Request {
50
- optional fixed64 broadcast_id = 1;
51
- }
52
-
53
- message CBroadcast_EndBroadcastSession_Response {
54
- }
55
-
56
- message CBroadcast_StartBroadcastUpload_Request {
57
- optional fixed64 broadcast_id = 1;
58
- optional uint32 cellid = 2;
59
- optional bool as_rtmp = 3;
60
- optional uint32 delay_seconds = 4;
61
- optional uint64 rtmp_token = 5 [default = 0];
62
- optional uint32 upload_ip_address = 6;
63
- optional bool is_replay = 7;
64
- optional uint32 sysid = 8;
65
- }
66
-
67
- message CBroadcast_StartBroadcastUpload_Response {
68
- optional string upload_token = 1;
69
- optional string upload_address = 2;
70
- optional fixed64 broadcast_upload_id = 3;
71
- optional bool enable_replay = 6;
72
- optional string http_address = 7;
73
- }
74
-
75
- message CBroadcast_NotifyBroadcastUploadStop_Notification {
76
- optional fixed64 broadcast_upload_id = 1;
77
- optional uint32 upload_result = 2;
78
- }
79
-
80
- message CBroadcast_WatchBroadcast_Request {
81
- optional fixed64 steamid = 1;
82
- optional fixed64 existing_broadcast_id = 2;
83
- optional fixed64 viewer_token = 3;
84
- optional uint32 client_cell = 5;
85
- optional .EBroadcastWatchLocation watch_location = 6 [default = k_EBroadcastWatchLocation_Invalid];
86
- optional bool is_webrtc = 7;
87
- }
88
-
89
- message CBroadcast_WatchBroadcast_Response {
90
- enum EWatchResponse {
91
- k_EWatchResponseReady = 1;
92
- k_EWatchResponseNotAvailable = 2;
93
- k_EWatchResponseWaitingForApproval = 3;
94
- k_EWatchResponseWaitingForStart = 4;
95
- k_EWatchResponseInvalidSession = 5;
96
- k_EWatchResponseTooManyBroadcasts = 6;
97
- k_EWatchResponseWaitingForReconnect = 7;
98
- k_EWatchResponseSystemNotSupported = 8;
99
- k_EWatchResponseUserRestricted = 9;
100
- k_EWatchResponseClientOutOfDate = 10;
101
- k_EWatchResponsePoorUploadQuality = 11;
102
- k_EWatchResponseMissingSubscription = 12;
103
- k_EWatchResponseTooManyViewers = 13;
104
- }
105
-
106
- optional .CBroadcast_WatchBroadcast_Response.EWatchResponse response = 1 [default = k_EWatchResponseReady];
107
- optional string mpd_url = 2;
108
- optional fixed64 broadcast_id = 3;
109
- optional uint64 gameid = 4;
110
- optional string title = 5;
111
- optional uint32 num_viewers = 6;
112
- optional int32 permission = 7;
113
- optional bool is_rtmp = 8;
114
- optional int32 seconds_delay = 9;
115
- optional fixed64 viewer_token = 10;
116
- optional string hls_m3u8_master_url = 11;
117
- optional int32 heartbeat_interval = 12;
118
- optional string thumbnail_url = 13;
119
- optional bool is_webrtc = 14;
120
- optional fixed64 webrtc_session_id = 15;
121
- optional string webrtc_offer_sdp = 16;
122
- optional string webrtc_turn_server = 17;
123
- optional bool is_replay = 18;
124
- optional int32 duration = 19;
125
- optional string cdn_auth_url_parameters = 20;
126
- }
127
-
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;
133
- }
134
-
135
- message CBroadcast_StopWatchingBroadcast_Notification {
136
- optional fixed64 steamid = 1;
137
- optional fixed64 broadcast_id = 2;
138
- optional fixed64 viewer_token = 3;
139
- }
140
-
141
- message CBroadcast_GetBroadcastStatus_Request {
142
- optional fixed64 steamid = 1;
143
- optional fixed64 broadcast_id = 2;
144
- }
145
-
146
- message CBroadcast_GetBroadcastStatus_Response {
147
- optional uint64 gameid = 1;
148
- optional string title = 2;
149
- optional uint32 num_viewers = 3;
150
- optional int32 permission = 4;
151
- optional bool is_rtmp = 5;
152
- optional int32 seconds_delay = 6;
153
- optional bool is_publisher = 7;
154
- optional string thumbnail_url = 8;
155
- optional int32 update_interval = 9;
156
- optional bool is_uploading = 10;
157
- optional uint32 duration = 11;
158
- optional bool is_replay = 12;
159
- optional bool is_capturing_vod = 13;
160
- optional bool is_store_whitelisted = 14;
161
- }
162
-
163
- message CBroadcast_GetBroadcastThumbnail_Request {
164
- optional fixed64 steamid = 1;
165
- optional fixed64 broadcast_id = 2;
166
- }
167
-
168
- message CBroadcast_GetBroadcastThumbnail_Response {
169
- optional string thumbnail_url = 1;
170
- optional int32 update_interval = 2;
171
- optional int32 num_viewers = 3;
172
- optional int32 duration = 4;
173
- }
174
-
175
- message CBroadcast_InviteToBroadcast_Request {
176
- optional fixed64 steamid = 1;
177
- optional bool approval_response = 2;
178
- }
179
-
180
- message CBroadcast_InviteToBroadcast_Response {
181
- optional bool success = 1;
182
- }
183
-
184
- message CBroadcast_SendBroadcastStateToServer_Request {
185
- optional int32 permission = 1;
186
- optional uint64 gameid = 2;
187
- optional string title = 3;
188
- optional string game_data_config = 4;
189
- }
190
-
191
- message CBroadcast_SendBroadcastStateToServer_Response {
192
- }
193
-
194
- message CBroadcast_NotifyBroadcastSessionHeartbeat_Notification {
195
- optional fixed64 broadcast_id = 1;
196
- }
197
-
198
- message CBroadcast_GetBroadcastChatInfo_Request {
199
- optional fixed64 steamid = 1;
200
- optional fixed64 broadcast_id = 2;
201
- optional uint32 client_ip = 3;
202
- optional uint32 client_cell = 4;
203
- }
204
-
205
- message CBroadcast_GetBroadcastChatInfo_Response {
206
- optional fixed64 chat_id = 1;
207
- optional string view_url_template = 3;
208
- repeated uint32 flair_group_ids = 4;
209
- }
210
-
211
- message CBroadcast_PostChatMessage_Request {
212
- optional fixed64 chat_id = 1;
213
- optional string message = 2;
214
- optional uint32 instance_id = 3;
215
- optional uint32 language = 4 [default = 0];
216
- optional string country_code = 5;
217
- }
218
-
219
- message CBroadcast_PostChatMessage_Response {
220
- optional string persona_name = 1;
221
- optional bool in_game = 2;
222
- optional int32 result = 3;
223
- optional int32 cooldown_time_seconds = 4;
224
- }
225
-
226
- message CBroadcast_UpdateChatMessageFlair_Request {
227
- optional fixed64 chat_id = 1;
228
- optional string flair = 2;
229
- }
230
-
231
- message CBroadcast_UpdateChatMessageFlair_Response {
232
- optional int32 result = 1;
233
- optional fixed64 chat_id = 2;
234
- optional string flair = 3;
235
- }
236
-
237
- message CBroadcast_MuteBroadcastChatUser_Request {
238
- optional fixed64 chat_id = 1;
239
- optional fixed64 user_steamid = 2;
240
- optional bool muted = 3;
241
- }
242
-
243
- message CBroadcast_MuteBroadcastChatUser_Response {
244
- }
245
-
246
- message CBroadcast_RemoveUserChatText_Request {
247
- optional fixed64 chat_id = 1;
248
- optional fixed64 user_steamid = 2;
249
- }
250
-
251
- message CBroadcast_RemoveUserChatText_Response {
252
- }
253
-
254
- message CBroadcast_GetBroadcastChatUserNames_Request {
255
- optional fixed64 chat_id = 1;
256
- repeated fixed64 user_steamid = 2;
257
- }
258
-
259
- message CBroadcast_GetBroadcastChatUserNames_Response {
260
- message PersonaName {
261
- optional fixed64 steam_id = 1 [(allow_field_named_steam_id) = true];
262
- optional string persona = 2;
263
- }
264
-
265
- repeated .CBroadcast_GetBroadcastChatUserNames_Response.PersonaName persona_names = 1;
266
- }
267
-
268
- message CBroadcast_StartBuildClip_Request {
269
- optional fixed64 steamid = 1;
270
- optional fixed64 broadcast_session_id = 2;
271
- optional int32 first_segment = 3;
272
- optional int32 num_segments = 4;
273
- optional string clip_description = 5;
274
- }
275
-
276
- message CBroadcast_StartBuildClip_Response {
277
- optional fixed64 broadcast_clip_id = 1;
278
- }
279
-
280
- message CBroadcast_GetBuildClipStatus_Request {
281
- optional fixed64 broadcast_clip_id = 1;
282
- }
283
-
284
- message CBroadcast_GetBuildClipStatus_Response {
285
- }
286
-
287
- message CBroadcast_SetClipDetails_Request {
288
- optional uint64 broadcast_clip_id = 1;
289
- optional uint32 start_time = 2;
290
- optional uint32 end_time = 3;
291
- optional string video_description = 4;
292
- }
293
-
294
- message CBroadcast_SetClipDetails_Response {
295
- }
296
-
297
- message CBroadcast_GetClipDetails_Request {
298
- optional uint64 broadcast_clip_id = 1;
299
- }
300
-
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;
312
- }
313
-
314
- message CBroadcast_SetRTMPInfo_Request {
315
- optional int32 broadcast_permission = 1;
316
- optional bool update_token = 2;
317
- optional int32 broadcast_delay = 3;
318
- optional uint32 app_id = 4;
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;
326
- optional string wordban_list = 12;
327
- }
328
-
329
- message CBroadcast_SetRTMPInfo_Response {
330
- }
331
-
332
- message CBroadcast_GetRTMPInfo_Request {
333
- optional uint32 ip = 1;
334
- optional fixed64 steamid = 2;
335
- }
336
-
337
- message CBroadcast_GetRTMPInfo_Response {
338
- optional int32 broadcast_permission = 1;
339
- optional string rtmp_host = 2;
340
- optional string rtmp_token = 3;
341
- optional int32 broadcast_delay = 4;
342
- optional uint32 app_id = 5;
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;
350
- optional string wordban_list = 13;
351
- }
352
-
353
- message CBroadcast_WebRTCHaveTURNServer_Notification {
354
- optional fixed64 broadcast_session_id = 1;
355
- optional string turn_server = 2;
356
- }
357
-
358
- message CBroadcast_WebRTCStartResult_Request {
359
- optional fixed64 webrtc_session_id = 1;
360
- optional bool started = 2;
361
- optional string offer = 3;
362
- optional uint32 resolution_x = 4;
363
- optional uint32 resolution_y = 5;
364
- optional uint32 fps = 6;
365
- }
366
-
367
- message CBroadcast_WebRTCStartResult_Response {
368
- }
369
-
370
- message CBroadcast_WebRTCStopped_Request {
371
- optional fixed64 webrtc_session_id = 1;
372
- }
373
-
374
- message CBroadcast_WebRTCStopped_Response {
375
- }
376
-
377
- message CBroadcast_WebRTCSetAnswer_Request {
378
- optional fixed64 broadcaster_steamid = 1;
379
- optional fixed64 webrtc_session_id = 2;
380
- optional string answer = 3;
381
- }
382
-
383
- message CBroadcast_WebRTCSetAnswer_Response {
384
- }
385
-
386
- message CBroadcast_WebRTCLookupTURNServer_Request {
387
- optional uint32 cellid = 1;
388
- }
389
-
390
- message CBroadcast_WebRTCLookupTURNServer_Response {
391
- optional string turn_server = 1;
392
- }
393
-
394
- message CBroadcast_WebRTC_Candidate {
395
- optional string sdp_mid = 1;
396
- optional int32 sdp_mline_index = 2;
397
- optional string candidate = 3;
398
- }
399
-
400
- message CBroadcast_WebRTCAddHostCandidate_Request {
401
- optional fixed64 webrtc_session_id = 1;
402
- optional .CBroadcast_WebRTC_Candidate candidate = 2;
403
- }
404
-
405
- message CBroadcast_WebRTCAddHostCandidate_Response {
406
- }
407
-
408
- message CBroadcast_WebRTCAddViewerCandidate_Request {
409
- optional fixed64 broadcaster_steamid = 1;
410
- optional fixed64 webrtc_session_id = 2;
411
- optional .CBroadcast_WebRTC_Candidate candidate = 3;
412
- }
413
-
414
- message CBroadcast_WebRTCAddViewerCandidate_Response {
415
- }
416
-
417
- message CBroadcast_WebRTCGetHostCandidates_Request {
418
- optional fixed64 broadcaster_steamid = 1;
419
- optional fixed64 webrtc_session_id = 2;
420
- optional uint32 candidate_generation = 3;
421
- }
422
-
423
- message CBroadcast_WebRTCGetHostCandidates_Response {
424
- optional uint32 candidate_generation = 1;
425
- repeated .CBroadcast_WebRTC_Candidate candidates = 2;
426
- }
427
-
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;
434
- }
435
-
436
- message CBroadcast_GetBroadcastUploadStats_Response {
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;
458
- }
459
-
460
- repeated .CBroadcast_GetBroadcastUploadStats_Response.UploadStats upload_stats = 1;
461
- }
462
-
463
- message CBroadcast_GetBroadcastViewerStats_Request {
464
- optional uint64 upload_id = 1;
465
- optional fixed64 steamid = 2;
466
- }
467
-
468
- message CBroadcast_GetBroadcastViewerStats_Response {
469
- message ViewerStats {
470
- optional uint32 time = 1;
471
- optional uint32 num_viewers = 2;
472
- }
473
-
474
- message CountryStats {
475
- optional string country_code = 1;
476
- optional uint32 num_viewers = 2;
477
- }
478
-
479
- repeated .CBroadcast_GetBroadcastViewerStats_Response.ViewerStats viewer_stats = 1;
480
- repeated .CBroadcast_GetBroadcastViewerStats_Response.CountryStats country_stats = 2;
481
- }
482
-
483
- message CBroadcast_BroadcastViewerState_Notification {
484
- enum EViewerState {
485
- k_EViewerNeedsApproval = 1;
486
- k_EViewerWatching = 2;
487
- k_EViewerLeft = 3;
488
- }
489
-
490
- optional fixed64 steamid = 1;
491
- optional .CBroadcast_BroadcastViewerState_Notification.EViewerState state = 2 [default = k_EViewerNeedsApproval];
492
- }
493
-
494
- message CBroadcast_WaitingBroadcastViewer_Notification {
495
- optional fixed64 broadcast_id = 1;
496
- }
497
-
498
- message CBroadcast_BroadcastUploadStarted_Notification {
499
- optional fixed64 broadcast_id = 1;
500
- optional string upload_token = 2;
501
- optional string upload_address = 3;
502
- optional string http_address = 4;
503
- optional fixed64 broadcast_upload_id = 5;
504
- optional uint32 heartbeat_interval_seconds = 6;
505
- optional bool is_rtmp = 7;
506
- }
507
-
508
- message CBroadcast_StopBroadcastUpload_Notification {
509
- optional fixed64 broadcast_id = 1;
510
- optional fixed64 broadcast_relay_id = 2;
511
- optional uint32 upload_result = 3;
512
- optional bool too_many_poor_uploads = 4;
513
- }
514
-
515
- message CBroadcast_SessionClosed_Notification {
516
- optional fixed64 broadcast_id = 1;
517
- }
518
-
519
- message CBroadcast_ViewerBroadcastInvite_Notification {
520
- optional fixed64 broadcaster_steamid = 1;
521
- }
522
-
523
- message CBroadcast_BroadcastStatus_Notification {
524
- optional fixed64 broadcast_id = 1;
525
- optional int32 num_viewers = 2;
526
- }
527
-
528
- message CBroadcast_BroadcastChannelLive_Notification {
529
- optional fixed64 broadcast_channel_id = 1;
530
- optional string broadcast_channel_name = 2;
531
- optional string broadcast_channel_avatar = 3;
532
- }
533
-
534
- message CBroadcast_SendThumbnailToRelay_Notification {
535
- optional string thumbnail_upload_token = 1;
536
- optional fixed64 thumbnail_broadcast_session_id = 2;
537
- optional bytes thumbnail_data = 3;
538
- optional uint32 thumbnail_width = 4;
539
- optional uint32 thumbnail_height = 5;
540
- }
541
-
542
- message CBroadcast_WebRTCNeedTURNServer_Notification {
543
- optional fixed64 broadcast_session_id = 1;
544
- }
545
-
546
- message CBroadcast_WebRTCStart_Notification {
547
- optional fixed64 broadcast_session_id = 1;
548
- optional fixed64 webrtc_session_id = 2;
549
- optional fixed64 viewer_steamid = 3;
550
- optional fixed64 viewer_token = 4;
551
- }
552
-
553
- message CBroadcast_WebRTCSetAnswer_Notification {
554
- optional fixed64 broadcast_session_id = 1;
555
- optional fixed64 webrtc_session_id = 2;
556
- optional string answer = 3;
557
- }
558
-
559
- message CBroadcast_WebRTCAddViewerCandidate_Notification {
560
- optional fixed64 broadcast_session_id = 1;
561
- optional fixed64 webrtc_session_id = 2;
562
- optional .CBroadcast_WebRTC_Candidate candidate = 3;
563
- }
564
-
565
- service Broadcast {
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);
600
- }
601
-
602
- service BroadcastClient {
603
- option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
604
-
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);
618
- }
1
+ import "steammessages_base.proto";
2
+ import "steammessages_unified_base.steamclient.proto";
3
+
4
+ option cc_generic_services = true;
5
+
6
+ enum EBroadcastWatchLocation {
7
+ k_EBroadcastWatchLocation_Invalid = 0;
8
+ k_EBroadcastWatchLocation_SteamTV_Tab = 1;
9
+ k_EBroadcastWatchLocation_SteamTV_WatchParty = 2;
10
+ k_EBroadcastWatchLocation_Chat_Tab = 3;
11
+ k_EBroadcastWatchLocation_Chat_WatchParty = 4;
12
+ k_EBroadcastWatchLocation_CommunityPage = 5;
13
+ k_EBroadcastWatchLocation_StoreAppPage = 6;
14
+ k_EBroadcastWatchLocation_InGame = 7;
15
+ k_EBroadcastWatchLocation_BigPicture = 8;
16
+ k_EBroadcastWatchLocation_SalesPage = 9;
17
+ k_EBroadcastWatchLocation_CuratorPage = 10;
18
+ k_EBroadcastWatchLocation_DeveloperPage = 11;
19
+ k_EBroadcastWatchLocation_Chat_Friends = 12;
20
+ k_EBroadcastWatchLocation_SteamTV_Web = 13;
21
+ k_EBroadcastWatchLocation_DesktopUI_Overlay = 14;
22
+ }
23
+
24
+ enum EBroadcastChatPermission {
25
+ k_EBroadcastChatPermissionPublic = 0;
26
+ k_EBroadcastChatPermissionOwnsApp = 1;
27
+ }
28
+
29
+ message CBroadcast_BeginBroadcastSession_Request {
30
+ optional int32 permission = 1;
31
+ optional uint64 gameid = 2;
32
+ optional uint64 client_instance_id = 3;
33
+ optional string title = 4;
34
+ optional uint32 cellid = 5;
35
+ optional uint64 rtmp_token = 6;
36
+ optional bool thumbnail_upload = 7;
37
+ optional uint32 sysid = 9;
38
+ optional bool allow_webrtc = 10;
39
+ }
40
+
41
+ message CBroadcast_BeginBroadcastSession_Response {
42
+ optional fixed64 broadcast_id = 1;
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;
47
+ }
48
+
49
+ message CBroadcast_EndBroadcastSession_Request {
50
+ optional fixed64 broadcast_id = 1;
51
+ }
52
+
53
+ message CBroadcast_EndBroadcastSession_Response {
54
+ }
55
+
56
+ message CBroadcast_StartBroadcastUpload_Request {
57
+ optional fixed64 broadcast_id = 1;
58
+ optional uint32 cellid = 2;
59
+ optional bool as_rtmp = 3;
60
+ optional uint32 delay_seconds = 4;
61
+ optional uint64 rtmp_token = 5 [default = 0];
62
+ optional uint32 upload_ip_address = 6;
63
+ optional bool is_replay = 7;
64
+ optional uint32 sysid = 8;
65
+ }
66
+
67
+ message CBroadcast_StartBroadcastUpload_Response {
68
+ optional string upload_token = 1;
69
+ optional string upload_address = 2;
70
+ optional fixed64 broadcast_upload_id = 3;
71
+ optional bool enable_replay = 6;
72
+ optional string http_address = 7;
73
+ }
74
+
75
+ message CBroadcast_NotifyBroadcastUploadStop_Notification {
76
+ optional fixed64 broadcast_upload_id = 1;
77
+ optional uint32 upload_result = 2;
78
+ }
79
+
80
+ message CBroadcast_WatchBroadcast_Request {
81
+ optional fixed64 steamid = 1;
82
+ optional fixed64 existing_broadcast_id = 2;
83
+ optional fixed64 viewer_token = 3;
84
+ optional uint32 client_cell = 5;
85
+ optional .EBroadcastWatchLocation watch_location = 6 [default = k_EBroadcastWatchLocation_Invalid];
86
+ optional bool is_webrtc = 7;
87
+ }
88
+
89
+ message CBroadcast_WatchBroadcast_Response {
90
+ enum EWatchResponse {
91
+ k_EWatchResponseReady = 1;
92
+ k_EWatchResponseNotAvailable = 2;
93
+ k_EWatchResponseWaitingForApproval = 3;
94
+ k_EWatchResponseWaitingForStart = 4;
95
+ k_EWatchResponseInvalidSession = 5;
96
+ k_EWatchResponseTooManyBroadcasts = 6;
97
+ k_EWatchResponseWaitingForReconnect = 7;
98
+ k_EWatchResponseSystemNotSupported = 8;
99
+ k_EWatchResponseUserRestricted = 9;
100
+ k_EWatchResponseClientOutOfDate = 10;
101
+ k_EWatchResponsePoorUploadQuality = 11;
102
+ k_EWatchResponseMissingSubscription = 12;
103
+ k_EWatchResponseTooManyViewers = 13;
104
+ }
105
+
106
+ optional .CBroadcast_WatchBroadcast_Response.EWatchResponse response = 1 [default = k_EWatchResponseReady];
107
+ optional string mpd_url = 2;
108
+ optional fixed64 broadcast_id = 3;
109
+ optional uint64 gameid = 4;
110
+ optional string title = 5;
111
+ optional uint32 num_viewers = 6;
112
+ optional int32 permission = 7;
113
+ optional bool is_rtmp = 8;
114
+ optional int32 seconds_delay = 9;
115
+ optional fixed64 viewer_token = 10;
116
+ optional string hls_m3u8_master_url = 11;
117
+ optional int32 heartbeat_interval = 12;
118
+ optional string thumbnail_url = 13;
119
+ optional bool is_webrtc = 14;
120
+ optional fixed64 webrtc_session_id = 15;
121
+ optional string webrtc_offer_sdp = 16;
122
+ optional string webrtc_turn_server = 17;
123
+ optional bool is_replay = 18;
124
+ optional int32 duration = 19;
125
+ optional string cdn_auth_url_parameters = 20;
126
+ }
127
+
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;
133
+ }
134
+
135
+ message CBroadcast_StopWatchingBroadcast_Notification {
136
+ optional fixed64 steamid = 1;
137
+ optional fixed64 broadcast_id = 2;
138
+ optional fixed64 viewer_token = 3;
139
+ }
140
+
141
+ message CBroadcast_GetBroadcastStatus_Request {
142
+ optional fixed64 steamid = 1;
143
+ optional fixed64 broadcast_id = 2;
144
+ }
145
+
146
+ message CBroadcast_GetBroadcastStatus_Response {
147
+ optional uint64 gameid = 1;
148
+ optional string title = 2;
149
+ optional uint32 num_viewers = 3;
150
+ optional int32 permission = 4;
151
+ optional bool is_rtmp = 5;
152
+ optional int32 seconds_delay = 6;
153
+ optional bool is_publisher = 7;
154
+ optional string thumbnail_url = 8;
155
+ optional int32 update_interval = 9;
156
+ optional bool is_uploading = 10;
157
+ optional uint32 duration = 11;
158
+ optional bool is_replay = 12;
159
+ optional bool is_capturing_vod = 13;
160
+ optional bool is_store_whitelisted = 14;
161
+ }
162
+
163
+ message CBroadcast_GetBroadcastThumbnail_Request {
164
+ optional fixed64 steamid = 1;
165
+ optional fixed64 broadcast_id = 2;
166
+ }
167
+
168
+ message CBroadcast_GetBroadcastThumbnail_Response {
169
+ optional string thumbnail_url = 1;
170
+ optional int32 update_interval = 2;
171
+ optional int32 num_viewers = 3;
172
+ optional int32 duration = 4;
173
+ }
174
+
175
+ message CBroadcast_InviteToBroadcast_Request {
176
+ optional fixed64 steamid = 1;
177
+ optional bool approval_response = 2;
178
+ }
179
+
180
+ message CBroadcast_InviteToBroadcast_Response {
181
+ optional bool success = 1;
182
+ }
183
+
184
+ message CBroadcast_SendBroadcastStateToServer_Request {
185
+ optional int32 permission = 1;
186
+ optional uint64 gameid = 2;
187
+ optional string title = 3;
188
+ optional string game_data_config = 4;
189
+ }
190
+
191
+ message CBroadcast_SendBroadcastStateToServer_Response {
192
+ }
193
+
194
+ message CBroadcast_NotifyBroadcastSessionHeartbeat_Notification {
195
+ optional fixed64 broadcast_id = 1;
196
+ }
197
+
198
+ message CBroadcast_GetBroadcastChatInfo_Request {
199
+ optional fixed64 steamid = 1;
200
+ optional fixed64 broadcast_id = 2;
201
+ optional uint32 client_ip = 3;
202
+ optional uint32 client_cell = 4;
203
+ }
204
+
205
+ message CBroadcast_GetBroadcastChatInfo_Response {
206
+ optional fixed64 chat_id = 1;
207
+ optional string view_url_template = 3;
208
+ repeated uint32 flair_group_ids = 4;
209
+ }
210
+
211
+ message CBroadcast_PostChatMessage_Request {
212
+ optional fixed64 chat_id = 1;
213
+ optional string message = 2;
214
+ optional uint32 instance_id = 3;
215
+ optional uint32 language = 4 [default = 0];
216
+ optional string country_code = 5;
217
+ }
218
+
219
+ message CBroadcast_PostChatMessage_Response {
220
+ optional string persona_name = 1;
221
+ optional bool in_game = 2;
222
+ optional int32 result = 3;
223
+ optional int32 cooldown_time_seconds = 4;
224
+ }
225
+
226
+ message CBroadcast_UpdateChatMessageFlair_Request {
227
+ optional fixed64 chat_id = 1;
228
+ optional string flair = 2;
229
+ }
230
+
231
+ message CBroadcast_UpdateChatMessageFlair_Response {
232
+ optional int32 result = 1;
233
+ optional fixed64 chat_id = 2;
234
+ optional string flair = 3;
235
+ }
236
+
237
+ message CBroadcast_MuteBroadcastChatUser_Request {
238
+ optional fixed64 chat_id = 1;
239
+ optional fixed64 user_steamid = 2;
240
+ optional bool muted = 3;
241
+ }
242
+
243
+ message CBroadcast_MuteBroadcastChatUser_Response {
244
+ }
245
+
246
+ message CBroadcast_RemoveUserChatText_Request {
247
+ optional fixed64 chat_id = 1;
248
+ optional fixed64 user_steamid = 2;
249
+ }
250
+
251
+ message CBroadcast_RemoveUserChatText_Response {
252
+ }
253
+
254
+ message CBroadcast_GetBroadcastChatUserNames_Request {
255
+ optional fixed64 chat_id = 1;
256
+ repeated fixed64 user_steamid = 2;
257
+ }
258
+
259
+ message CBroadcast_GetBroadcastChatUserNames_Response {
260
+ message PersonaName {
261
+ optional fixed64 steam_id = 1 [(allow_field_named_steam_id) = true];
262
+ optional string persona = 2;
263
+ }
264
+
265
+ repeated .CBroadcast_GetBroadcastChatUserNames_Response.PersonaName persona_names = 1;
266
+ }
267
+
268
+ message CBroadcast_StartBuildClip_Request {
269
+ optional fixed64 steamid = 1;
270
+ optional fixed64 broadcast_session_id = 2;
271
+ optional int32 first_segment = 3;
272
+ optional int32 num_segments = 4;
273
+ optional string clip_description = 5;
274
+ }
275
+
276
+ message CBroadcast_StartBuildClip_Response {
277
+ optional fixed64 broadcast_clip_id = 1;
278
+ }
279
+
280
+ message CBroadcast_GetBuildClipStatus_Request {
281
+ optional fixed64 broadcast_clip_id = 1;
282
+ }
283
+
284
+ message CBroadcast_GetBuildClipStatus_Response {
285
+ }
286
+
287
+ message CBroadcast_SetClipDetails_Request {
288
+ optional uint64 broadcast_clip_id = 1;
289
+ optional uint32 start_time = 2;
290
+ optional uint32 end_time = 3;
291
+ optional string video_description = 4;
292
+ }
293
+
294
+ message CBroadcast_SetClipDetails_Response {
295
+ }
296
+
297
+ message CBroadcast_GetClipDetails_Request {
298
+ optional uint64 broadcast_clip_id = 1;
299
+ }
300
+
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;
312
+ }
313
+
314
+ message CBroadcast_SetRTMPInfo_Request {
315
+ optional int32 broadcast_permission = 1;
316
+ optional bool update_token = 2;
317
+ optional int32 broadcast_delay = 3;
318
+ optional uint32 app_id = 4;
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;
326
+ optional string wordban_list = 12;
327
+ }
328
+
329
+ message CBroadcast_SetRTMPInfo_Response {
330
+ }
331
+
332
+ message CBroadcast_GetRTMPInfo_Request {
333
+ optional uint32 ip = 1;
334
+ optional fixed64 steamid = 2;
335
+ }
336
+
337
+ message CBroadcast_GetRTMPInfo_Response {
338
+ optional int32 broadcast_permission = 1;
339
+ optional string rtmp_host = 2;
340
+ optional string rtmp_token = 3;
341
+ optional int32 broadcast_delay = 4;
342
+ optional uint32 app_id = 5;
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;
350
+ optional string wordban_list = 13;
351
+ }
352
+
353
+ message CBroadcast_WebRTCHaveTURNServer_Notification {
354
+ optional fixed64 broadcast_session_id = 1;
355
+ optional string turn_server = 2;
356
+ }
357
+
358
+ message CBroadcast_WebRTCStartResult_Request {
359
+ optional fixed64 webrtc_session_id = 1;
360
+ optional bool started = 2;
361
+ optional string offer = 3;
362
+ optional uint32 resolution_x = 4;
363
+ optional uint32 resolution_y = 5;
364
+ optional uint32 fps = 6;
365
+ }
366
+
367
+ message CBroadcast_WebRTCStartResult_Response {
368
+ }
369
+
370
+ message CBroadcast_WebRTCStopped_Request {
371
+ optional fixed64 webrtc_session_id = 1;
372
+ }
373
+
374
+ message CBroadcast_WebRTCStopped_Response {
375
+ }
376
+
377
+ message CBroadcast_WebRTCSetAnswer_Request {
378
+ optional fixed64 broadcaster_steamid = 1;
379
+ optional fixed64 webrtc_session_id = 2;
380
+ optional string answer = 3;
381
+ }
382
+
383
+ message CBroadcast_WebRTCSetAnswer_Response {
384
+ }
385
+
386
+ message CBroadcast_WebRTCLookupTURNServer_Request {
387
+ optional uint32 cellid = 1;
388
+ }
389
+
390
+ message CBroadcast_WebRTCLookupTURNServer_Response {
391
+ optional string turn_server = 1;
392
+ }
393
+
394
+ message CBroadcast_WebRTC_Candidate {
395
+ optional string sdp_mid = 1;
396
+ optional int32 sdp_mline_index = 2;
397
+ optional string candidate = 3;
398
+ }
399
+
400
+ message CBroadcast_WebRTCAddHostCandidate_Request {
401
+ optional fixed64 webrtc_session_id = 1;
402
+ optional .CBroadcast_WebRTC_Candidate candidate = 2;
403
+ }
404
+
405
+ message CBroadcast_WebRTCAddHostCandidate_Response {
406
+ }
407
+
408
+ message CBroadcast_WebRTCAddViewerCandidate_Request {
409
+ optional fixed64 broadcaster_steamid = 1;
410
+ optional fixed64 webrtc_session_id = 2;
411
+ optional .CBroadcast_WebRTC_Candidate candidate = 3;
412
+ }
413
+
414
+ message CBroadcast_WebRTCAddViewerCandidate_Response {
415
+ }
416
+
417
+ message CBroadcast_WebRTCGetHostCandidates_Request {
418
+ optional fixed64 broadcaster_steamid = 1;
419
+ optional fixed64 webrtc_session_id = 2;
420
+ optional uint32 candidate_generation = 3;
421
+ }
422
+
423
+ message CBroadcast_WebRTCGetHostCandidates_Response {
424
+ optional uint32 candidate_generation = 1;
425
+ repeated .CBroadcast_WebRTC_Candidate candidates = 2;
426
+ }
427
+
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;
434
+ }
435
+
436
+ message CBroadcast_GetBroadcastUploadStats_Response {
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;
458
+ }
459
+
460
+ repeated .CBroadcast_GetBroadcastUploadStats_Response.UploadStats upload_stats = 1;
461
+ }
462
+
463
+ message CBroadcast_GetBroadcastViewerStats_Request {
464
+ optional uint64 upload_id = 1;
465
+ optional fixed64 steamid = 2;
466
+ }
467
+
468
+ message CBroadcast_GetBroadcastViewerStats_Response {
469
+ message ViewerStats {
470
+ optional uint32 time = 1;
471
+ optional uint32 num_viewers = 2;
472
+ }
473
+
474
+ message CountryStats {
475
+ optional string country_code = 1;
476
+ optional uint32 num_viewers = 2;
477
+ }
478
+
479
+ repeated .CBroadcast_GetBroadcastViewerStats_Response.ViewerStats viewer_stats = 1;
480
+ repeated .CBroadcast_GetBroadcastViewerStats_Response.CountryStats country_stats = 2;
481
+ }
482
+
483
+ message CBroadcast_BroadcastViewerState_Notification {
484
+ enum EViewerState {
485
+ k_EViewerNeedsApproval = 1;
486
+ k_EViewerWatching = 2;
487
+ k_EViewerLeft = 3;
488
+ }
489
+
490
+ optional fixed64 steamid = 1;
491
+ optional .CBroadcast_BroadcastViewerState_Notification.EViewerState state = 2 [default = k_EViewerNeedsApproval];
492
+ }
493
+
494
+ message CBroadcast_WaitingBroadcastViewer_Notification {
495
+ optional fixed64 broadcast_id = 1;
496
+ }
497
+
498
+ message CBroadcast_BroadcastUploadStarted_Notification {
499
+ optional fixed64 broadcast_id = 1;
500
+ optional string upload_token = 2;
501
+ optional string upload_address = 3;
502
+ optional string http_address = 4;
503
+ optional fixed64 broadcast_upload_id = 5;
504
+ optional uint32 heartbeat_interval_seconds = 6;
505
+ optional bool is_rtmp = 7;
506
+ }
507
+
508
+ message CBroadcast_StopBroadcastUpload_Notification {
509
+ optional fixed64 broadcast_id = 1;
510
+ optional fixed64 broadcast_relay_id = 2;
511
+ optional uint32 upload_result = 3;
512
+ optional bool too_many_poor_uploads = 4;
513
+ }
514
+
515
+ message CBroadcast_SessionClosed_Notification {
516
+ optional fixed64 broadcast_id = 1;
517
+ }
518
+
519
+ message CBroadcast_ViewerBroadcastInvite_Notification {
520
+ optional fixed64 broadcaster_steamid = 1;
521
+ }
522
+
523
+ message CBroadcast_BroadcastStatus_Notification {
524
+ optional fixed64 broadcast_id = 1;
525
+ optional int32 num_viewers = 2;
526
+ }
527
+
528
+ message CBroadcast_BroadcastChannelLive_Notification {
529
+ optional fixed64 broadcast_channel_id = 1;
530
+ optional string broadcast_channel_name = 2;
531
+ optional string broadcast_channel_avatar = 3;
532
+ }
533
+
534
+ message CBroadcast_SendThumbnailToRelay_Notification {
535
+ optional string thumbnail_upload_token = 1;
536
+ optional fixed64 thumbnail_broadcast_session_id = 2;
537
+ optional bytes thumbnail_data = 3;
538
+ optional uint32 thumbnail_width = 4;
539
+ optional uint32 thumbnail_height = 5;
540
+ }
541
+
542
+ message CBroadcast_WebRTCNeedTURNServer_Notification {
543
+ optional fixed64 broadcast_session_id = 1;
544
+ }
545
+
546
+ message CBroadcast_WebRTCStart_Notification {
547
+ optional fixed64 broadcast_session_id = 1;
548
+ optional fixed64 webrtc_session_id = 2;
549
+ optional fixed64 viewer_steamid = 3;
550
+ optional fixed64 viewer_token = 4;
551
+ }
552
+
553
+ message CBroadcast_WebRTCSetAnswer_Notification {
554
+ optional fixed64 broadcast_session_id = 1;
555
+ optional fixed64 webrtc_session_id = 2;
556
+ optional string answer = 3;
557
+ }
558
+
559
+ message CBroadcast_WebRTCAddViewerCandidate_Notification {
560
+ optional fixed64 broadcast_session_id = 1;
561
+ optional fixed64 webrtc_session_id = 2;
562
+ optional .CBroadcast_WebRTC_Candidate candidate = 3;
563
+ }
564
+
565
+ service Broadcast {
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);
600
+ }
601
+
602
+ service BroadcastClient {
603
+ option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
604
+
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);
618
+ }