steamutils 1.2.51 → 1.2.53

Sign up to get free protection for your applications and to get access to all the features.
Files changed (226) hide show
  1. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  2. package/.idea/steamutils.iml +1 -1
  3. package/.idea/vcs.xml +1 -1
  4. package/SteamClient.js +18 -12
  5. package/example.js +1 -0
  6. package/helpers/protos.js +21 -0
  7. package/package.json +6 -6
  8. package/protos/{base_gcmessages.proto → csgo/base_gcmessages_csgo.proto} +547 -533
  9. package/protos/csgo/c_peer2peer_netmessages.proto +55 -0
  10. package/protos/csgo/clientmessages.proto +48 -0
  11. package/protos/csgo/connectionless_netmessages.proto +19 -0
  12. package/protos/csgo/cs_gameevents.proto +34 -0
  13. package/protos/csgo/cs_usercmd.proto +34 -0
  14. package/protos/{cstrike15_gcmessages.proto → csgo/cstrike15_gcmessages.proto} +1402 -1344
  15. package/protos/{cstrike15_usermessages.proto → csgo/cstrike15_usermessages.proto} +596 -597
  16. package/protos/csgo/demo.proto +160 -0
  17. package/protos/{econ_gcmessages.proto → csgo/econ_gcmessages.proto} +228 -225
  18. package/protos/{engine_gcmessages.proto → csgo/engine_gcmessages.proto} +14 -16
  19. package/protos/{enums_clientserver.proto → csgo/enums_clientserver.proto} +1529 -1534
  20. package/protos/{fatdemo.proto → csgo/fatdemo.proto} +125 -125
  21. package/protos/csgo/gameevents.proto +120 -0
  22. package/protos/{gcsdk_gcmessages.proto → csgo/gcsdk_gcmessages.proto} +323 -302
  23. package/protos/{gcsystemmsgs.proto → csgo/gcsystemmsgs.proto} +242 -246
  24. package/protos/csgo/netmessages.proto +604 -0
  25. package/protos/csgo/network_connection.proto +126 -0
  26. package/protos/csgo/networkbasetypes.proto +244 -0
  27. package/protos/csgo/networksystem_protomessages.proto +17 -0
  28. package/protos/{steamdatagram_messages_auth.proto → csgo/steamdatagram_messages_auth.proto} +65 -65
  29. package/protos/csgo/steamdatagram_messages_sdr.proto +534 -0
  30. package/protos/{steammessages.proto → csgo/steammessages.proto} +597 -601
  31. package/protos/{steammessages_base.proto → csgo/steammessages_base.proto} +301 -288
  32. package/protos/csgo/steammessages_cloud.steamworkssdk.proto +68 -0
  33. package/protos/{steammessages_gamenetworkingui.proto → csgo/steammessages_gamenetworkingui.proto} +61 -42
  34. package/protos/csgo/steammessages_helprequest.steamworkssdk.proto +22 -0
  35. package/protos/csgo/steammessages_oauth.steamworkssdk.proto +18 -0
  36. package/protos/csgo/steammessages_player.steamworkssdk.proto +254 -0
  37. package/protos/csgo/steammessages_publishedfile.steamworkssdk.proto +233 -0
  38. package/protos/csgo/steammessages_steamlearn.steamworkssdk.proto +357 -0
  39. package/protos/csgo/steammessages_unified_base.steamworkssdk.proto +30 -0
  40. package/protos/{steamnetworkingsockets_messages.proto → csgo/steamnetworkingsockets_messages.proto} +205 -204
  41. package/protos/{steamnetworkingsockets_messages_certs.proto → csgo/steamnetworkingsockets_messages_certs.proto} +39 -38
  42. package/protos/{steamnetworkingsockets_messages_udp.proto → csgo/steamnetworkingsockets_messages_udp.proto} +75 -75
  43. package/protos/csgo/te.proto +259 -0
  44. package/protos/{uifontfile_format.proto → csgo/uifontfile_format.proto} +13 -16
  45. package/protos/csgo/usercmd.proto +38 -0
  46. package/protos/csgo/usermessages.proto +721 -0
  47. package/protos/csgo/valveextensions.proto +17 -0
  48. package/protos/google/protobuf/descriptor.proto +281 -0
  49. package/protos/{clientmetrics.proto → steam/clientmetrics.proto} +45 -45
  50. package/protos/{content_manifest.proto → steam/content_manifest.proto} +62 -62
  51. package/protos/steam/contenthubs.proto +41 -0
  52. package/protos/{encrypted_app_ticket.proto → steam/encrypted_app_ticket.proto} +10 -10
  53. package/protos/{enums.proto → steam/enums.proto} +444 -285
  54. package/protos/steam/enums_clientserver.proto +1539 -0
  55. package/protos/steam/enums_productinfo.proto +13 -0
  56. package/protos/{htmlmessages.proto → steam/htmlmessages.proto} +1027 -993
  57. package/protos/steam/offline_ticket.proto +8 -0
  58. package/protos/{renderer → steam/renderer}/rendermessages.proto +893 -893
  59. package/protos/steam/steamdatagram_messages_auth.proto +65 -0
  60. package/protos/{steamdatagram_messages_sdr.proto → steam/steamdatagram_messages_sdr.proto} +533 -518
  61. package/protos/{steammessages_accounthardware.steamclient.proto → steam/steammessages_accounthardware.steamclient.proto} +201 -188
  62. package/protos/{steammessages_appoverview.proto → steam/steammessages_appoverview.proto} +187 -185
  63. package/protos/steam/steammessages_auth.steamclient.proto +435 -0
  64. package/protos/steam/steammessages_base.proto +332 -0
  65. package/protos/{steammessages_broadcast.steamclient.proto → steam/steammessages_broadcast.steamclient.proto} +759 -756
  66. package/protos/{steammessages_chat.steamclient.proto → steam/steammessages_chat.steamclient.proto} +1281 -1281
  67. package/protos/steam/steammessages_client_objects.proto +645 -0
  68. package/protos/{steammessages_clientlanp2p.proto → steam/steammessages_clientlanp2p.proto} +42 -26
  69. package/protos/{steammessages_clientmetrics.steamclient.proto → steam/steammessages_clientmetrics.steamclient.proto} +194 -176
  70. package/protos/{steammessages_clientnotificationtypes.proto → steam/steammessages_clientnotificationtypes.proto} +231 -129
  71. package/protos/{steammessages_clientserver.proto → steam/steammessages_clientserver.proto} +392 -384
  72. package/protos/{steammessages_clientserver_2.proto → steam/steammessages_clientserver_2.proto} +760 -776
  73. package/protos/{steammessages_clientserver_appinfo.proto → steam/steammessages_clientserver_appinfo.proto} +131 -166
  74. package/protos/{steammessages_clientserver_friends.proto → steam/steammessages_clientserver_friends.proto} +260 -260
  75. package/protos/{steammessages_clientserver_gameservers.proto → steam/steammessages_clientserver_gameservers.proto} +159 -159
  76. package/protos/{steammessages_clientserver_lbs.proto → steam/steammessages_clientserver_lbs.proto} +70 -70
  77. package/protos/{steammessages_clientserver_login.proto → steam/steammessages_clientserver_login.proto} +167 -159
  78. package/protos/{steammessages_clientserver_mms.proto → steam/steammessages_clientserver_mms.proto} +228 -235
  79. package/protos/{steammessages_clientserver_ucm.proto → steam/steammessages_clientserver_ucm.proto} +205 -202
  80. package/protos/{steammessages_clientserver_uds.proto → steam/steammessages_clientserver_uds.proto} +124 -104
  81. package/protos/{steammessages_clientserver_ufs.proto → steam/steammessages_clientserver_ufs.proto} +172 -172
  82. package/protos/{steammessages_clientserver_userstats.proto → steam/steammessages_clientserver_userstats.proto} +80 -80
  83. package/protos/steam/steammessages_clientsettings.proto +168 -0
  84. package/protos/{steammessages_cloud.steamclient.proto → steam/steammessages_cloud.steamclient.proto} +513 -512
  85. package/protos/{steammessages_contentsystem.steamclient.proto → steam/steammessages_contentsystem.steamclient.proto} +115 -77
  86. package/protos/{steammessages_credentials.steamclient.proto → steam/steammessages_credentials.steamclient.proto} +115 -141
  87. package/protos/steam/steammessages_datapublisher.steamclient.proto +116 -0
  88. package/protos/{steammessages_depotbuilder.steamclient.proto → steam/steammessages_depotbuilder.steamclient.proto} +118 -118
  89. package/protos/{steammessages_deviceauth.steamclient.proto → steam/steammessages_deviceauth.steamclient.proto} +203 -200
  90. package/protos/{steammessages_econ.steamclient.proto → steam/steammessages_econ.steamclient.proto} +150 -105
  91. package/protos/{steammessages_friendmessages.steamclient.proto → steam/steammessages_friendmessages.steamclient.proto} +168 -168
  92. package/protos/{steammessages_gamenetworking.steamclient.proto → steam/steammessages_gamenetworking.steamclient.proto} +32 -32
  93. package/protos/steam/steammessages_gamenetworkingui.proto +61 -0
  94. package/protos/{steammessages_gamenotifications.steamclient.proto → steam/steammessages_gamenotifications.steamclient.proto} +156 -156
  95. package/protos/{steammessages_gameservers.steamclient.proto → steam/steammessages_gameservers.steamclient.proto} +152 -152
  96. package/protos/{steammessages_hiddevices.proto → steam/steammessages_hiddevices.proto} +157 -156
  97. package/protos/{steammessages_inventory.steamclient.proto → steam/steammessages_inventory.steamclient.proto} +224 -224
  98. package/protos/{steammessages_linkfilter.steamclient.proto → steam/steammessages_linkfilter.steamclient.proto} +49 -49
  99. package/protos/{steammessages_lobbymatchmaking.steamclient.proto → steam/steammessages_lobbymatchmaking.steamclient.proto} +33 -33
  100. package/protos/{steammessages_market.steamclient.proto → steam/steammessages_market.steamclient.proto} +26 -26
  101. package/protos/steam/steammessages_marketingmessages.steamclient.proto +274 -0
  102. package/protos/{steammessages_offline.steamclient.proto → steam/steammessages_offline.steamclient.proto} +40 -37
  103. package/protos/{steammessages_parental.steamclient.proto → steam/steammessages_parental.steamclient.proto} +228 -186
  104. package/protos/{steammessages_parties.steamclient.proto → steam/steammessages_parties.steamclient.proto} +94 -94
  105. package/protos/{steammessages_partnerapps.steamclient.proto → steam/steammessages_partnerapps.steamclient.proto} +138 -136
  106. package/protos/{steammessages_player.steamclient.proto → steam/steammessages_player.steamclient.proto} +1060 -912
  107. package/protos/{steammessages_publishedfile.steamclient.proto → steam/steammessages_publishedfile.steamclient.proto} +813 -711
  108. package/protos/{steammessages_qms.steamclient.proto → steam/steammessages_qms.steamclient.proto} +125 -125
  109. package/protos/{steammessages_remoteclient.proto → steam/steammessages_remoteclient.proto} +99 -99
  110. package/protos/{steammessages_remoteclient_discovery.proto → steam/steammessages_remoteclient_discovery.proto} +235 -228
  111. package/protos/{steammessages_remoteclient_service.steamclient.proto → steam/steammessages_remoteclient_service.steamclient.proto} +86 -90
  112. package/protos/{steammessages_remoteclient_service_messages.proto → steam/steammessages_remoteclient_service_messages.proto} +217 -196
  113. package/protos/{steammessages_remoteplay.proto → steam/steammessages_remoteplay.proto} +976 -871
  114. package/protos/{steammessages_secrets.steamclient.proto → steam/steammessages_secrets.steamclient.proto} +39 -39
  115. package/protos/{steammessages_shader.steamclient.proto → steam/steammessages_shader.steamclient.proto} +108 -96
  116. package/protos/{steammessages_site_license.steamclient.proto → steam/steammessages_site_license.steamclient.proto} +128 -128
  117. package/protos/{steammessages_sitelicenseclient.proto → steam/steammessages_sitelicenseclient.proto} +38 -38
  118. package/protos/{steammessages_siteserverui.proto → steam/steammessages_siteserverui.proto} +130 -130
  119. package/protos/{steammessages_star.steamclient.proto → steam/steammessages_star.steamclient.proto} +64 -64
  120. package/protos/{steammessages_steamtv.steamclient.proto → steam/steammessages_steamtv.steamclient.proto} +630 -630
  121. package/protos/{steammessages_store.steamclient.proto → steam/steammessages_store.steamclient.proto} +371 -262
  122. package/protos/steam/steammessages_storebrowse.steamclient.proto +402 -0
  123. package/protos/{steammessages_timedtrial.steamclient.proto → steam/steammessages_timedtrial.steamclient.proto} +50 -50
  124. package/protos/{steammessages_twofactor.steamclient.proto → steam/steammessages_twofactor.steamclient.proto} +186 -154
  125. package/protos/{steammessages_unified_base.steamclient.proto → steam/steammessages_unified_base.steamclient.proto} +33 -33
  126. package/protos/{steammessages_unified_test.steamclient.proto → steam/steammessages_unified_test.steamclient.proto} +61 -50
  127. package/protos/{steammessages_useraccount.steamclient.proto → steam/steammessages_useraccount.steamclient.proto} +249 -210
  128. package/protos/{steammessages_vac.steamclient.proto → steam/steammessages_vac.steamclient.proto} +44 -44
  129. package/protos/steam/steammessages_video.steamclient.proto +171 -0
  130. package/protos/{steammessages_virtualcontroller.proto → steam/steammessages_virtualcontroller.proto} +138 -138
  131. package/protos/{steammessages_workshop.steamclient.proto → steam/steammessages_workshop.steamclient.proto} +23 -23
  132. package/protos/steam/steamnetworkingsockets_messages.proto +205 -0
  133. package/protos/steam/steamnetworkingsockets_messages_certs.proto +39 -0
  134. package/protos/steam/steamnetworkingsockets_messages_udp.proto +75 -0
  135. package/protos/steam/webuimessages_base.proto +24 -0
  136. package/protos/steam/webuimessages_gamenotes.proto +21 -0
  137. package/protos/steam/webuimessages_steamengine.proto +32 -0
  138. package/protos/steam/webuimessages_storagedevicemanager.proto +110 -0
  139. package/protos/steam/webuimessages_systemmanager.proto +17 -0
  140. package/protos/steam/webuimessages_transport.proto +18 -0
  141. package/protos/steam/webuimessages_transportvalidation.proto +97 -0
  142. package/protos/webui/common.proto +5508 -0
  143. package/protos/webui/common_base.proto +27 -0
  144. package/protos/webui/service_accountlinking.proto +27 -0
  145. package/protos/webui/service_accountprivacy.proto +42 -0
  146. package/protos/webui/service_auction.proto +97 -0
  147. package/protos/webui/service_authentication.proto +222 -0
  148. package/protos/webui/service_authenticationsupport.proto +74 -0
  149. package/protos/webui/service_broadcast.proto +562 -0
  150. package/protos/webui/service_chat.proto +11 -0
  151. package/protos/webui/service_chatroom.proto +810 -0
  152. package/protos/webui/service_chatusability.proto +107 -0
  153. package/protos/webui/service_clan.proto +41 -0
  154. package/protos/webui/service_clanchatrooms.proto +25 -0
  155. package/protos/webui/service_clanfaqs.proto +202 -0
  156. package/protos/webui/service_clientcomm.proto +150 -0
  157. package/protos/webui/service_clientmetrics.proto +63 -0
  158. package/protos/webui/service_cloud.proto +222 -0
  159. package/protos/webui/service_cloudconfigstore.proto +51 -0
  160. package/protos/webui/service_cloudgaming.proto +30 -0
  161. package/protos/webui/service_community.proto +365 -0
  162. package/protos/webui/service_econ.proto +134 -0
  163. package/protos/webui/service_embedded.proto +24 -0
  164. package/protos/webui/service_experimentservice.proto +6 -0
  165. package/protos/webui/service_fovasvideo.proto +15 -0
  166. package/protos/webui/service_friendmessages.proto +133 -0
  167. package/protos/webui/service_friendslist.proto +70 -0
  168. package/protos/webui/service_gamenotes.proto +15 -0
  169. package/protos/webui/service_helprequestlogs.proto +26 -0
  170. package/protos/webui/service_loyaltyrewards.proto +252 -0
  171. package/protos/webui/service_marketingmessages.proto +184 -0
  172. package/protos/webui/service_mobileapp.proto +18 -0
  173. package/protos/webui/service_mobileauth.proto +24 -0
  174. package/protos/webui/service_mobiledevice.proto +26 -0
  175. package/protos/webui/service_mobileperaccount.proto +31 -0
  176. package/protos/webui/service_news.proto +101 -0
  177. package/protos/webui/service_parental.proto +178 -0
  178. package/protos/webui/service_partnermembershipinvite.proto +29 -0
  179. package/protos/webui/service_partnerstorebrowse.proto +6 -0
  180. package/protos/webui/service_phone.proto +51 -0
  181. package/protos/webui/service_physicalgoods.proto +15 -0
  182. package/protos/webui/service_player.proto +885 -0
  183. package/protos/webui/service_promotioneventinvites.proto +50 -0
  184. package/protos/webui/service_promotionplanning.proto +72 -0
  185. package/protos/webui/service_publishedfile.proto +687 -0
  186. package/protos/webui/service_publishing.proto +119 -0
  187. package/protos/webui/service_quest.proto +127 -0
  188. package/protos/webui/service_salefeature.proto +315 -0
  189. package/protos/webui/service_saleitemrewards.proto +54 -0
  190. package/protos/webui/service_shoppingcart.proto +108 -0
  191. package/protos/webui/service_steamawards.proto +19 -0
  192. package/protos/webui/service_steamcharts.proto +75 -0
  193. package/protos/webui/service_steamengine.proto +36 -0
  194. package/protos/webui/service_steamlearn.proto +727 -0
  195. package/protos/webui/service_steamnotification.proto +84 -0
  196. package/protos/webui/service_steamtv.proto +495 -0
  197. package/protos/webui/service_steamvrvoicechat.proto +67 -0
  198. package/protos/webui/service_steamvrwebrtc.proto +48 -0
  199. package/protos/webui/service_storagedevicemanager.proto +104 -0
  200. package/protos/webui/service_store.proto +289 -0
  201. package/protos/webui/service_storeappsimilarity.proto +76 -0
  202. package/protos/webui/service_storebrowse.proto +73 -0
  203. package/protos/webui/service_storequery.proto +97 -0
  204. package/protos/webui/service_storesales.proto +15 -0
  205. package/protos/webui/service_storetopsellers.proto +44 -0
  206. package/protos/webui/service_systemmanager.proto +11 -0
  207. package/protos/webui/service_test_transporterror.proto +6 -0
  208. package/protos/webui/service_transportauth.proto +12 -0
  209. package/protos/webui/service_transportvalidation.proto +69 -0
  210. package/protos/webui/service_twofactor.proto +181 -0
  211. package/protos/webui/service_useraccount.proto +138 -0
  212. package/protos/webui/service_usergameactivity.proto +34 -0
  213. package/protos/webui/service_usergamenotes.proto +53 -0
  214. package/protos/webui/service_usernews.proto +68 -0
  215. package/protos/webui/service_userreviews.proto +96 -0
  216. package/protos/webui/service_video.proto +128 -0
  217. package/protos/webui/service_voicechat.proto +139 -0
  218. package/protos/webui/service_webrtc.proto +52 -0
  219. package/.idea/deployment.xml +0 -21
  220. package/protos/netmessages.proto +0 -491
  221. package/protos/network_connection.proto +0 -70
  222. package/protos/steamdatagram_messages.proto +0 -205
  223. package/protos/steammessages_auth.steamclient.proto +0 -192
  224. package/protos/steammessages_client_objects.proto +0 -336
  225. package/protos/steammessages_datapublisher.steamclient.proto +0 -67
  226. package/protos/steammessages_video.steamclient.proto +0 -84
