steamutils 1.3.4 → 1.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (217) hide show
  1. package/.idea/deployment.xml +21 -0
  2. package/.idea/steamutils.iml +1 -1
  3. package/.idea/vcs.xml +1 -1
  4. package/SteamClient.js +55 -28
  5. package/free_packages.json +10048 -10048
  6. package/package.json +1 -1
  7. package/protos/csgo/base_gcmessages_csgo.proto +547 -547
  8. package/protos/csgo/c_peer2peer_netmessages.proto +55 -55
  9. package/protos/csgo/clientmessages.proto +48 -48
  10. package/protos/csgo/connectionless_netmessages.proto +19 -19
  11. package/protos/csgo/cs_gameevents.proto +34 -34
  12. package/protos/csgo/cs_usercmd.proto +34 -34
  13. package/protos/csgo/cstrike15_gcmessages.proto +1402 -1402
  14. package/protos/csgo/cstrike15_usermessages.proto +596 -596
  15. package/protos/csgo/demo.proto +160 -160
  16. package/protos/csgo/econ_gcmessages.proto +228 -228
  17. package/protos/csgo/engine_gcmessages.proto +14 -14
  18. package/protos/csgo/enums_clientserver.proto +1529 -1529
  19. package/protos/csgo/fatdemo.proto +125 -125
  20. package/protos/csgo/gameevents.proto +120 -120
  21. package/protos/csgo/gcsdk_gcmessages.proto +323 -323
  22. package/protos/csgo/gcsystemmsgs.proto +242 -242
  23. package/protos/csgo/netmessages.proto +604 -604
  24. package/protos/csgo/network_connection.proto +126 -126
  25. package/protos/csgo/networkbasetypes.proto +244 -244
  26. package/protos/csgo/networksystem_protomessages.proto +17 -17
  27. package/protos/csgo/steamdatagram_messages_auth.proto +65 -65
  28. package/protos/csgo/steamdatagram_messages_sdr.proto +534 -534
  29. package/protos/csgo/steammessages.proto +597 -597
  30. package/protos/csgo/steammessages_base.proto +301 -301
  31. package/protos/csgo/steammessages_cloud.steamworkssdk.proto +68 -68
  32. package/protos/csgo/steammessages_gamenetworkingui.proto +61 -61
  33. package/protos/csgo/steammessages_helprequest.steamworkssdk.proto +22 -22
  34. package/protos/csgo/steammessages_oauth.steamworkssdk.proto +18 -18
  35. package/protos/csgo/steammessages_player.steamworkssdk.proto +254 -254
  36. package/protos/csgo/steammessages_publishedfile.steamworkssdk.proto +233 -233
  37. package/protos/csgo/steammessages_steamlearn.steamworkssdk.proto +357 -357
  38. package/protos/csgo/steammessages_unified_base.steamworkssdk.proto +30 -30
  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 +38 -38
  45. package/protos/csgo/usermessages.proto +721 -721
  46. package/protos/csgo/valveextensions.proto +17 -17
  47. package/protos/google/protobuf/descriptor.proto +281 -281
  48. package/protos/steam/clientmetrics.proto +45 -45
  49. package/protos/steam/content_manifest.proto +62 -62
  50. package/protos/steam/contenthubs.proto +41 -41
  51. package/protos/steam/encrypted_app_ticket.proto +10 -10
  52. package/protos/steam/enums.proto +444 -444
  53. package/protos/steam/enums_clientserver.proto +1539 -1539
  54. package/protos/steam/enums_productinfo.proto +13 -13
  55. package/protos/steam/htmlmessages.proto +1027 -1027
  56. package/protos/steam/offline_ticket.proto +8 -8
  57. package/protos/steam/renderer/rendermessages.proto +893 -893
  58. package/protos/steam/steamdatagram_messages_auth.proto +65 -65
  59. package/protos/steam/steamdatagram_messages_sdr.proto +533 -533
  60. package/protos/steam/steammessages_accounthardware.steamclient.proto +201 -201
  61. package/protos/steam/steammessages_appoverview.proto +187 -187
  62. package/protos/steam/steammessages_auth.steamclient.proto +435 -435
  63. package/protos/steam/steammessages_base.proto +332 -332
  64. package/protos/steam/steammessages_broadcast.steamclient.proto +759 -759
  65. package/protos/steam/steammessages_chat.steamclient.proto +1281 -1281
  66. package/protos/steam/steammessages_client_objects.proto +645 -645
  67. package/protos/steam/steammessages_clientlanp2p.proto +42 -42
  68. package/protos/steam/steammessages_clientmetrics.steamclient.proto +194 -194
  69. package/protos/steam/steammessages_clientnotificationtypes.proto +231 -231
  70. package/protos/steam/steammessages_clientserver.proto +392 -392
  71. package/protos/steam/steammessages_clientserver_2.proto +760 -760
  72. package/protos/steam/steammessages_clientserver_appinfo.proto +131 -131
  73. package/protos/steam/steammessages_clientserver_friends.proto +260 -260
  74. package/protos/steam/steammessages_clientserver_gameservers.proto +159 -159
  75. package/protos/steam/steammessages_clientserver_lbs.proto +70 -70
  76. package/protos/steam/steammessages_clientserver_login.proto +167 -167
  77. package/protos/steam/steammessages_clientserver_ucm.proto +205 -205
  78. package/protos/steam/steammessages_clientserver_uds.proto +124 -124
  79. package/protos/steam/steammessages_clientserver_ufs.proto +172 -172
  80. package/protos/steam/steammessages_clientserver_userstats.proto +80 -80
  81. package/protos/steam/steammessages_clientsettings.proto +168 -168
  82. package/protos/steam/steammessages_cloud.steamclient.proto +513 -513
  83. package/protos/steam/steammessages_contentsystem.steamclient.proto +115 -115
  84. package/protos/steam/steammessages_credentials.steamclient.proto +115 -115
  85. package/protos/steam/steammessages_datapublisher.steamclient.proto +116 -116
  86. package/protos/steam/steammessages_depotbuilder.steamclient.proto +118 -118
  87. package/protos/steam/steammessages_deviceauth.steamclient.proto +203 -203
  88. package/protos/steam/steammessages_econ.steamclient.proto +150 -150
  89. package/protos/steam/steammessages_friendmessages.steamclient.proto +168 -168
  90. package/protos/steam/steammessages_gamenetworking.steamclient.proto +32 -32
  91. package/protos/steam/steammessages_gamenetworkingui.proto +61 -61
  92. package/protos/steam/steammessages_gamenotifications.steamclient.proto +156 -156
  93. package/protos/steam/steammessages_gameservers.steamclient.proto +152 -152
  94. package/protos/steam/steammessages_hiddevices.proto +157 -157
  95. package/protos/steam/steammessages_inventory.steamclient.proto +224 -224
  96. package/protos/steam/steammessages_linkfilter.steamclient.proto +49 -49
  97. package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +33 -33
  98. package/protos/steam/steammessages_market.steamclient.proto +26 -26
  99. package/protos/steam/steammessages_marketingmessages.steamclient.proto +274 -274
  100. package/protos/steam/steammessages_offline.steamclient.proto +40 -40
  101. package/protos/steam/steammessages_parental.steamclient.proto +228 -228
  102. package/protos/steam/steammessages_parties.steamclient.proto +94 -94
  103. package/protos/steam/steammessages_partnerapps.steamclient.proto +138 -138
  104. package/protos/steam/steammessages_player.steamclient.proto +1060 -1060
  105. package/protos/steam/steammessages_publishedfile.steamclient.proto +813 -813
  106. package/protos/steam/steammessages_qms.steamclient.proto +125 -125
  107. package/protos/steam/steammessages_remoteclient.proto +99 -99
  108. package/protos/steam/steammessages_remoteclient_discovery.proto +235 -235
  109. package/protos/steam/steammessages_remoteclient_service.steamclient.proto +86 -86
  110. package/protos/steam/steammessages_remoteclient_service_messages.proto +217 -217
  111. package/protos/steam/steammessages_remoteplay.proto +976 -976
  112. package/protos/steam/steammessages_secrets.steamclient.proto +39 -39
  113. package/protos/steam/steammessages_shader.steamclient.proto +108 -108
  114. package/protos/steam/steammessages_site_license.steamclient.proto +128 -128
  115. package/protos/steam/steammessages_sitelicenseclient.proto +38 -38
  116. package/protos/steam/steammessages_siteserverui.proto +130 -130
  117. package/protos/steam/steammessages_star.steamclient.proto +64 -64
  118. package/protos/steam/steammessages_steamtv.steamclient.proto +630 -630
  119. package/protos/steam/steammessages_store.steamclient.proto +371 -371
  120. package/protos/steam/steammessages_storebrowse.steamclient.proto +402 -402
  121. package/protos/steam/steammessages_timedtrial.steamclient.proto +50 -50
  122. package/protos/steam/steammessages_twofactor.steamclient.proto +186 -186
  123. package/protos/steam/steammessages_unified_base.steamclient.proto +33 -33
  124. package/protos/steam/steammessages_unified_test.steamclient.proto +61 -61
  125. package/protos/steam/steammessages_useraccount.steamclient.proto +249 -249
  126. package/protos/steam/steammessages_vac.steamclient.proto +44 -44
  127. package/protos/steam/steammessages_video.steamclient.proto +171 -171
  128. package/protos/steam/steammessages_virtualcontroller.proto +138 -138
  129. package/protos/steam/steammessages_workshop.steamclient.proto +23 -23
  130. package/protos/steam/steamnetworkingsockets_messages.proto +205 -205
  131. package/protos/steam/steamnetworkingsockets_messages_certs.proto +39 -39
  132. package/protos/steam/steamnetworkingsockets_messages_udp.proto +75 -75
  133. package/protos/steam/webuimessages_base.proto +24 -24
  134. package/protos/steam/webuimessages_gamenotes.proto +21 -21
  135. package/protos/steam/webuimessages_steamengine.proto +32 -32
  136. package/protos/steam/webuimessages_storagedevicemanager.proto +110 -110
  137. package/protos/steam/webuimessages_systemmanager.proto +17 -17
  138. package/protos/steam/webuimessages_transport.proto +18 -18
  139. package/protos/steam/webuimessages_transportvalidation.proto +97 -97
  140. package/protos/webui/common.proto +5508 -5508
  141. package/protos/webui/common_base.proto +27 -27
  142. package/protos/webui/service_accountlinking.proto +27 -27
  143. package/protos/webui/service_accountprivacy.proto +42 -42
  144. package/protos/webui/service_auction.proto +97 -97
  145. package/protos/webui/service_authentication.proto +222 -222
  146. package/protos/webui/service_authenticationsupport.proto +74 -74
  147. package/protos/webui/service_broadcast.proto +562 -562
  148. package/protos/webui/service_chat.proto +11 -11
  149. package/protos/webui/service_chatroom.proto +810 -810
  150. package/protos/webui/service_chatusability.proto +107 -107
  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 +150 -150
  155. package/protos/webui/service_clientmetrics.proto +63 -63
  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_econ.proto +134 -134
  161. package/protos/webui/service_embedded.proto +24 -24
  162. package/protos/webui/service_experimentservice.proto +6 -6
  163. package/protos/webui/service_fovasvideo.proto +15 -15
  164. package/protos/webui/service_friendmessages.proto +133 -133
  165. package/protos/webui/service_friendslist.proto +70 -70
  166. package/protos/webui/service_gamenotes.proto +15 -15
  167. package/protos/webui/service_helprequestlogs.proto +26 -26
  168. package/protos/webui/service_loyaltyrewards.proto +252 -252
  169. package/protos/webui/service_marketingmessages.proto +184 -184
  170. package/protos/webui/service_mobileapp.proto +18 -18
  171. package/protos/webui/service_mobileauth.proto +24 -24
  172. package/protos/webui/service_mobiledevice.proto +26 -26
  173. package/protos/webui/service_mobileperaccount.proto +31 -31
  174. package/protos/webui/service_news.proto +101 -101
  175. package/protos/webui/service_parental.proto +178 -178
  176. package/protos/webui/service_partnermembershipinvite.proto +29 -29
  177. package/protos/webui/service_partnerstorebrowse.proto +6 -6
  178. package/protos/webui/service_phone.proto +51 -51
  179. package/protos/webui/service_physicalgoods.proto +15 -15
  180. package/protos/webui/service_player.proto +885 -885
  181. package/protos/webui/service_promotioneventinvites.proto +50 -50
  182. package/protos/webui/service_promotionplanning.proto +72 -72
  183. package/protos/webui/service_publishedfile.proto +687 -687
  184. package/protos/webui/service_publishing.proto +119 -119
  185. package/protos/webui/service_quest.proto +127 -127
  186. package/protos/webui/service_salefeature.proto +315 -315
  187. package/protos/webui/service_saleitemrewards.proto +54 -54
  188. package/protos/webui/service_shoppingcart.proto +108 -108
  189. package/protos/webui/service_steamawards.proto +19 -19
  190. package/protos/webui/service_steamcharts.proto +75 -75
  191. package/protos/webui/service_steamengine.proto +36 -36
  192. package/protos/webui/service_steamlearn.proto +727 -727
  193. package/protos/webui/service_steamnotification.proto +84 -84
  194. package/protos/webui/service_steamtv.proto +495 -495
  195. package/protos/webui/service_steamvrvoicechat.proto +67 -67
  196. package/protos/webui/service_steamvrwebrtc.proto +48 -48
  197. package/protos/webui/service_storagedevicemanager.proto +104 -104
  198. package/protos/webui/service_store.proto +289 -289
  199. package/protos/webui/service_storeappsimilarity.proto +76 -76
  200. package/protos/webui/service_storebrowse.proto +73 -73
  201. package/protos/webui/service_storequery.proto +97 -97
  202. package/protos/webui/service_storesales.proto +15 -15
  203. package/protos/webui/service_storetopsellers.proto +44 -44
  204. package/protos/webui/service_systemmanager.proto +11 -11
  205. package/protos/webui/service_test_transporterror.proto +6 -6
  206. package/protos/webui/service_transportauth.proto +12 -12
  207. package/protos/webui/service_transportvalidation.proto +69 -69
  208. package/protos/webui/service_twofactor.proto +181 -181
  209. package/protos/webui/service_useraccount.proto +138 -138
  210. package/protos/webui/service_usergameactivity.proto +34 -34
  211. package/protos/webui/service_usergamenotes.proto +53 -53
  212. package/protos/webui/service_usernews.proto +68 -68
  213. package/protos/webui/service_userreviews.proto +96 -96
  214. package/protos/webui/service_video.proto +128 -128
  215. package/protos/webui/service_voicechat.proto +139 -139
  216. package/protos/webui/service_webrtc.proto +52 -52
  217. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
@@ -1,976 +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
- 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
- }
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
+ }