steamutils 1.5.29 → 1.5.33

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