@@ -1,871 +1,976 @@
1
- option optimize_for = SPEED;
2
- option cc_generic_services = false;
3
-
4
- enum EStreamChannel {
5
- k_EStreamChannelInvalid = -1;
6
- k_EStreamChannelDiscovery = 0;
7
- k_EStreamChannelControl = 1;
8
- k_EStreamChannelStats = 2;
9
- k_EStreamChannelDataChannelStart = 3;
10
- }
11
-
12
- enum EStreamDiscoveryMessage {
13
- k_EStreamDiscoveryPingRequest = 1;
14
- k_EStreamDiscoveryPingResponse = 2;
15
- }
16
-
17
- enum EStreamControlMessage {
18
- k_EStreamControlAuthenticationRequest = 1;
19
- k_EStreamControlAuthenticationResponse = 2;
20
- k_EStreamControlNegotiationInit = 3;
21
- k_EStreamControlNegotiationSetConfig = 4;
22
- k_EStreamControlNegotiationComplete = 5;
23
- k_EStreamControlClientHandshake = 6;
24
- k_EStreamControlServerHandshake = 7;
25
- k_EStreamControlStartNetworkTest = 8;
26
- k_EStreamControlKeepAlive = 9;
27
- k_EStreamControl_LAST_SETUP_MESSAGE = 15;
28
- k_EStreamControlStartAudioData = 50;
29
- k_EStreamControlStopAudioData = 51;
30
- k_EStreamControlStartVideoData = 52;
31
- k_EStreamControlStopVideoData = 53;
32
- k_EStreamControlInputMouseMotion = 54;
33
- k_EStreamControlInputMouseWheel = 55;
34
- k_EStreamControlInputMouseDown = 56;
35
- k_EStreamControlInputMouseUp = 57;
36
- k_EStreamControlInputKeyDown = 58;
37
- k_EStreamControlInputKeyUp = 59;
38
- k_EStreamControlInputGamepadAttached_OBSOLETE = 60;
39
- k_EStreamControlInputGamepadEvent_OBSOLETE = 61;
40
- k_EStreamControlInputGamepadDetached_OBSOLETE = 62;
41
- k_EStreamControlShowCursor = 63;
42
- k_EStreamControlHideCursor = 64;
43
- k_EStreamControlSetCursor = 65;
44
- k_EStreamControlGetCursorImage = 66;
45
- k_EStreamControlSetCursorImage = 67;
46
- k_EStreamControlDeleteCursor = 68;
47
- k_EStreamControlSetTargetFramerate = 69;
48
- k_EStreamControlInputLatencyTest = 70;
49
- k_EStreamControlGamepadRumble_OBSOLETE = 71;
50
- k_EStreamControlOverlayEnabled = 74;
51
- k_EStreamControlInputControllerAttached_OBSOLETE = 75;
52
- k_EStreamControlInputControllerState_OBSOLETE = 76;
53
- k_EStreamControlTriggerHapticPulse_OBSOLETE = 77;
54
- k_EStreamControlInputControllerDetached_OBSOLETE = 78;
55
- k_EStreamControlVideoDecoderInfo = 80;
56
- k_EStreamControlSetTitle = 81;
57
- k_EStreamControlSetIcon = 82;
58
- k_EStreamControlQuitRequest = 83;
59
- k_EStreamControlSetQoS = 87;
60
- k_EStreamControlInputControllerWirelessPresence_OBSOLETE = 88;
61
- k_EStreamControlSetGammaRamp = 89;
62
- k_EStreamControlVideoEncoderInfo = 90;
63
- k_EStreamControlInputControllerStateHID_OBSOLETE = 93;
64
- k_EStreamControlSetTargetBitrate = 94;
65
- k_EStreamControlSetControllerPairingEnabled_OBSOLETE = 95;
66
- k_EStreamControlSetControllerPairingResult_OBSOLETE = 96;
67
- k_EStreamControlTriggerControllerDisconnect_OBSOLETE = 97;
68
- k_EStreamControlSetActivity = 98;
69
- k_EStreamControlSetStreamingClientConfig = 99;
70
- k_EStreamControlSystemSuspend = 100;
71
- k_EStreamControlSetControllerSettings_OBSOLETE = 101;
72
- k_EStreamControlVirtualHereRequest = 102;
73
- k_EStreamControlVirtualHereReady = 103;
74
- k_EStreamControlVirtualHereShareDevice = 104;
75
- k_EStreamControlSetSpectatorMode = 105;
76
- k_EStreamControlRemoteHID = 106;
77
- k_EStreamControlStartMicrophoneData = 107;
78
- k_EStreamControlStopMicrophoneData = 108;
79
- k_EStreamControlInputText = 109;
80
- k_EStreamControlTouchConfigActive = 110;
81
- k_EStreamControlGetTouchConfigData = 111;
82
- k_EStreamControlSetTouchConfigData = 112;
83
- k_EStreamControlSaveTouchConfigLayout = 113;
84
- k_EStreamControlTouchActionSetActive = 114;
85
- k_EStreamControlGetTouchIconData = 115;
86
- k_EStreamControlSetTouchIconData = 116;
87
- k_EStreamControlInputTouchFingerDown = 117;
88
- k_EStreamControlInputTouchFingerMotion = 118;
89
- k_EStreamControlInputTouchFingerUp = 119;
90
- k_EStreamControlSetCaptureSize = 120;
91
- k_EStreamControlSetFlashState = 121;
92
- k_EStreamControlPause = 122;
93
- k_EStreamControlResume = 123;
94
- k_EStreamControlEnableHighResCapture = 124;
95
- k_EStreamControlDisableHighResCapture = 125;
96
- k_EStreamControlToggleMagnification = 126;
97
- k_EStreamControlSetCapslock = 127;
98
- k_EStreamControlSetKeymap = 128;
99
- k_EStreamControlStopRequest = 129;
100
- k_EStreamControlTouchActionSetLayerAdded = 130;
101
- k_EStreamControlTouchActionSetLayerRemoved = 131;
102
- k_EStreamControlRemotePlayTogetherGroupUpdate = 132;
103
- k_EStreamControlSetInputTemporarilyDisabled = 133;
104
- k_EStreamControlSetQualityOverride = 134;
105
- k_EStreamControlSetBitrateOverride = 135;
106
- k_EStreamControlShowOnScreenKeyboard = 136;
107
- }
108
-
109
- enum EStreamVersion {
110
- k_EStreamVersionNone = 0;
111
- k_EStreamVersionCurrent = 1;
112
- }
113
-
114
- enum EStreamAudioCodec {
115
- k_EStreamAudioCodecNone = 0;
116
- k_EStreamAudioCodecRaw = 1;
117
- k_EStreamAudioCodecVorbis = 2;
118
- k_EStreamAudioCodecOpus = 3;
119
- k_EStreamAudioCodecMP3 = 4;
120
- k_EStreamAudioCodecAAC = 5;
121
- }
122
-
123
- enum EStreamVideoCodec {
124
- k_EStreamVideoCodecNone = 0;
125
- k_EStreamVideoCodecRaw = 1;
126
- k_EStreamVideoCodecVP8 = 2;
127
- k_EStreamVideoCodecVP9 = 3;
128
- k_EStreamVideoCodecH264 = 4;
129
- k_EStreamVideoCodecHEVC = 5;
130
- k_EStreamVideoCodecORBX1 = 6;
131
- k_EStreamVideoCodecORBX2 = 7;
132
- }
133
-
134
- enum EStreamQualityPreference {
135
- k_EStreamQualityAutomatic = -1;
136
- k_EStreamQualityFast = 1;
137
- k_EStreamQualityBalanced = 2;
138
- k_EStreamQualityBeautiful = 3;
139
- }
140
-
141
- enum EStreamBitrate {
142
- k_EStreamBitrateAutodetect = -1;
143
- k_EStreamBitrateUnlimited = 0;
144
- }
145
-
146
- enum EStreamColorspace {
147
- k_EStreamColorspace_Unknown = 0;
148
- k_EStreamColorspace_BT601 = 1;
149
- k_EStreamColorspace_BT601_Full = 2;
150
- k_EStreamColorspace_BT709 = 3;
151
- k_EStreamColorspace_BT709_Full = 4;
152
- }
153
-
154
- enum EStreamP2PScope {
155
- k_EStreamP2PScopeAutomatic = 0;
156
- k_EStreamP2PScopeDisabled = 1;
157
- k_EStreamP2PScopeOnlyMe = 2;
158
- k_EStreamP2PScopeFriends = 3;
159
- k_EStreamP2PScopeEveryone = 4;
160
- }
161
-
162
- enum EStreamHostPlayAudioPreference {
163
- k_EStreamHostPlayAudioDefault = 0;
164
- k_EStreamHostPlayAudioAlways = 1;
165
- }
166
-
167
- enum EStreamingDataType {
168
- k_EStreamingAudioData = 0;
169
- k_EStreamingVideoData = 1;
170
- k_EStreamingMicrophoneData = 2;
171
- }
172
-
173
- enum EStreamMouseButton {
174
- k_EStreamMouseButtonLeft = 1;
175
- k_EStreamMouseButtonRight = 2;
176
- k_EStreamMouseButtonMiddle = 16;
177
- k_EStreamMouseButtonX1 = 32;
178
- k_EStreamMouseButtonX2 = 64;
179
- k_EStreamMouseButtonUnknown = 4096;
180
- }
181
-
182
- enum EStreamMouseWheelDirection {
183
- k_EStreamMouseWheelUp = 120;
184
- k_EStreamMouseWheelDown = -120;
185
- k_EStreamMouseWheelLeft = 3;
186
- k_EStreamMouseWheelRight = 4;
187
- }
188
-
189
- enum EStreamFramerateLimiter {
190
- k_EStreamFramerateSlowCapture = 1;
191
- k_EStreamFramerateSlowConvert = 2;
192
- k_EStreamFramerateSlowEncode = 4;
193
- k_EStreamFramerateSlowNetwork = 8;
194
- k_EStreamFramerateSlowDecode = 16;
195
- k_EStreamFramerateSlowGame = 32;
196
- k_EStreamFramerateSlowDisplay = 64;
197
- }
198
-
199
- enum EStreamActivity {
200
- k_EStreamActivityIdle = 1;
201
- k_EStreamActivityGame = 2;
202
- k_EStreamActivityDesktop = 3;
203
- k_EStreamActivitySecureDesktop = 4;
204
- k_EStreamActivityMusic = 5;
205
- }
206
-
207
- enum EStreamDataMessage {
208
- k_EStreamDataPacket = 1;
209
- k_EStreamDataLost = 2;
210
- }
211
-
212
- enum EAudioFormat {
213
- k_EAudioFormatNone = 0;
214
- k_EAudioFormat16BitLittleEndian = 1;
215
- k_EAudioFormatFloat = 2;
216
- }
217
-
218
- enum EVideoFormat {
219
- k_EVideoFormatNone = 0;
220
- k_EVideoFormatYV12 = 1;
221
- k_EVideoFormatAccel = 2;
222
- }
223
-
224
- enum EStreamStatsMessage {
225
- k_EStreamStatsFrameEvents = 1;
226
- k_EStreamStatsDebugDump = 2;
227
- k_EStreamStatsLogMessage = 3;
228
- k_EStreamStatsLogUploadBegin = 4;
229
- k_EStreamStatsLogUploadData = 5;
230
- k_EStreamStatsLogUploadComplete = 6;
231
- }
232
-
233
- enum EStreamFrameEvent {
234
- k_EStreamInputEventStart = 0;
235
- k_EStreamInputEventSend = 1;
236
- k_EStreamInputEventRecv = 2;
237
- k_EStreamInputEventQueued = 3;
238
- k_EStreamInputEventHandled = 4;
239
- k_EStreamFrameEventStart = 5;
240
- k_EStreamFrameEventCaptureBegin = 6;
241
- k_EStreamFrameEventCaptureEnd = 7;
242
- k_EStreamFrameEventConvertBegin = 8;
243
- k_EStreamFrameEventConvertEnd = 9;
244
- k_EStreamFrameEventEncodeBegin = 10;
245
- k_EStreamFrameEventEncodeEnd = 11;
246
- k_EStreamFrameEventSend = 12;
247
- k_EStreamFrameEventRecv = 13;
248
- k_EStreamFrameEventDecodeBegin = 14;
249
- k_EStreamFrameEventDecodeEnd = 15;
250
- k_EStreamFrameEventUploadBegin = 16;
251
- k_EStreamFrameEventUploadEnd = 17;
252
- k_EStreamFrameEventComplete = 18;
253
- }
254
-
255
- enum EStreamFrameResult {
256
- k_EStreamFrameResultPending = 0;
257
- k_EStreamFrameResultDisplayed = 1;
258
- k_EStreamFrameResultDroppedNetworkSlow = 2;
259
- k_EStreamFrameResultDroppedNetworkLost = 3;
260
- k_EStreamFrameResultDroppedDecodeSlow = 4;
261
- k_EStreamFrameResultDroppedDecodeCorrupt = 5;
262
- k_EStreamFrameResultDroppedLate = 6;
263
- k_EStreamFrameResultDroppedReset = 7;
264
- }
265
-
266
- enum EFrameAccumulatedStat {
267
- k_EFrameStatFPS = 0;
268
- k_EFrameStatCaptureDurationMS = 1;
269
- k_EFrameStatConvertDurationMS = 2;
270
- k_EFrameStatEncodeDurationMS = 3;
271
- k_EFrameStatSteamDurationMS = 4;
272
- k_EFrameStatServerDurationMS = 5;
273
- k_EFrameStatNetworkDurationMS = 6;
274
- k_EFrameStatDecodeDurationMS = 7;
275
- k_EFrameStatDisplayDurationMS = 8;
276
- k_EFrameStatClientDurationMS = 9;
277
- k_EFrameStatFrameDurationMS = 10;
278
- k_EFrameStatInputLatencyMS = 11;
279
- k_EFrameStatGameLatencyMS = 12;
280
- k_EFrameStatRoundTripLatencyMS = 13;
281
- k_EFrameStatPingTimeMS = 14;
282
- k_EFrameStatServerBitrateKbitPerSec = 15;
283
- k_EFrameStatClientBitrateKbitPerSec = 16;
284
- k_EFrameStatLinkBandwidthKbitPerSec = 17;
285
- k_EFrameStatPacketLossPercentage = 18;
286
- }
287
-
288
- enum ELogFileType {
289
- k_ELogFileSystemBoot = 0;
290
- k_ELogFileSystemReset = 1;
291
- k_ELogFileSystemDebug = 2;
292
- }
293
-
294
- message CDiscoveryPingRequest {
295
- optional uint32 sequence = 1;
296
- optional uint32 packet_size_requested = 2;
297
- }
298
-
299
- message CDiscoveryPingResponse {
300
- optional uint32 sequence = 1;
301
- optional uint32 packet_size_received = 2;
302
- }
303
-
304
- message CStreamingClientHandshakeInfo {
305
- optional int32 network_test = 2;
306
- }
307
-
308
- message CClientHandshakeMsg {
309
- required .CStreamingClientHandshakeInfo info = 1;
310
- }
311
-
312
- message CStreamingServerHandshakeInfo {
313
- optional int32 mtu = 1;
314
- }
315
-
316
- message CServerHandshakeMsg {
317
- required .CStreamingServerHandshakeInfo info = 1;
318
- }
319
-
320
- message CAuthenticationRequestMsg {
321
- optional bytes token = 1;
322
- optional .EStreamVersion version = 2 [default = k_EStreamVersionNone];
323
- optional uint64 steamid = 3;
324
- }
325
-
326
- message CAuthenticationResponseMsg {
327
- enum AuthenticationResult {
328
- SUCCEEDED = 0;
329
- FAILED = 1;
330
- }
331
-
332
- optional .CAuthenticationResponseMsg.AuthenticationResult result = 1 [default = SUCCEEDED];
333
- optional .EStreamVersion version = 2 [default = k_EStreamVersionNone];
334
- }
335
-
336
- message CKeepAliveMsg {
337
- }
338
-
339
- message CStartNetworkTestMsg {
340
- optional uint32 frames = 1;
341
- optional uint32 framerate = 2;
342
- optional uint32 bitrate_kbps = 3;
343
- optional uint32 burst_bitrate_kbps = 4;
344
- optional bool bandwidth_test = 5;
345
- }
346
-
347
- message CStreamVideoMode {
348
- required uint32 width = 1;
349
- required uint32 height = 2;
350
- optional uint32 refresh_rate = 3;
351
- optional uint32 refresh_rate_numerator = 4;
352
- optional uint32 refresh_rate_denominator = 5;
353
- }
354
-
355
- message CStreamingClientCaps {
356
- optional string system_info = 1;
357
- optional bool system_can_suspend = 2;
358
- optional int32 maximum_decode_bitrate_kbps = 3;
359
- optional int32 maximum_burst_bitrate_kbps = 4;
360
- optional bool supports_video_hevc = 5;
361
- optional bool disable_steam_store = 6;
362
- optional bool disable_client_cursor = 7;
363
- optional bool disable_intel_hardware_encoding = 8;
364
- optional bool disable_amd_hardware_encoding = 9;
365
- optional bool disable_nvidia_hardware_encoding = 10;
366
- optional int32 form_factor = 11;
367
- optional bool has_on_screen_keyboard = 12;
368
- repeated .EStreamColorspace supported_colorspaces = 13;
369
- }
370
-
371
- message CStreamingClientConfig {
372
- optional .EStreamQualityPreference quality = 1 [default = k_EStreamQualityBalanced];
373
- optional uint32 maximum_resolution_x = 2;
374
- optional uint32 maximum_resolution_y = 3;
375
- optional uint32 maximum_framerate_numerator = 4;
376
- optional uint32 maximum_framerate_denominator = 5;
377
- optional int32 maximum_bitrate_kbps = 6 [default = -1];
378
- optional bool enable_hardware_decoding = 7 [default = true];
379
- optional bool enable_performance_overlay = 8 [default = false];
380
- optional bool enable_video_streaming = 9 [default = true];
381
- optional bool enable_audio_streaming = 10 [default = true];
382
- optional bool enable_input_streaming = 11 [default = true];
383
- optional int32 audio_channels = 12 [default = 2];
384
- optional bool enable_video_hevc = 13 [default = false];
385
- optional bool enable_performance_icons = 14 [default = true];
386
- optional bool enable_microphone_streaming = 15 [default = false];
387
- optional string controller_overlay_hotkey = 16;
388
- optional bool enable_touch_controller = 17 [default = false];
389
- optional .EStreamP2PScope p2p_scope = 19 [default = k_EStreamP2PScopeAutomatic];
390
- }
391
-
392
- message CStreamingServerConfig {
393
- optional bool change_desktop_resolution = 1;
394
- optional bool dynamically_adjust_resolution = 2;
395
- optional bool enable_capture_nvfbc = 3;
396
- optional bool enable_hardware_encoding_nvidia = 4;
397
- optional bool enable_hardware_encoding_amd = 5;
398
- optional bool enable_hardware_encoding_intel = 6;
399
- optional int32 software_encoding_threads = 7;
400
- optional bool enable_traffic_priority = 8;
401
- optional .EStreamHostPlayAudioPreference host_play_audio = 9 [default = k_EStreamHostPlayAudioDefault];
402
- }
403
-
404
- message CNegotiatedConfig {
405
- optional bool reliable_data = 1;
406
- optional .EStreamAudioCodec selected_audio_codec = 2 [default = k_EStreamAudioCodecNone];
407
- optional .EStreamVideoCodec selected_video_codec = 3 [default = k_EStreamVideoCodecNone];
408
- repeated .CStreamVideoMode available_video_modes = 4;
409
- optional bool enable_remote_hid = 5;
410
- optional bool enable_touch_input = 6;
411
- optional bool disable_client_cursor = 7;
412
- }
413
-
414
- message CNegotiationInitMsg {
415
- optional bool reliable_data = 1;
416
- repeated .EStreamAudioCodec supported_audio_codecs = 2;
417
- repeated .EStreamVideoCodec supported_video_codecs = 3;
418
- optional bool supports_remote_hid = 4;
419
- optional bool supports_touch_input = 5;
420
- }
421
-
422
- message CNegotiationSetConfigMsg {
423
- required .CNegotiatedConfig config = 1;
424
- optional .CStreamingClientConfig streaming_client_config = 2;
425
- optional .CStreamingClientCaps streaming_client_caps = 3;
426
- }
427
-
428
- message CNegotiationCompleteMsg {
429
- }
430
-
431
- message CStartAudioDataMsg {
432
- required uint32 channel = 2;
433
- optional .EStreamAudioCodec codec = 3 [default = k_EStreamAudioCodecNone];
434
- optional bytes codec_data = 4;
435
- optional uint32 frequency = 5;
436
- optional uint32 channels = 6;
437
- }
438
-
439
- message CStopAudioDataMsg {
440
- }
441
-
442
- message CStartVideoDataMsg {
443
- required uint32 channel = 1;
444
- optional .EStreamVideoCodec codec = 2 [default = k_EStreamVideoCodecNone];
445
- optional bytes codec_data = 3;
446
- optional uint32 width = 4;
447
- optional uint32 height = 5;
448
- }
449
-
450
- message CStopVideoDataMsg {
451
- }
452
-
453
- message CRecordedInput {
454
- optional .EStreamControlMessage type = 1 [default = k_EStreamControlAuthenticationRequest];
455
- optional uint32 timestamp = 2;
456
-
457
- oneof data {
458
- .CInputTouchFingerDownMsg finger_down = 3;
459
- .CInputTouchFingerMotionMsg finger_motion = 4;
460
- .CInputTouchFingerUpMsg finger_up = 5;
461
- .CInputMouseMotionMsg mouse_motion = 6;
462
- .CInputMouseWheelMsg mouse_wheel = 7;
463
- .CInputMouseDownMsg mouse_down = 8;
464
- .CInputMouseUpMsg mouse_up = 9;
465
- .CInputKeyDownMsg key_down = 10;
466
- .CInputKeyUpMsg key_up = 11;
467
- .CInputTextMsg text = 12;
468
- .CRemoteHIDMsg hid = 13;
469
- }
470
- }
471
-
472
- message CRecordedInputStream {
473
- repeated .CRecordedInput entries = 1;
474
- }
475
-
476
- message CInputLatencyTestMsg {
477
- required uint32 input_mark = 1;
478
- optional uint32 color = 2;
479
- }
480
-
481
- message CInputTouchFingerDownMsg {
482
- optional uint32 input_mark = 1;
483
- optional uint64 fingerid = 2;
484
- optional float x_normalized = 3;
485
- optional float y_normalized = 4;
486
- }
487
-
488
- message CInputTouchFingerMotionMsg {
489
- optional uint32 input_mark = 1;
490
- optional uint64 fingerid = 2;
491
- optional float x_normalized = 3;
492
- optional float y_normalized = 4;
493
- }
494
-
495
- message CInputTouchFingerUpMsg {
496
- optional uint32 input_mark = 1;
497
- optional uint64 fingerid = 2;
498
- optional float x_normalized = 3;
499
- optional float y_normalized = 4;
500
- }
501
-
502
- message CInputMouseMotionMsg {
503
- optional uint32 input_mark = 1;
504
- optional float x_normalized = 2;
505
- optional float y_normalized = 3;
506
- optional int32 dx = 4;
507
- optional int32 dy = 5;
508
- }
509
-
510
- message CInputMouseWheelMsg {
511
- optional uint32 input_mark = 1;
512
- required .EStreamMouseWheelDirection direction = 2 [default = k_EStreamMouseWheelUp];
513
- }
514
-
515
- message CInputMouseDownMsg {
516
- optional uint32 input_mark = 1;
517
- required .EStreamMouseButton button = 2 [default = k_EStreamMouseButtonLeft];
518
- }
519
-
520
- message CInputMouseUpMsg {
521
- optional uint32 input_mark = 1;
522
- required .EStreamMouseButton button = 2 [default = k_EStreamMouseButtonLeft];
523
- }
524
-
525
- message CInputKeyDownMsg {
526
- optional uint32 input_mark = 1;
527
- required uint32 scancode = 2;
528
- }
529
-
530
- message CInputKeyUpMsg {
531
- optional uint32 input_mark = 1;
532
- required uint32 scancode = 2;
533
- }
534
-
535
- message CInputTextMsg {
536
- optional uint32 input_mark = 1;
537
- required string text_utf8 = 2;
538
- }
539
-
540
- message CSetTitleMsg {
541
- optional string text = 1;
542
- }
543
-
544
- message CSetCaptureSizeMsg {
545
- optional int32 width = 1;
546
- optional int32 height = 2;
547
- }
548
-
549
- message CSetIconMsg {
550
- optional int32 width = 1;
551
- optional int32 height = 2;
552
- optional bytes image = 3;
553
- }
554
-
555
- message CSetFlashStateMsg {
556
- optional uint32 flags = 1;
557
- optional uint32 count = 2;
558
- optional uint32 timeout_ms = 3;
559
- }
560
-
561
- message CShowCursorMsg {
562
- optional float x_normalized = 1;
563
- optional float y_normalized = 2;
564
- }
565
-
566
- message CHideCursorMsg {
567
- }
568
-
569
- message CSetCursorMsg {
570
- required uint64 cursor_id = 1;
571
- }
572
-
573
- message CGetCursorImageMsg {
574
- required uint64 cursor_id = 1;
575
- }
576
-
577
- message CSetCursorImageMsg {
578
- required uint64 cursor_id = 1;
579
- optional int32 width = 2;
580
- optional int32 height = 3;
581
- optional int32 hot_x = 4;
582
- optional int32 hot_y = 5;
583
- optional bytes image = 6;
584
- }
585
-
586
- message CVideoDecoderInfoMsg {
587
- optional string info = 1;
588
- optional int32 threads = 2;
589
- }
590
-
591
- message CVideoEncoderInfoMsg {
592
- optional string info = 1;
593
- }
594
-
595
- message CPauseMsg {
596
- }
597
-
598
- message CResumeMsg {
599
- }
600
-
601
- message CEnableHighResCaptureMsg {
602
- }
603
-
604
- message CDisableHighResCaptureMsg {
605
- }
606
-
607
- message CToggleMagnificationMsg {
608
- }
609
-
610
- message CSetCapslockMsg {
611
- optional bool pressed = 1;
612
- }
613
-
614
- message CStreamingKeymapEntry {
615
- optional int32 scancode = 1;
616
- optional int32 normal_keycode = 2;
617
- optional int32 shift_keycode = 3;
618
- optional int32 capslock_keycode = 4;
619
- optional int32 shift_capslock_keycode = 5;
620
- optional int32 altgr_keycode = 6;
621
- optional int32 altgr_shift_keycode = 7;
622
- optional int32 altgr_capslock_keycode = 8;
623
- optional int32 altgr_shift_capslock_keycode = 9;
624
- }
625
-
626
- message CStreamingKeymap {
627
- repeated .CStreamingKeymapEntry entries = 1;
628
- }
629
-
630
- message CSetKeymapMsg {
631
- optional .CStreamingKeymap keymap = 1;
632
- }
633
-
634
- message CStopRequest {
635
- }
636
-
637
- message CQuitRequest {
638
- }
639
-
640
- message CDeleteCursorMsg {
641
- required uint64 cursor_id = 1;
642
- }
643
-
644
- message CSetStreamingClientConfig {
645
- required .CStreamingClientConfig config = 1;
646
- }
647
-
648
- message CSetQoSMsg {
649
- required bool use_qos = 1;
650
- }
651
-
652
- message CSetTargetFramerateMsg {
653
- required uint32 framerate = 1;
654
- optional uint32 reasons = 2;
655
- optional uint32 framerate_numerator = 3;
656
- optional uint32 framerate_denominator = 4;
657
- }
658
-
659
- message CSetTargetBitrateMsg {
660
- required int32 bitrate = 1;
661
- }
662
-
663
- message COverlayEnabledMsg {
664
- required bool enabled = 1;
665
- }
666
-
667
- message CSetGammaRampMsg {
668
- optional bytes gamma_ramp = 1;
669
- }
670
-
671
- message CSetActivityMsg {
672
- optional .EStreamActivity activity = 1 [default = k_EStreamActivityIdle];
673
- optional uint32 appid = 2;
674
- optional uint64 gameid = 3;
675
- optional string game_name = 4;
676
- }
677
-
678
- message CSystemSuspendMsg {
679
- }
680
-
681
- message CVirtualHereRequestMsg {
682
- optional string hostname = 1;
683
- }
684
-
685
- message CVirtualHereReadyMsg {
686
- optional uint32 licensed_device_count = 1;
687
- }
688
-
689
- message CVirtualHereShareDeviceMsg {
690
- optional string device_address = 1;
691
- }
692
-
693
- message CSetSpectatorModeMsg {
694
- optional bool enabled = 1;
695
- }
696
-
697
- message CRemoteHIDMsg {
698
- optional bytes data = 1;
699
- }
700
-
701
- message CTouchConfigActiveMsg {
702
- optional uint32 appid = 1;
703
- optional uint32 revision = 2;
704
- optional uint64 creator = 3;
705
- }
706
-
707
- message CGetTouchConfigDataMsg {
708
- optional uint32 appid = 1;
709
- }
710
-
711
- message CSetTouchConfigDataMsg {
712
- optional uint32 appid = 1;
713
- optional uint32 revision = 2;
714
- optional bytes data = 3;
715
- optional bytes layout = 4;
716
- optional uint64 creator = 5;
717
- }
718
-
719
- message CSaveTouchConfigLayoutMsg {
720
- optional uint32 appid = 1;
721
- optional bytes layout = 4;
722
- }
723
-
724
- message CTouchActionSetActiveMsg {
725
- optional uint32 appid = 1;
726
- optional int32 actionset_id = 2;
727
- }
728
-
729
- message CTouchActionSetLayerAddedMsg {
730
- optional uint32 appid = 1;
731
- optional int32 actionset_id = 2;
732
- }
733
-
734
- message CTouchActionSetLayerRemovedMsg {
735
- optional uint32 appid = 1;
736
- optional int32 actionset_id = 2;
737
- }
738
-
739
- message CGetTouchIconDataMsg {
740
- optional uint32 appid = 1;
741
- optional string icon = 2;
742
- }
743
-
744
- message CSetTouchIconDataMsg {
745
- optional uint32 appid = 1;
746
- optional string icon = 2;
747
- optional bytes data = 3;
748
- }
749
-
750
- message CRemotePlayTogetherGroupUpdateMsg {
751
- message Player {
752
- optional uint32 accountid = 1;
753
- optional uint32 guestid = 2;
754
- optional bool keyboard_enabled = 3;
755
- optional bool mouse_enabled = 4;
756
- optional bool controller_enabled = 5;
757
- repeated uint32 controller_slots = 6;
758
- optional bytes avatar_hash = 7;
759
- }
760
-
761
- repeated .CRemotePlayTogetherGroupUpdateMsg.Player players = 1;
762
- optional int32 player_index = 2;
763
- optional string miniprofile_location = 3;
764
- optional string game_name = 4;
765
- optional string avatar_location = 5;
766
- }
767
-
768
- message CSetInputTemporarilyDisabledMsg {
769
- optional bool disabled = 1;
770
- }
771
-
772
- message CSetQualityOverrideMsg {
773
- optional int32 value = 1;
774
- }
775
-
776
- message CSetBitrateOverrideMsg {
777
- optional int32 value = 1;
778
- }
779
-
780
- message CShowOnScreenKeyboardMsg {
781
- }
782
-
783
- message CStreamDataLostMsg {
784
- repeated uint32 packets = 1;
785
- }
786
-
787
- message CAudioFormat {
788
- required .EAudioFormat format = 1 [default = k_EAudioFormatNone];
789
- optional uint32 frequency = 2;
790
- optional uint32 channels = 3;
791
- }
792
-
793
- message CVideoFormat {
794
- required .EVideoFormat format = 1 [default = k_EVideoFormatNone];
795
- optional uint32 width = 2;
796
- optional uint32 height = 3;
797
- }
798
-
799
- message CFrameEvent {
800
- required .EStreamFrameEvent event_id = 1 [default = k_EStreamInputEventStart];
801
- required uint32 timestamp = 2;
802
- }
803
-
804
- message CFrameStats {
805
- required uint32 frame_id = 1;
806
- optional uint32 input_mark = 2;
807
- repeated .CFrameEvent events = 3;
808
- required .EStreamFrameResult result = 4 [default = k_EStreamFrameResultPending];
809
- optional float frame_start_delta = 5;
810
- optional float frame_display_delta = 6;
811
- optional float ping_time = 7;
812
- optional float server_bitrate = 8;
813
- optional float client_bitrate = 9;
814
- optional float link_bandwidth = 10;
815
- optional float packet_loss = 11;
816
- optional uint32 frame_size = 12;
817
- }
818
-
819
- message CFrameStatAccumulatedValue {
820
- required .EFrameAccumulatedStat stat_type = 1 [default = k_EFrameStatFPS];
821
- required int32 count = 2;
822
- required float average = 3;
823
- optional float stddev = 4;
824
- }
825
-
826
- message CFrameStatsListMsg {
827
- required .EStreamingDataType data_type = 1 [default = k_EStreamingAudioData];
828
- repeated .CFrameStats stats = 2;
829
- repeated .CFrameStatAccumulatedValue accumulated_stats = 3;
830
- required int32 latest_frame_id = 4;
831
- }
832
-
833
- message CStreamingSessionStats {
834
- optional float frame_loss_percentage = 1;
835
- optional float average_network_time_ms = 2;
836
- optional float stddev_network_time_ms = 3;
837
- }
838
-
839
- message CDebugDumpMsg {
840
- optional bytes screenshot = 1;
841
- }
842
-
843
- message CLogMsg {
844
- optional int32 type = 1;
845
- optional string message = 2;
846
- }
847
-
848
- message CLogUploadMsg {
849
- optional .ELogFileType type = 1 [default = k_ELogFileSystemBoot];
850
- optional bytes data = 3;
851
- }
852
-
853
- message CTransportSignalMsg {
854
- message WebRTCMessage {
855
- message Candidate {
856
- optional string sdp_mid = 1;
857
- optional int32 sdp_mline_index = 2;
858
- optional string candidate = 3;
859
- }
860
-
861
- oneof msg {
862
- bool greeting = 1;
863
- string offer = 2;
864
- string answer = 3;
865
- .CTransportSignalMsg.WebRTCMessage.Candidate candidate = 4;
866
- }
867
- }
868
-
869
- optional .CTransportSignalMsg.WebRTCMessage webrtc = 1;
870
- repeated bytes sdr = 2;
871
- }
1
+ option optimize_for = SPEED;
2
+ option cc_generic_services = false;
3
+
4
+ enum EStreamChannel {
5
+ k_EStreamChannelInvalid = -1;
6
+ k_EStreamChannelDiscovery = 0;
7
+ k_EStreamChannelControl = 1;
8
+ k_EStreamChannelStats = 2;
9
+ k_EStreamChannelDataChannelStart = 3;
10
+ }
11
+
12
+ enum EStreamDiscoveryMessage {
13
+ k_EStreamDiscoveryPingRequest = 1;
14
+ k_EStreamDiscoveryPingResponse = 2;
15
+ }
16
+
17
+ enum EStreamControlMessage {
18
+ k_EStreamControlAuthenticationRequest = 1;
19
+ k_EStreamControlAuthenticationResponse = 2;
20
+ k_EStreamControlNegotiationInit = 3;
21
+ k_EStreamControlNegotiationSetConfig = 4;
22
+ k_EStreamControlNegotiationComplete = 5;
23
+ k_EStreamControlClientHandshake = 6;
24
+ k_EStreamControlServerHandshake = 7;
25
+ k_EStreamControlStartNetworkTest = 8;
26
+ k_EStreamControlKeepAlive = 9;
27
+ k_EStreamControl_LAST_SETUP_MESSAGE = 15;
28
+ k_EStreamControlStartAudioData = 50;
29
+ k_EStreamControlStopAudioData = 51;
30
+ k_EStreamControlStartVideoData = 52;
31
+ k_EStreamControlStopVideoData = 53;
32
+ k_EStreamControlInputMouseMotion = 54;
33
+ k_EStreamControlInputMouseWheel = 55;
34
+ k_EStreamControlInputMouseDown = 56;
35
+ k_EStreamControlInputMouseUp = 57;
36
+ k_EStreamControlInputKeyDown = 58;
37
+ k_EStreamControlInputKeyUp = 59;
38
+ k_EStreamControlInputGamepadAttached_OBSOLETE = 60;
39
+ k_EStreamControlInputGamepadEvent_OBSOLETE = 61;
40
+ k_EStreamControlInputGamepadDetached_OBSOLETE = 62;
41
+ k_EStreamControlShowCursor = 63;
42
+ k_EStreamControlHideCursor = 64;
43
+ k_EStreamControlSetCursor = 65;
44
+ k_EStreamControlGetCursorImage = 66;
45
+ k_EStreamControlSetCursorImage = 67;
46
+ k_EStreamControlDeleteCursor = 68;
47
+ k_EStreamControlSetTargetFramerate = 69;
48
+ k_EStreamControlInputLatencyTest = 70;
49
+ k_EStreamControlGamepadRumble_OBSOLETE = 71;
50
+ k_EStreamControlOverlayEnabled = 74;
51
+ k_EStreamControlInputControllerAttached_OBSOLETE = 75;
52
+ k_EStreamControlInputControllerState_OBSOLETE = 76;
53
+ k_EStreamControlTriggerHapticPulse_OBSOLETE = 77;
54
+ k_EStreamControlInputControllerDetached_OBSOLETE = 78;
55
+ k_EStreamControlVideoDecoderInfo = 80;
56
+ k_EStreamControlSetTitle = 81;
57
+ k_EStreamControlSetIcon = 82;
58
+ k_EStreamControlQuitRequest = 83;
59
+ k_EStreamControlSetQoS = 87;
60
+ k_EStreamControlInputControllerWirelessPresence_OBSOLETE = 88;
61
+ k_EStreamControlSetGammaRamp = 89;
62
+ k_EStreamControlVideoEncoderInfo = 90;
63
+ k_EStreamControlInputControllerStateHID_OBSOLETE = 93;
64
+ k_EStreamControlSetTargetBitrate = 94;
65
+ k_EStreamControlSetControllerPairingEnabled_OBSOLETE = 95;
66
+ k_EStreamControlSetControllerPairingResult_OBSOLETE = 96;
67
+ k_EStreamControlTriggerControllerDisconnect_OBSOLETE = 97;
68
+ k_EStreamControlSetActivity = 98;
69
+ k_EStreamControlSetStreamingClientConfig = 99;
70
+ k_EStreamControlSystemSuspend = 100;
71
+ k_EStreamControlSetControllerSettings_OBSOLETE = 101;
72
+ k_EStreamControlVirtualHereRequest = 102;
73
+ k_EStreamControlVirtualHereReady = 103;
74
+ k_EStreamControlVirtualHereShareDevice = 104;
75
+ k_EStreamControlSetSpectatorMode = 105;
76
+ k_EStreamControlRemoteHID = 106;
77
+ k_EStreamControlStartMicrophoneData = 107;
78
+ k_EStreamControlStopMicrophoneData = 108;
79
+ k_EStreamControlInputText = 109;
80
+ k_EStreamControlTouchConfigActive = 110;
81
+ k_EStreamControlGetTouchConfigData = 111;
82
+ k_EStreamControlSetTouchConfigData = 112;
83
+ k_EStreamControlSaveTouchConfigLayout = 113;
84
+ k_EStreamControlTouchActionSetActive = 114;
85
+ k_EStreamControlGetTouchIconData = 115;
86
+ k_EStreamControlSetTouchIconData = 116;
87
+ k_EStreamControlInputTouchFingerDown = 117;
88
+ k_EStreamControlInputTouchFingerMotion = 118;
89
+ k_EStreamControlInputTouchFingerUp = 119;
90
+ k_EStreamControlSetCaptureSize = 120;
91
+ k_EStreamControlSetFlashState = 121;
92
+ k_EStreamControlPause = 122;
93
+ k_EStreamControlResume = 123;
94
+ k_EStreamControlEnableHighResCapture = 124;
95
+ k_EStreamControlDisableHighResCapture = 125;
96
+ k_EStreamControlToggleMagnification = 126;
97
+ k_EStreamControlSetCapslock = 127;
98
+ k_EStreamControlSetKeymap = 128;
99
+ k_EStreamControlStopRequest = 129;
100
+ k_EStreamControlTouchActionSetLayerAdded = 130;
101
+ k_EStreamControlTouchActionSetLayerRemoved = 131;
102
+ k_EStreamControlRemotePlayTogetherGroupUpdate = 132;
103
+ k_EStreamControlSetInputTemporarilyDisabled = 133;
104
+ k_EStreamControlSetQualityOverride = 134;
105
+ k_EStreamControlSetBitrateOverride = 135;
106
+ k_EStreamControlShowOnScreenKeyboard = 136;
107
+ k_EStreamControlControllerConfigMsg = 137;
108
+ k_EStreamControlControllerPersonalizationUpdate = 138;
109
+ k_EStreamControlEnableNeptuneData = 139;
110
+ k_EStreamControlDisableNeptuneData = 140;
111
+ k_EStreamControlStartNeptuneData = 141;
112
+ k_EStreamControlStopNeptuneData = 142;
113
+ k_EStreamControlPauseControllerInput = 143;
114
+ k_EStreamControlResumeControllerInput = 144;
115
+ k_EStreamControlVRConnectionReady = 145;
116
+ k_EStreamControlSetCursorScale = 146;
117
+ }
118
+
119
+ enum EStreamVersion {
120
+ k_EStreamVersionNone = 0;
121
+ k_EStreamVersionCurrent = 1;
122
+ }
123
+
124
+ enum EStreamAudioCodec {
125
+ k_EStreamAudioCodecNone = 0;
126
+ k_EStreamAudioCodecRaw = 1;
127
+ k_EStreamAudioCodecVorbis = 2;
128
+ k_EStreamAudioCodecOpus = 3;
129
+ k_EStreamAudioCodecMP3 = 4;
130
+ k_EStreamAudioCodecAAC = 5;
131
+ }
132
+
133
+ enum EStreamVideoCodec {
134
+ k_EStreamVideoCodecNone = 0;
135
+ k_EStreamVideoCodecRaw = 1;
136
+ k_EStreamVideoCodecVP8 = 2;
137
+ k_EStreamVideoCodecVP9 = 3;
138
+ k_EStreamVideoCodecH264 = 4;
139
+ k_EStreamVideoCodecHEVC = 5;
140
+ k_EStreamVideoCodecORBX1 = 6;
141
+ k_EStreamVideoCodecORBX2 = 7;
142
+ }
143
+
144
+ enum EStreamQualityPreference {
145
+ k_EStreamQualityAutomatic = -1;
146
+ k_EStreamQualityFast = 1;
147
+ k_EStreamQualityBalanced = 2;
148
+ k_EStreamQualityBeautiful = 3;
149
+ }
150
+
151
+ enum EStreamBitrate {
152
+ k_EStreamBitrateAutodetect = -1;
153
+ k_EStreamBitrateUnlimited = 0;
154
+ }
155
+
156
+ enum EStreamColorspace {
157
+ k_EStreamColorspace_Unknown = 0;
158
+ k_EStreamColorspace_BT601 = 1;
159
+ k_EStreamColorspace_BT601_Full = 2;
160
+ k_EStreamColorspace_BT709 = 3;
161
+ k_EStreamColorspace_BT709_Full = 4;
162
+ k_EStreamColorspace_BT2020 = 5;
163
+ k_EStreamColorspace_BT2020_Full = 6;
164
+ }
165
+
166
+ enum EStreamP2PScope {
167
+ k_EStreamP2PScopeAutomatic = 0;
168
+ k_EStreamP2PScopeDisabled = 1;
169
+ k_EStreamP2PScopeOnlyMe = 2;
170
+ k_EStreamP2PScopeFriends = 3;
171
+ k_EStreamP2PScopeEveryone = 4;
172
+ }
173
+
174
+ enum EStreamHostPlayAudioPreference {
175
+ k_EStreamHostPlayAudioDefault = 0;
176
+ k_EStreamHostPlayAudioAlways = 1;
177
+ }
178
+
179
+ enum EStreamingDataType {
180
+ k_EStreamingAudioData = 0;
181
+ k_EStreamingVideoData = 1;
182
+ k_EStreamingMicrophoneData = 2;
183
+ k_EStreamingNeptuneData = 3;
184
+ }
185
+
186
+ enum EStreamMouseButton {
187
+ k_EStreamMouseButtonLeft = 1;
188
+ k_EStreamMouseButtonRight = 2;
189
+ k_EStreamMouseButtonMiddle = 16;
190
+ k_EStreamMouseButtonX1 = 32;
191
+ k_EStreamMouseButtonX2 = 64;
192
+ k_EStreamMouseButtonUnknown = 4096;
193
+ }
194
+
195
+ enum EStreamMouseWheelDirection {
196
+ k_EStreamMouseWheelUp = 120;
197
+ k_EStreamMouseWheelDown = -120;
198
+ k_EStreamMouseWheelLeft = 3;
199
+ k_EStreamMouseWheelRight = 4;
200
+ }
201
+
202
+ enum EStreamFramerateLimiter {
203
+ k_EStreamFramerateSlowCapture = 1;
204
+ k_EStreamFramerateSlowConvert = 2;
205
+ k_EStreamFramerateSlowEncode = 4;
206
+ k_EStreamFramerateSlowNetwork = 8;
207
+ k_EStreamFramerateSlowDecode = 16;
208
+ k_EStreamFramerateSlowGame = 32;
209
+ k_EStreamFramerateSlowDisplay = 64;
210
+ }
211
+
212
+ enum EStreamActivity {
213
+ k_EStreamActivityIdle = 1;
214
+ k_EStreamActivityGame = 2;
215
+ k_EStreamActivityDesktop = 3;
216
+ k_EStreamActivitySecureDesktop = 4;
217
+ k_EStreamActivityMusic = 5;
218
+ }
219
+
220
+ enum EStreamDataMessage {
221
+ k_EStreamDataPacket = 1;
222
+ k_EStreamDataLost = 2;
223
+ }
224
+
225
+ enum EAudioFormat {
226
+ k_EAudioFormatNone = 0;
227
+ k_EAudioFormat16BitLittleEndian = 1;
228
+ k_EAudioFormatFloat = 2;
229
+ }
230
+
231
+ enum EVideoFormat {
232
+ k_EVideoFormatNone = 0;
233
+ k_EVideoFormatYV12 = 1;
234
+ k_EVideoFormatAccel = 2;
235
+ }
236
+
237
+ enum EStreamStatsMessage {
238
+ k_EStreamStatsFrameEvents = 1;
239
+ k_EStreamStatsDebugDump = 2;
240
+ k_EStreamStatsLogMessage = 3;
241
+ k_EStreamStatsLogUploadBegin = 4;
242
+ k_EStreamStatsLogUploadData = 5;
243
+ k_EStreamStatsLogUploadComplete = 6;
244
+ }
245
+
246
+ enum EStreamFrameEvent {
247
+ k_EStreamInputEventStart = 0;
248
+ k_EStreamInputEventSend = 1;
249
+ k_EStreamInputEventRecv = 2;
250
+ k_EStreamInputEventQueued = 3;
251
+ k_EStreamInputEventHandled = 4;
252
+ k_EStreamFrameEventStart = 5;
253
+ k_EStreamFrameEventCaptureBegin = 6;
254
+ k_EStreamFrameEventCaptureEnd = 7;
255
+ k_EStreamFrameEventConvertBegin = 8;
256
+ k_EStreamFrameEventConvertEnd = 9;
257
+ k_EStreamFrameEventEncodeBegin = 10;
258
+ k_EStreamFrameEventEncodeEnd = 11;
259
+ k_EStreamFrameEventSend = 12;
260
+ k_EStreamFrameEventRecv = 13;
261
+ k_EStreamFrameEventDecodeBegin = 14;
262
+ k_EStreamFrameEventDecodeEnd = 15;
263
+ k_EStreamFrameEventUploadBegin = 16;
264
+ k_EStreamFrameEventUploadEnd = 17;
265
+ k_EStreamFrameEventComplete = 18;
266
+ }
267
+
268
+ enum EStreamFrameResult {
269
+ k_EStreamFrameResultPending = 0;
270
+ k_EStreamFrameResultDisplayed = 1;
271
+ k_EStreamFrameResultDroppedNetworkSlow = 2;
272
+ k_EStreamFrameResultDroppedNetworkLost = 3;
273
+ k_EStreamFrameResultDroppedDecodeSlow = 4;
274
+ k_EStreamFrameResultDroppedDecodeCorrupt = 5;
275
+ k_EStreamFrameResultDroppedLate = 6;
276
+ k_EStreamFrameResultDroppedReset = 7;
277
+ }
278
+
279
+ enum EFrameAccumulatedStat {
280
+ k_EFrameStatFPS = 0;
281
+ k_EFrameStatCaptureDurationMS = 1;
282
+ k_EFrameStatConvertDurationMS = 2;
283
+ k_EFrameStatEncodeDurationMS = 3;
284
+ k_EFrameStatSteamDurationMS = 4;
285
+ k_EFrameStatServerDurationMS = 5;
286
+ k_EFrameStatNetworkDurationMS = 6;
287
+ k_EFrameStatDecodeDurationMS = 7;
288
+ k_EFrameStatDisplayDurationMS = 8;
289
+ k_EFrameStatClientDurationMS = 9;
290
+ k_EFrameStatFrameDurationMS = 10;
291
+ k_EFrameStatInputLatencyMS = 11;
292
+ k_EFrameStatGameLatencyMS = 12;
293
+ k_EFrameStatRoundTripLatencyMS = 13;
294
+ k_EFrameStatPingTimeMS = 14;
295
+ k_EFrameStatServerBitrateKbitPerSec = 15;
296
+ k_EFrameStatClientBitrateKbitPerSec = 16;
297
+ k_EFrameStatLinkBandwidthKbitPerSec = 17;
298
+ k_EFrameStatPacketLossPercentage = 18;
299
+ }
300
+
301
+ enum ELogFileType {
302
+ k_ELogFileSystemBoot = 0;
303
+ k_ELogFileSystemReset = 1;
304
+ k_ELogFileSystemDebug = 2;
305
+ }
306
+
307
+ enum EStreamControllerConfigMsg {
308
+ k_EStreamControllerConfigMsg_RequestConfigsForApp = 0;
309
+ k_EStreamControllerConfigMsg_ConfigResponse = 1;
310
+ k_EStreamControllerConfigMsg_PersonalizationResponse = 2;
311
+ k_EStreamControllerConfigMsg_ActiveConfigChange = 3;
312
+ k_EStreamControllerConfigMsg_RequestActiveConfig = 4;
313
+ }
314
+
315
+ message CDiscoveryPingRequest {
316
+ optional uint32 sequence = 1;
317
+ optional uint32 packet_size_requested = 2;
318
+ }
319
+
320
+ message CDiscoveryPingResponse {
321
+ optional uint32 sequence = 1;
322
+ optional uint32 packet_size_received = 2;
323
+ }
324
+
325
+ message CStreamingClientHandshakeInfo {
326
+ optional int32 network_test = 2;
327
+ }
328
+
329
+ message CClientHandshakeMsg {
330
+ required .CStreamingClientHandshakeInfo info = 1;
331
+ }
332
+
333
+ message CStreamingServerHandshakeInfo {
334
+ optional int32 mtu = 1;
335
+ }
336
+
337
+ message CServerHandshakeMsg {
338
+ required .CStreamingServerHandshakeInfo info = 1;
339
+ }
340
+
341
+ message CAuthenticationRequestMsg {
342
+ optional bytes token = 1;
343
+ optional .EStreamVersion version = 2 [default = k_EStreamVersionNone];
344
+ optional uint64 steamid = 3;
345
+ }
346
+
347
+ message CAuthenticationResponseMsg {
348
+ enum AuthenticationResult {
349
+ SUCCEEDED = 0;
350
+ FAILED = 1;
351
+ }
352
+
353
+ optional .CAuthenticationResponseMsg.AuthenticationResult result = 1 [default = SUCCEEDED];
354
+ optional .EStreamVersion version = 2 [default = k_EStreamVersionNone];
355
+ }
356
+
357
+ message CKeepAliveMsg {
358
+ }
359
+
360
+ message CStartNetworkTestMsg {
361
+ optional uint32 frames = 1;
362
+ optional uint32 framerate = 2;
363
+ optional uint32 bitrate_kbps = 3;
364
+ optional uint32 burst_bitrate_kbps = 4;
365
+ optional bool bandwidth_test = 5;
366
+ }
367
+
368
+ message CStreamVideoMode {
369
+ required uint32 width = 1;
370
+ required uint32 height = 2;
371
+ optional uint32 refresh_rate = 3;
372
+ optional uint32 refresh_rate_numerator = 4;
373
+ optional uint32 refresh_rate_denominator = 5;
374
+ }
375
+
376
+ message CStreamVideoLimit {
377
+ optional .EStreamVideoCodec codec = 1 [default = k_EStreamVideoCodecNone];
378
+ optional .CStreamVideoMode mode = 2;
379
+ optional int32 bitrate_kbps = 3;
380
+ optional int32 burst_bitrate_kbps = 4;
381
+ }
382
+
383
+ message CStreamingClientCaps {
384
+ optional string system_info = 1;
385
+ optional bool system_can_suspend = 2;
386
+ optional int32 maximum_decode_bitrate_kbps = 3;
387
+ optional int32 maximum_burst_bitrate_kbps = 4;
388
+ optional bool supports_video_hevc = 5;
389
+ optional bool disable_steam_store = 6;
390
+ optional bool disable_client_cursor = 7;
391
+ optional bool disable_intel_hardware_encoding = 8;
392
+ optional bool disable_amd_hardware_encoding = 9;
393
+ optional bool disable_nvidia_hardware_encoding = 10;
394
+ optional int32 form_factor = 11;
395
+ optional bool has_on_screen_keyboard = 12;
396
+ repeated .EStreamColorspace supported_colorspaces = 13;
397
+ }
398
+
399
+ message CStreamingClientConfig {
400
+ optional .EStreamQualityPreference quality = 1 [default = k_EStreamQualityBalanced];
401
+ optional uint32 desired_resolution_x = 2;
402
+ optional uint32 desired_resolution_y = 3;
403
+ optional uint32 desired_framerate_numerator = 4;
404
+ optional uint32 desired_framerate_denominator = 5;
405
+ optional int32 desired_bitrate_kbps = 6 [default = -1];
406
+ optional bool enable_hardware_decoding = 7 [default = true];
407
+ optional bool enable_performance_overlay = 8 [default = false];
408
+ optional bool enable_video_streaming = 9 [default = true];
409
+ optional bool enable_audio_streaming = 10 [default = true];
410
+ optional bool enable_input_streaming = 11 [default = true];
411
+ optional int32 audio_channels = 12 [default = 2];
412
+ optional bool enable_video_hevc = 13 [default = false];
413
+ optional bool enable_performance_icons = 14 [default = true];
414
+ optional bool enable_microphone_streaming = 15 [default = false];
415
+ optional string controller_overlay_hotkey = 16;
416
+ optional bool enable_touch_controller_OBSOLETE = 17 [default = false];
417
+ optional .EStreamP2PScope p2p_scope = 19 [default = k_EStreamP2PScopeAutomatic];
418
+ optional bool enable_audio_uncompressed = 20 [default = false];
419
+ optional .CStreamVideoLimit display_limit = 21;
420
+ optional .CStreamVideoLimit quality_limit = 22;
421
+ optional .CStreamVideoLimit runtime_limit = 23;
422
+ repeated .CStreamVideoLimit decoder_limit = 24;
423
+ optional bool enable_unreliable_fec = 25 [default = false];
424
+ }
425
+
426
+ message CStreamingServerConfig {
427
+ optional bool change_desktop_resolution = 1;
428
+ optional bool dynamically_adjust_resolution = 2;
429
+ optional bool enable_capture_nvfbc = 3;
430
+ optional bool enable_hardware_encoding_nvidia = 4;
431
+ optional bool enable_hardware_encoding_amd = 5;
432
+ optional bool enable_hardware_encoding_intel = 6;
433
+ optional int32 software_encoding_threads = 7;
434
+ optional bool enable_traffic_priority = 8;
435
+ optional .EStreamHostPlayAudioPreference host_play_audio = 9 [default = k_EStreamHostPlayAudioDefault];
436
+ }
437
+
438
+ message CNegotiatedConfig {
439
+ optional bool reliable_data = 1;
440
+ optional .EStreamAudioCodec selected_audio_codec = 2 [default = k_EStreamAudioCodecNone];
441
+ optional .EStreamVideoCodec selected_video_codec = 3 [default = k_EStreamVideoCodecNone];
442
+ repeated .CStreamVideoMode available_video_modes_OBSOLETE = 4;
443
+ optional bool enable_remote_hid = 5;
444
+ optional bool enable_touch_input = 6;
445
+ optional bool disable_client_cursor = 7;
446
+ }
447
+
448
+ message CNegotiationInitMsg {
449
+ optional bool reliable_data = 1;
450
+ repeated .EStreamAudioCodec supported_audio_codecs = 2;
451
+ repeated .EStreamVideoCodec supported_video_codecs = 3;
452
+ optional bool supports_remote_hid = 4;
453
+ optional bool supports_touch_input = 5;
454
+ }
455
+
456
+ message CNegotiationSetConfigMsg {
457
+ required .CNegotiatedConfig config = 1;
458
+ optional .CStreamingClientConfig streaming_client_config = 2;
459
+ optional .CStreamingClientCaps streaming_client_caps = 3;
460
+ }
461
+
462
+ message CNegotiationCompleteMsg {
463
+ }
464
+
465
+ message CStartAudioDataMsg {
466
+ required uint32 channel = 2;
467
+ optional .EStreamAudioCodec codec = 3 [default = k_EStreamAudioCodecNone];
468
+ optional bytes codec_data = 4;
469
+ optional uint32 frequency = 5;
470
+ optional uint32 channels = 6;
471
+ }
472
+
473
+ message CStopAudioDataMsg {
474
+ }
475
+
476
+ message CStartVideoDataMsg {
477
+ required uint32 channel = 1;
478
+ optional .EStreamVideoCodec codec = 2 [default = k_EStreamVideoCodecNone];
479
+ optional bytes codec_data = 3;
480
+ optional uint32 width = 4;
481
+ optional uint32 height = 5;
482
+ }
483
+
484
+ message CStopVideoDataMsg {
485
+ }
486
+
487
+ message CStartNeptuneDataMsg {
488
+ required uint32 channel = 1;
489
+ }
490
+
491
+ message CStopNeptuneDataMsg {
492
+ }
493
+
494
+ message CRecordedInput {
495
+ optional .EStreamControlMessage type = 1 [default = k_EStreamControlAuthenticationRequest];
496
+ optional uint32 timestamp = 2;
497
+
498
+ oneof data {
499
+ .CInputTouchFingerDownMsg finger_down = 3;
500
+ .CInputTouchFingerMotionMsg finger_motion = 4;
501
+ .CInputTouchFingerUpMsg finger_up = 5;
502
+ .CInputMouseMotionMsg mouse_motion = 6;
503
+ .CInputMouseWheelMsg mouse_wheel = 7;
504
+ .CInputMouseDownMsg mouse_down = 8;
505
+ .CInputMouseUpMsg mouse_up = 9;
506
+ .CInputKeyDownMsg key_down = 10;
507
+ .CInputKeyUpMsg key_up = 11;
508
+ .CInputTextMsg text = 12;
509
+ .CRemoteHIDMsg hid = 13;
510
+ }
511
+ }
512
+
513
+ message CRecordedInputStream {
514
+ repeated .CRecordedInput entries = 1;
515
+ }
516
+
517
+ message CInputLatencyTestMsg {
518
+ required uint32 input_mark = 1;
519
+ optional uint32 color = 2;
520
+ }
521
+
522
+ message CInputTouchFingerDownMsg {
523
+ optional uint32 input_mark = 1;
524
+ optional uint64 fingerid = 2;
525
+ optional float x_normalized = 3;
526
+ optional float y_normalized = 4;
527
+ }
528
+
529
+ message CInputTouchFingerMotionMsg {
530
+ optional uint32 input_mark = 1;
531
+ optional uint64 fingerid = 2;
532
+ optional float x_normalized = 3;
533
+ optional float y_normalized = 4;
534
+ }
535
+
536
+ message CInputTouchFingerUpMsg {
537
+ optional uint32 input_mark = 1;
538
+ optional uint64 fingerid = 2;
539
+ optional float x_normalized = 3;
540
+ optional float y_normalized = 4;
541
+ }
542
+
543
+ message CInputMouseMotionMsg {
544
+ optional uint32 input_mark = 1;
545
+ optional float x_normalized = 2;
546
+ optional float y_normalized = 3;
547
+ optional int32 dx = 4;
548
+ optional int32 dy = 5;
549
+ }
550
+
551
+ message CInputMouseWheelMsg {
552
+ optional uint32 input_mark = 1;
553
+ required .EStreamMouseWheelDirection direction = 2 [default = k_EStreamMouseWheelUp];
554
+ }
555
+
556
+ message CInputMouseDownMsg {
557
+ optional uint32 input_mark = 1;
558
+ required .EStreamMouseButton button = 2 [default = k_EStreamMouseButtonLeft];
559
+ }
560
+
561
+ message CInputMouseUpMsg {
562
+ optional uint32 input_mark = 1;
563
+ required .EStreamMouseButton button = 2 [default = k_EStreamMouseButtonLeft];
564
+ }
565
+
566
+ message CInputKeyDownMsg {
567
+ optional uint32 input_mark = 1;
568
+ required uint32 scancode = 2;
569
+ }
570
+
571
+ message CInputKeyUpMsg {
572
+ optional uint32 input_mark = 1;
573
+ required uint32 scancode = 2;
574
+ }
575
+
576
+ message CInputTextMsg {
577
+ optional uint32 input_mark = 1;
578
+ required string text_utf8 = 2;
579
+ }
580
+
581
+ message CSetTitleMsg {
582
+ optional string text = 1;
583
+ }
584
+
585
+ message CSetCaptureSizeMsg {
586
+ optional int32 width = 1;
587
+ optional int32 height = 2;
588
+ }
589
+
590
+ message CSetIconMsg {
591
+ optional int32 width = 1;
592
+ optional int32 height = 2;
593
+ optional bytes image = 3;
594
+ }
595
+
596
+ message CSetFlashStateMsg {
597
+ optional uint32 flags = 1;
598
+ optional uint32 count = 2;
599
+ optional uint32 timeout_ms = 3;
600
+ }
601
+
602
+ message CShowCursorMsg {
603
+ optional float x_normalized = 1;
604
+ optional float y_normalized = 2;
605
+ }
606
+
607
+ message CHideCursorMsg {
608
+ }
609
+
610
+ message CSetCursorMsg {
611
+ required uint64 cursor_id = 1;
612
+ }
613
+
614
+ message CGetCursorImageMsg {
615
+ required uint64 cursor_id = 1;
616
+ }
617
+
618
+ message CSetCursorImageMsg {
619
+ required uint64 cursor_id = 1;
620
+ optional int32 width = 2;
621
+ optional int32 height = 3;
622
+ optional int32 hot_x = 4;
623
+ optional int32 hot_y = 5;
624
+ optional bytes image = 6;
625
+ }
626
+
627
+ message CSetCursorScaleMsg {
628
+ optional float scale = 1;
629
+ }
630
+
631
+ message CVideoDecoderInfoMsg {
632
+ optional string info = 1;
633
+ optional int32 threads = 2;
634
+ }
635
+
636
+ message CVideoEncoderInfoMsg {
637
+ optional string info = 1;
638
+ }
639
+
640
+ message CPauseMsg {
641
+ }
642
+
643
+ message CResumeMsg {
644
+ }
645
+
646
+ message CEnableHighResCaptureMsg {
647
+ }
648
+
649
+ message CDisableHighResCaptureMsg {
650
+ }
651
+
652
+ message CEnableNeptuneDataMsg {
653
+ }
654
+
655
+ message CDisableNeptuneDataMsg {
656
+ }
657
+
658
+ message CPauseControllerInputMsg {
659
+ }
660
+
661
+ message CResumeControllerInputMsg {
662
+ }
663
+
664
+ message CToggleMagnificationMsg {
665
+ }
666
+
667
+ message CSetCapslockMsg {
668
+ optional bool pressed = 1;
669
+ }
670
+
671
+ message CStreamingKeymapEntry {
672
+ optional int32 scancode = 1;
673
+ optional int32 normal_keycode = 2;
674
+ optional int32 shift_keycode = 3;
675
+ optional int32 capslock_keycode = 4;
676
+ optional int32 shift_capslock_keycode = 5;
677
+ optional int32 altgr_keycode = 6;
678
+ optional int32 altgr_shift_keycode = 7;
679
+ optional int32 altgr_capslock_keycode = 8;
680
+ optional int32 altgr_shift_capslock_keycode = 9;
681
+ }
682
+
683
+ message CStreamingKeymap {
684
+ repeated .CStreamingKeymapEntry entries = 1;
685
+ }
686
+
687
+ message CSetKeymapMsg {
688
+ optional .CStreamingKeymap keymap = 1;
689
+ }
690
+
691
+ message CStopRequest {
692
+ }
693
+
694
+ message CQuitRequest {
695
+ }
696
+
697
+ message CDeleteCursorMsg {
698
+ required uint64 cursor_id = 1;
699
+ }
700
+
701
+ message CSetStreamingClientConfig {
702
+ required .CStreamingClientConfig config = 1;
703
+ }
704
+
705
+ message CSetQoSMsg {
706
+ required bool use_qos = 1;
707
+ }
708
+
709
+ message CSetTargetFramerateMsg {
710
+ required uint32 framerate = 1;
711
+ optional uint32 reasons = 2;
712
+ optional uint32 framerate_numerator = 3;
713
+ optional uint32 framerate_denominator = 4;
714
+ }
715
+
716
+ message CSetTargetBitrateMsg {
717
+ required int32 bitrate = 1;
718
+ }
719
+
720
+ message COverlayEnabledMsg {
721
+ required bool enabled = 1;
722
+ }
723
+
724
+ message CSetGammaRampMsg {
725
+ optional bytes gamma_ramp = 1;
726
+ }
727
+
728
+ message CSetActivityMsg {
729
+ optional .EStreamActivity activity = 1 [default = k_EStreamActivityIdle];
730
+ optional uint32 appid = 2;
731
+ optional uint64 gameid = 3;
732
+ optional string game_name = 4;
733
+ }
734
+
735
+ message CSystemSuspendMsg {
736
+ }
737
+
738
+ message CVirtualHereRequestMsg {
739
+ optional string hostname = 1;
740
+ }
741
+
742
+ message CVirtualHereReadyMsg {
743
+ optional uint32 licensed_device_count = 1;
744
+ }
745
+
746
+ message CVirtualHereShareDeviceMsg {
747
+ optional string device_address = 1;
748
+ }
749
+
750
+ message CSetSpectatorModeMsg {
751
+ optional bool enabled = 1;
752
+ }
753
+
754
+ message CRemoteHIDMsg {
755
+ optional bytes data = 1;
756
+ optional bool active_input = 2;
757
+ }
758
+
759
+ message CTouchConfigActiveMsg {
760
+ optional uint32 appid = 1;
761
+ optional uint32 revision = 2;
762
+ optional uint64 creator = 3;
763
+ }
764
+
765
+ message CGetTouchConfigDataMsg {
766
+ optional uint32 appid = 1;
767
+ }
768
+
769
+ message CSetTouchConfigDataMsg {
770
+ optional uint32 appid = 1;
771
+ optional uint32 revision = 2;
772
+ optional bytes data = 3;
773
+ optional bytes layout = 4;
774
+ optional uint64 creator = 5;
775
+ }
776
+
777
+ message CSaveTouchConfigLayoutMsg {
778
+ optional uint32 appid = 1;
779
+ optional bytes layout = 4;
780
+ }
781
+
782
+ message CTouchActionSetActiveMsg {
783
+ optional uint32 appid = 1;
784
+ optional int32 actionset_id = 2;
785
+ }
786
+
787
+ message CTouchActionSetLayerAddedMsg {
788
+ optional uint32 appid = 1;
789
+ optional int32 actionset_id = 2;
790
+ }
791
+
792
+ message CTouchActionSetLayerRemovedMsg {
793
+ optional uint32 appid = 1;
794
+ optional int32 actionset_id = 2;
795
+ }
796
+
797
+ message CGetTouchIconDataMsg {
798
+ optional uint32 appid = 1;
799
+ optional string icon = 2;
800
+ }
801
+
802
+ message CSetTouchIconDataMsg {
803
+ optional uint32 appid = 1;
804
+ optional string icon = 2;
805
+ optional bytes data = 3;
806
+ }
807
+
808
+ message CRemotePlayTogetherGroupUpdateMsg {
809
+ message Player {
810
+ optional uint32 accountid = 1;
811
+ optional uint32 guestid = 2;
812
+ optional bool keyboard_enabled = 3;
813
+ optional bool mouse_enabled = 4;
814
+ optional bool controller_enabled = 5;
815
+ repeated uint32 controller_slots = 6;
816
+ optional bytes avatar_hash = 7;
817
+ }
818
+
819
+ repeated .CRemotePlayTogetherGroupUpdateMsg.Player players = 1;
820
+ optional int32 player_index = 2;
821
+ optional string miniprofile_location = 3;
822
+ optional string game_name = 4;
823
+ optional string avatar_location = 5;
824
+ }
825
+
826
+ message CSetInputTemporarilyDisabledMsg {
827
+ optional bool disabled = 1;
828
+ }
829
+
830
+ message CSetQualityOverrideMsg {
831
+ optional int32 value = 1;
832
+ }
833
+
834
+ message CSetBitrateOverrideMsg {
835
+ optional int32 value = 1;
836
+ }
837
+
838
+ message CShowOnScreenKeyboardMsg {
839
+ }
840
+
841
+ message CControllerPersonalizationUpdateMsg {
842
+ optional string controller_path = 1;
843
+ optional string controller_name = 2;
844
+ optional bool reverse_diamond_button_layout = 3;
845
+ }
846
+
847
+ message CVRConnectionReady {
848
+ optional string connect_params = 1;
849
+ }
850
+
851
+ message CStreamDataLostMsg {
852
+ repeated uint32 packets = 1;
853
+ }
854
+
855
+ message CAudioFormat {
856
+ required .EAudioFormat format = 1 [default = k_EAudioFormatNone];
857
+ optional uint32 frequency = 2;
858
+ optional uint32 channels = 3;
859
+ }
860
+
861
+ message CVideoFormat {
862
+ required .EVideoFormat format = 1 [default = k_EVideoFormatNone];
863
+ optional uint32 width = 2;
864
+ optional uint32 height = 3;
865
+ }
866
+
867
+ message CFrameEvent {
868
+ required .EStreamFrameEvent event_id = 1 [default = k_EStreamInputEventStart];
869
+ required uint32 timestamp = 2;
870
+ }
871
+
872
+ message CFrameStats {
873
+ required uint32 frame_id = 1;
874
+ optional uint32 input_mark = 2;
875
+ repeated .CFrameEvent events = 3;
876
+ required .EStreamFrameResult result = 4 [default = k_EStreamFrameResultPending];
877
+ optional float frame_start_delta = 5;
878
+ optional float frame_display_delta = 6;
879
+ optional float ping_time = 7;
880
+ optional float server_bitrate = 8;
881
+ optional float client_bitrate = 9;
882
+ optional float link_bandwidth = 10;
883
+ optional float packet_loss = 11;
884
+ optional uint32 frame_size = 12;
885
+ }
886
+
887
+ message CFrameStatAccumulatedValue {
888
+ required .EFrameAccumulatedStat stat_type = 1 [default = k_EFrameStatFPS];
889
+ required int32 count = 2;
890
+ required float average = 3;
891
+ optional float stddev = 4;
892
+ }
893
+
894
+ message CFrameStatsListMsg {
895
+ required .EStreamingDataType data_type = 1 [default = k_EStreamingAudioData];
896
+ repeated .CFrameStats stats = 2;
897
+ repeated .CFrameStatAccumulatedValue accumulated_stats = 3;
898
+ required int32 latest_frame_id = 4;
899
+ }
900
+
901
+ message CStreamingSessionStats {
902
+ optional float frame_loss_percentage = 1;
903
+ optional float average_network_time_ms = 2;
904
+ optional float stddev_network_time_ms = 3;
905
+ optional string test_data = 4;
906
+ }
907
+
908
+ message CDebugDumpMsg {
909
+ optional bytes screenshot = 1;
910
+ }
911
+
912
+ message CLogMsg {
913
+ optional int32 type = 1;
914
+ optional string message = 2;
915
+ }
916
+
917
+ message CLogUploadMsg {
918
+ optional .ELogFileType type = 1 [default = k_ELogFileSystemBoot];
919
+ optional bytes data = 3;
920
+ }
921
+
922
+ message CTransportSignalMsg {
923
+ message WebRTCMessage {
924
+ message Candidate {
925
+ optional string sdp_mid = 1;
926
+ optional int32 sdp_mline_index = 2;
927
+ optional string candidate = 3;
928
+ }
929
+
930
+ oneof msg {
931
+ bool greeting = 1;
932
+ string offer = 2;
933
+ string answer = 3;
934
+ .CTransportSignalMsg.WebRTCMessage.Candidate candidate = 4;
935
+ }
936
+ }
937
+
938
+ optional .CTransportSignalMsg.WebRTCMessage webrtc = 1;
939
+ repeated bytes sdr = 2;
940
+ }
941
+
942
+ message CControllerConfigMsg {
943
+ message ControllerConfigResponse {
944
+ optional uint32 appid = 1;
945
+ optional string configURL = 2;
946
+ optional uint32 controllerType = 3;
947
+ optional string controllerData = 4;
948
+ optional uint32 selectionOrder = 5;
949
+ optional bool actionBlock = 6;
950
+ }
951
+
952
+ message ControllerPersonalizationResponse {
953
+ optional string personalizationData = 1;
954
+ }
955
+
956
+ message ControllerActiveConfigChangeResponse {
957
+ optional string configURL = 2;
958
+ optional uint32 controllerType = 3;
959
+ optional string controllerData = 4;
960
+ optional uint32 selectionOrder = 5;
961
+ }
962
+
963
+ message ControllerActiveConfigMsg {
964
+ optional uint32 appid = 1;
965
+ optional string configURL = 2;
966
+ optional uint32 controllerType = 3;
967
+ optional string controllerData = 4;
968
+ }
969
+
970
+ required .EStreamControllerConfigMsg type = 1 [default = k_EStreamControllerConfigMsg_RequestConfigsForApp];
971
+ optional string controllerPath = 2;
972
+ optional uint32 appid = 3;
973
+ optional .CControllerConfigMsg.ControllerPersonalizationResponse personalizationResponse = 4;
974
+ repeated .CControllerConfigMsg.ControllerConfigResponse configResponse = 6;
975
+ optional .CControllerConfigMsg.ControllerActiveConfigMsg activeConfigChangeMsg = 7;
976
+ }