electron_zoomvideosdk.proto 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712
  1. syntax = "proto2";
  2. option optimize_for = LITE_RUNTIME;
  3. package com.electron.zoomvideo.sdk.proto;
  4. //User
  5. message VideoSDKUser {
  6. optional int64 p_user = 1; //ptr_user
  7. optional string custom_identity = 2;
  8. optional string username = 3;
  9. optional bool isHasVideoDevice = 4; //ZoomVideoSDKVideoStatus_isHasVideoDevice
  10. optional bool isVideoOn = 5; // ZoomVideoSDKVideoStatus_isOn
  11. optional int32 audioType = 6; //ZoomVideoSDKAudioStatus_ZoomVideoSDKAudioType audioType
  12. optional bool isAudioMuted = 7; //ZoomVideoSDKAudioStatus_isMuted
  13. optional bool isAudioTalking = 8; //ZoomVideoSDKAudioStatus_isTalking
  14. optional int32 ShareStatus = 9; //ZoomVideoSDKShareStatus
  15. optional bool isHost = 10;
  16. optional bool isManager = 11;
  17. optional int32 VideoStatisticInfo_width = 12; //ZoomVideoSDKVideoStatisticInfo
  18. optional int32 VideoStatisticInfo_height = 13; //ZoomVideoSDKVideoStatisticInfo
  19. optional int32 VideoStatisticInfo_fps = 14; //ZoomVideoSDKVideoStatisticInfo
  20. optional int32 VideoStatisticInfo_bpf = 15; //ZoomVideoSDKVideoStatisticInfo
  21. optional int32 ShareStatisticInfo_width = 16; //ZoomVideoSDKShareStatisticInfo
  22. optional int32 ShareStatisticInfo_height = 17; //ZoomVideoSDKShareStatisticInfo
  23. optional int32 ShareStatisticInfo_fps = 18; //ZoomVideoSDKShareStatisticInfo
  24. optional int32 ShareStatisticInfo_bpf = 19; //ZoomVideoSDKShareStatisticInfo
  25. optional string userid = 20;
  26. }
  27. message UserList{
  28. repeated VideoSDKUser user = 1;
  29. }
  30. //SessionAudioStatisticInfo
  31. message VideoSDKSessionAudioStatisticInfo {
  32. optional int64 frequency = 1;
  33. optional int64 latency = 2;
  34. optional int64 Jitter = 3;
  35. optional float packetLossAvg = 4;
  36. optional float packetLossMax = 5;
  37. }
  38. message VideoSDKSessionAudioStatisticInfoList{
  39. repeated VideoSDKSessionAudioStatisticInfo audioStatisticInfo = 1;
  40. }
  41. //SessionASVStatisticInfo
  42. message VideoSDKSessionASVStatisticInfo {
  43. optional int64 frame_width = 1;
  44. optional int64 frame_height = 2;
  45. optional int64 fps = 3;
  46. optional int64 latency = 4;
  47. optional int64 Jitter = 5;
  48. optional float packetLossAvg = 6;
  49. optional float packetLossMax = 7;
  50. }
  51. message VideoSDKSessionASVStatisticInfoList{
  52. repeated VideoSDKSessionASVStatisticInfo ASVStatisticInfo = 1;
  53. }
  54. //VideoCapability
  55. message SDKVideoCapability{
  56. optional bool isEffective = 1;
  57. optional int32 width = 2;
  58. optional int32 height = 3;
  59. optional int32 frame = 4;
  60. }
  61. message SDKVideoCapabilityList{
  62. repeated SDKVideoCapability VideoCapability = 1;
  63. }
  64. //LTTLanguage
  65. message LTTLanguage {
  66. optional int32 lttLanguageID = 1;
  67. optional string lttLanguageName = 2;
  68. }
  69. //CallbackBody
  70. message CallbackBody{
  71. message onErrorParams {
  72. optional int32 errorCode = 1;
  73. optional int32 detailErrorCode = 2;
  74. }
  75. message onUserJoinParams{
  76. optional UserList zn_userList = 1;
  77. }
  78. message onUserLeaveParams{
  79. optional UserList zn_userList = 1;
  80. }
  81. message onUserVideoStatusChangedParams{
  82. optional UserList zn_userList = 1;
  83. }
  84. message onUserAudioStatusChangedParams{
  85. optional UserList zn_userList = 1;
  86. }
  87. message onUserShareStatusChangedParams{
  88. optional VideoSDKUser user = 1;
  89. optional int32 status = 2; //ZNZoomVideoSDKShareStatus
  90. optional int32 type = 3; //ZNZoomVideoSDKShareType
  91. }
  92. message onLiveStreamStatusChangedParams{
  93. optional int32 status = 1; //ZNZoomVideoSDKLiveStreamStatus
  94. }
  95. message onUserHostChangedParams{
  96. optional VideoSDKUser user = 1;
  97. }
  98. message onUserNameChangedParams{
  99. optional VideoSDKUser user = 1;
  100. }
  101. message onUserManagerChangedParams{
  102. optional VideoSDKUser user = 1;
  103. }
  104. message onUserActiveAudioChangedParams{
  105. optional UserList zn_userList = 1;
  106. }
  107. message onChatNewMessageNotifyParams{
  108. optional int64 pSender = 1;
  109. optional string senderName = 2;
  110. optional int64 pReceiver = 3;
  111. optional string receiverName = 4;
  112. optional string messageContent = 5;
  113. optional int64 timeStamp = 6;
  114. optional bool isChatToAll = 7;
  115. optional bool isSelfSend = 8;
  116. optional string messageID = 9;
  117. }
  118. message onChatMsgDeleteNotificationParams{
  119. optional string messageID = 1;
  120. optional int32 deleteBy = 2;
  121. }
  122. message onVideoSourceInitializeParams{
  123. optional SDKVideoCapabilityList VideoCapabilityList = 1;
  124. }
  125. message onPropertyChangeParams{
  126. optional SDKVideoCapability VideoCapability = 1;
  127. }
  128. message onRawDataStatusChangedParams{
  129. optional int64 recv_handle = 1;
  130. optional int32 status = 2;
  131. }
  132. message onCommandReceivedParams{
  133. optional VideoSDKUser pSender = 1;
  134. optional string strCmd = 2;
  135. }
  136. message onCommandChannelConnectResultParams{
  137. optional bool isSuccess = 1;
  138. }
  139. message onInviteByPhoneStatusParams{
  140. optional int32 status = 1;
  141. optional int32 reason = 2;
  142. }
  143. message onCloudRecordingStatusParams{
  144. optional int32 status = 1;
  145. }
  146. message onCameraControlRequestResultParams{
  147. optional VideoSDKUser pUser = 1;
  148. optional bool isApproved = 2;
  149. }
  150. message onCameraControlRequestReceivedParams{
  151. optional VideoSDKUser pUser = 1;
  152. optional int32 requestType = 2;
  153. }
  154. message onHostAskUnmuteParams{
  155. }
  156. message onMultiCameraStreamStatusChangedParams{
  157. optional int32 status = 1;
  158. optional VideoSDKUser user = 2;
  159. optional int64 cameraStreamID = 3;
  160. }
  161. message onMicSpeakerVolumeChangedParams{
  162. optional uint32 MicVolume = 1;
  163. optional uint32 SpeakerVolume = 2;
  164. }
  165. message onAudioDeviceStatusChangedParams{
  166. optional int32 type = 1;
  167. optional int32 status = 2;
  168. }
  169. message onTestMicStatusChangedParams{
  170. optional int32 status = 1;
  171. }
  172. message onSelectedAudioDeviceChangedParams{
  173. }
  174. message onLiveTranscriptionStatusParams{
  175. optional int32 status = 1;
  176. }
  177. message onLiveTranscriptionMsgReceivedParams{
  178. optional string ltMsg = 1;
  179. optional VideoSDKUser user = 2;
  180. optional int32 type = 3;
  181. }
  182. message onLiveTranscriptionMsgErrorParams {
  183. optional LTTLanguage spokenLanguage = 1;
  184. optional LTTLanguage transcriptLanguage = 2;
  185. }
  186. message liveTranscriptionMsgInfoParams{
  187. optional int64 timeStamp = 1;
  188. optional string messageID = 2;
  189. optional string messageContent = 3;
  190. optional string speakerName = 4;
  191. optional string speakerID = 5;
  192. optional int32 messageType = 6;
  193. }
  194. optional int32 msgtype = 1; //0:onSessionJoin 1:onSessionLeave 2:onError 3:onUserJoin 4:onUserLeave 5:onUserVideoStatusChanged 6:onUserAudioStatusChanged 7:onUserShareStatusChanged
  195. // 8:onLiveStreamStatusChanged 9:onChatNewMessageNotify 10:onUserHostChanged 11:onUserActiveAudioChanged 12:onSessionNeedPassword 13:onSessionPasswordWrong
  196. //14:onInitialize 15:onPropertyChange 16:onStartSend 17:onStopSend 18:onUninitialized 19:onRawDataStatusChanged 20:onUserManagerChanged
  197. //21:onUserNameChanged 22:onCommandReceived 23:onCloudRecordingStatus 24:onCameraControlRequestResult 25:onCameraControlRequestReceived 26:onCommandChannelConnectResult
  198. //27:onHostAskUnmute 28:onInviteByPhoneStatus 29:onMultiCameraStreamStatusChanged 30:onMicSpeakerVolumeChanged
  199. //31:onAudioDeviceStatusChanged 32:onTestMicStatusChanged 33:onSelectedAudioDeviceChanged
  200. //34:onLiveTranscriptionStatus 35:onLiveTranscriptionMsgReceived 36:onLiveTranscriptionMsgError
  201. //37:onChatMsgDeleteNotification 38:onLiveTranscriptionMsgInfoReceived 39:onOriginalLanguageMsgReceived
  202. optional onErrorParams onErrorParam = 2;
  203. optional onUserJoinParams onUserJoinParam = 3;
  204. optional onUserLeaveParams onUserLeaveParam = 4;
  205. optional onUserVideoStatusChangedParams onUserVideoStatusChangedParam = 5;
  206. optional onUserAudioStatusChangedParams onUserAudioStatusChangedParam = 6;
  207. optional onUserShareStatusChangedParams onUserShareStatusChangedParam = 7;
  208. optional onLiveStreamStatusChangedParams onLiveStreamStatusChangedParam = 8;
  209. optional onUserHostChangedParams onUserHostChangedParam = 9;
  210. optional onUserActiveAudioChangedParams onUserActiveAudioChangedParam = 10;
  211. optional onChatNewMessageNotifyParams onChatNewMessageNotifyParam = 11;
  212. optional onVideoSourceInitializeParams onVideoSourceInitializeParam = 12;
  213. optional onPropertyChangeParams onPropertyChangeParam = 13;
  214. optional onRawDataStatusChangedParams onRawDataStatusChangedParam = 14;
  215. optional onUserManagerChangedParams onUserManagerChangedParam = 15;
  216. optional onUserNameChangedParams onUserNameChangedParam = 16;
  217. optional onCommandReceivedParams onCommandReceivedParam = 17;
  218. optional onCloudRecordingStatusParams onCloudRecordingStatusParam = 18;
  219. optional onCameraControlRequestResultParams onCameraControlRequestResultParam = 19;
  220. optional onCameraControlRequestReceivedParams onCameraControlRequestReceivedParam = 20;
  221. optional onCommandChannelConnectResultParams onCommandChannelConnectResultParam = 21;
  222. optional onHostAskUnmuteParams onHostAskUnmuteParam = 22;
  223. optional onInviteByPhoneStatusParams onInviteByPhoneStatusParam = 23;
  224. optional onMultiCameraStreamStatusChangedParams onMultiCameraStreamStatusChangedParam = 24;
  225. optional onMicSpeakerVolumeChangedParams onMicSpeakerVolumeChangedParam = 25;
  226. optional onAudioDeviceStatusChangedParams onAudioDeviceStatusChangedParam = 26;
  227. optional onTestMicStatusChangedParams onTestMicStatusChangedParam = 27;
  228. optional onSelectedAudioDeviceChangedParams onSelectedAudioDeviceChangedParam = 28;
  229. optional onLiveTranscriptionStatusParams onLiveTranscriptionStatusParam = 29;
  230. optional onLiveTranscriptionMsgReceivedParams onLiveTranscriptionMsgReceivedParam = 30;
  231. optional onLiveTranscriptionMsgErrorParams onLiveTranscriptionMsgErrorParam = 31;
  232. optional onChatMsgDeleteNotificationParams onChatMsgDeleteNotificationParam = 32;
  233. optional liveTranscriptionMsgInfoParams liveTranscriptionMsgInfoParam = 33;
  234. }
  235. message CreateVideoSDKObjParam {
  236. optional string path = 1; //path
  237. }
  238. message VideoSDKInitParams {
  239. optional string domain = 1; //param.domain
  240. optional string logFilePrefix = 2; //param.logFilePrefix
  241. optional bool enableLog = 3; //param.enableLog
  242. optional int32 audioRawDataMemoryMode = 4; //param.audioRawDataMemoryMode
  243. optional int32 zn_videoRawDataMemoryMode = 5; //param.zn_videoRawDataMemoryMode
  244. optional int32 zn_shareRawDataMemoryMode = 6; //param.zn_shareRawDataMemoryMode
  245. optional string speakerTestFilePath = 7;
  246. }
  247. message VideoSDKSessionContext {
  248. optional string sessionName = 1; //zn_sessionContext.sessionName
  249. optional string sessionPassword = 2; //zn_sessionContext.sessionPassword
  250. optional string token = 3; //zn_sessionContext.token
  251. optional string userName = 4; //zn_sessionContext.userName
  252. optional bool localVideoOn = 5; //zn_sessionContext.videoOption.localVideoOn
  253. optional bool connect = 6; //zn_sessionContext.audioOption.connect
  254. optional bool mute = 7; //zn_sessionContext.audioOption.mute
  255. optional bool preProcessor = 8;
  256. optional bool externalVideoSource = 9;
  257. optional uint32 sessionIdleTimeoutMins = 10;
  258. }
  259. message LeaveSessionParams {
  260. optional bool zn_bEnd = 1; //zn_bEnd
  261. }
  262. message SessionPasswordParams {
  263. optional string zn_password = 1; //zn_password
  264. }
  265. message MuteAudioParams {
  266. optional VideoSDKUser user = 1;
  267. }
  268. message UnMuteAudioParams {
  269. optional VideoSDKUser user = 1;
  270. }
  271. message SetSpeakerParams {
  272. optional bool zn_speaker = 1; //zn_speaker
  273. }
  274. message SelectSpeakerParams {
  275. optional string zn_deviceid = 1; //zn_deviceid
  276. optional string zn_devicename = 2; //zn_devicename
  277. }
  278. message SelectMicParams {
  279. optional string zn_deviceid = 1; //zn_deviceid
  280. optional string zn_devicename = 2; //zn_devicename
  281. }
  282. message SendChatToUserParams {
  283. optional VideoSDKUser user = 1;
  284. optional string zn_msgContent = 2; //zn_msgContent
  285. }
  286. message SendChatToAllParams {
  287. optional string zn_msgContent = 1; //zn_msgContent
  288. }
  289. message StartLiveStreamParams {
  290. optional string zn_streamUrl = 1; //zn_streamUrl
  291. optional string zn_key = 2; //zn_key
  292. optional string zn_broadcastUrl = 3; //zn_broadcastUrl
  293. }
  294. message StartShareViewParams {
  295. optional string zn_handle = 1; //zn_handle
  296. optional bool isWithDeviceAudio = 2;
  297. optional bool isOptimizeForSharedVideo = 3;
  298. }
  299. message StartShareScreenParams {
  300. optional string zn_monitorID = 1; //zn_monitorID
  301. optional bool isWithDeviceAudio = 2;
  302. optional bool isOptimizeForSharedVideo = 3;
  303. }
  304. message LockShareParams {
  305. optional bool zn_bLock = 1; //zn_bLock
  306. }
  307. message EnableShareDeviceAudioParams {
  308. optional bool enable = 1;
  309. }
  310. message EnableOptimizeForSharedVideoParams {
  311. optional bool enable = 1;
  312. }
  313. message StartShare2ndCameraParams {
  314. optional string zn_cameraID = 1;
  315. }
  316. message SubscribeMyShareCameraParams {
  317. optional int64 zn_recv_handle = 1; //zn_recv_handle
  318. }
  319. message GetRemoteUsersParams {
  320. optional int64 zn_options = 1; //zn_options
  321. }
  322. message GetMyInfoParams {
  323. optional int64 zn_options = 1; //zn_options
  324. }
  325. message ChangeNameParams {
  326. optional string zn_name = 1; //zn_name
  327. optional VideoSDKUser user = 2;
  328. }
  329. message MakeHostParams {
  330. optional string zn_name = 1; //zn_name
  331. optional VideoSDKUser user = 2;
  332. }
  333. message MakeManagerParams {
  334. optional VideoSDKUser user = 1;
  335. }
  336. message RevokeManagerParams {
  337. optional VideoSDKUser user = 1;
  338. }
  339. message RemoveUserParams {
  340. optional VideoSDKUser user = 1;
  341. }
  342. message RotateMyVideoParams {
  343. optional int32 zn_rotation = 1; //zn_rotation
  344. }
  345. message SelectCameraParams {
  346. optional string zn_deviceID = 1; //zn_deviceID
  347. }
  348. message CreateRenderParams {
  349. optional int64 zn_recv_handle = 1; //zn_recv_handle
  350. }
  351. message DestroyRendererParams {
  352. optional int64 zn_recv_handle = 1; //zn_recv_handle
  353. }
  354. message SubscribeParams {
  355. optional VideoSDKUser zn_user = 1; //zn_user
  356. optional int32 zn_type = 2; //zn_type
  357. optional int64 zn_recv_handle = 3; //zn_recv_handle
  358. optional int32 zn_resolution = 4;
  359. }
  360. message UnSubscribeParams {
  361. optional int64 zn_recv_handle = 1; //zn_recv_handle
  362. optional VideoSDKUser zn_user = 2; //zn_user
  363. optional int32 zn_type = 3; //zn_type
  364. }
  365. message SubscribeToSharedComputerAudioParams {
  366. optional VideoSDKUser zn_user = 1; //zn_user
  367. }
  368. message UnsubscribeToSharedComputerAudioParams {
  369. optional VideoSDKUser zn_user = 1; //zn_user
  370. }
  371. message SubscribeMultiCameraStreamParams {
  372. optional VideoSDKUser zn_user = 1;
  373. optional int64 cameraStreamID = 2;
  374. optional int64 zn_recv_handle = 3;
  375. optional int32 zn_resolution = 4;
  376. }
  377. message UnSubscribeMultiCameraStreamParams {
  378. optional int64 zn_recv_handle = 1;
  379. optional VideoSDKUser zn_user = 2;
  380. optional int64 cameraStreamID = 3;
  381. }
  382. message SetRawDataResolutionParams {
  383. optional int32 zn_resolution = 1; //zn_resolution
  384. optional int64 zn_recv_handle = 2; //zn_recv_handle
  385. }
  386. message GetResolutionParams {
  387. optional int64 zn_recv_handle = 1; //zn_recv_handle
  388. }
  389. message GetRawDataTypeParams {
  390. optional int64 zn_recv_handle = 1; //zn_recv_handle
  391. }
  392. message sendVideoFrameParams {
  393. optional string frameBuffer = 1;
  394. optional int32 width = 2;
  395. optional int32 height = 3;
  396. optional int32 frameLength = 4;
  397. optional int32 rotaion = 5;
  398. }
  399. message CameraInfos {
  400. optional string deviceID = 1;
  401. optional string deviceName = 2;
  402. optional bool isSelectedDevice= 3;
  403. optional bool isSelectedAsMultiCamera = 4;
  404. optional bool isRunningAsMultiCamera = 5;
  405. }
  406. message GetCameraList {
  407. repeated CameraInfos CameraInfo = 1;
  408. }
  409. message MultiCameraStreamInfos {
  410. optional int64 cameraStreamID = 1;
  411. }
  412. message MultiCameraStreamList {
  413. repeated MultiCameraStreamInfos CameraStreamInfo = 1;
  414. }
  415. message GetMultiCameraStreamList {
  416. optional VideoSDKUser user = 1;
  417. }
  418. message MicInfos {
  419. optional string deviceID = 1;
  420. optional string deviceName = 2;
  421. optional bool isSelectedDevice= 3;
  422. }
  423. message GetMicList {
  424. repeated MicInfos MicInfo = 1;
  425. }
  426. message SpeakerInfos {
  427. optional string deviceID = 1;
  428. optional string deviceName = 2;
  429. optional bool isSelectedDevice= 3;
  430. }
  431. message GetSpeakerList {
  432. repeated SpeakerInfos SpeakerInfo = 1;
  433. }
  434. message SendCommandParams {
  435. optional VideoSDKUser user = 1;
  436. optional string strCmd = 2;
  437. }
  438. message PhoneSupportCountryInfos {
  439. optional string countryID = 1;
  440. optional string countryName = 2;
  441. optional string countryCode= 3;
  442. }
  443. message GetPhoneSupportCountryList {
  444. repeated PhoneSupportCountryInfos PhoneSupportCountryInfo = 1;
  445. }
  446. message InviteByPhoneParams {
  447. optional string countryCode = 1;
  448. optional string phoneNumber = 2;
  449. optional string name = 3;
  450. }
  451. message LocalCameraCtrlTurnLeftParams {
  452. optional uint32 range = 1;
  453. }
  454. message LocalCameraCtrlTurnRightParams {
  455. optional uint32 range = 1;
  456. }
  457. message LocalCameraCtrlTurnUpParams {
  458. optional uint32 range = 1;
  459. }
  460. message LocalCameraCtrlTurnDownParams {
  461. optional uint32 range = 1;
  462. }
  463. message LocalCameraCtrlZoomInParams {
  464. optional uint32 range = 1;
  465. }
  466. message LocalCameraCtrlZoomOutParams {
  467. optional uint32 range = 1;
  468. }
  469. message RequestControlRemoteCameraParams {
  470. optional VideoSDKUser user = 1;
  471. }
  472. message GiveUpControlRemoteCameraParams {
  473. optional VideoSDKUser user = 1;
  474. }
  475. message RemoteCameraCtrlTurnLeftParams {
  476. optional uint32 range = 1;
  477. optional VideoSDKUser user = 2;
  478. }
  479. message RemoteCameraCtrlTurnRightParams {
  480. optional uint32 range = 1;
  481. optional VideoSDKUser user = 2;
  482. }
  483. message RemoteCameraCtrlTurnUpParams {
  484. optional uint32 range = 1;
  485. optional VideoSDKUser user = 2;
  486. }
  487. message RemoteCameraCtrlTurnDownParams {
  488. optional uint32 range = 1;
  489. optional VideoSDKUser user = 2;
  490. }
  491. message RemoteCameraCtrlZoomInParams {
  492. optional uint32 range = 1;
  493. optional VideoSDKUser user = 2;
  494. }
  495. message RemoteCameraCtrlZoomOutParams {
  496. optional uint32 range = 1;
  497. optional VideoSDKUser user = 2;
  498. }
  499. message SetVideoQualityPreferenceParams {
  500. optional int32 mode = 1;
  501. optional uint32 minimum_frame_rate = 2;
  502. optional uint32 maximum_frame_rate = 3;
  503. }
  504. message SetSuppressBackgroundNoiseLevelParams {
  505. optional int32 level = 1;
  506. }
  507. message SetEchoCancellationLevelParams {
  508. optional int32 level = 1;
  509. }
  510. message EnableMicOriginalInputParams {
  511. optional bool bEnable = 1;
  512. }
  513. message EnableHighFidelityMusicModeParams {
  514. optional bool bEnable = 1;
  515. }
  516. message EnableEchoCancellationParams {
  517. optional bool bEnable = 1;
  518. }
  519. message EnableStereoAudioParams {
  520. optional bool bEnable = 1;
  521. }
  522. message StartMicTestRecordingParams {
  523. optional string deviceID = 1;
  524. }
  525. message StartSpeakerTestParams {
  526. optional string deviceID = 1;
  527. }
  528. message SetTimerIntervalParams {
  529. optional uint32 timerInterval = 1;
  530. }
  531. message EnableMultiStreamVideoParams {
  532. optional string deviceID = 1;
  533. }
  534. message DisableMultiStreamVideoParams {
  535. optional string deviceID = 1;
  536. }
  537. message StartVideoPreviewParams {
  538. optional int64 zn_recv_handle = 1;
  539. optional string cameraDeviceID = 2;
  540. }
  541. message StopVideoPreviewParams {
  542. optional int64 zn_recv_handle = 1;
  543. }
  544. message SetSpokenLanguageParams {
  545. optional int32 languageID = 1;
  546. }
  547. message LTTLanguagesList {
  548. repeated LTTLanguage lttLanguageInfo = 1;
  549. }
  550. message SetTranslationLanguageParams {
  551. optional int32 languageID = 1;
  552. }
  553. message CanChatMessageBeDeletedParams {
  554. optional string messageID = 1;
  555. }
  556. message DeleteChatMessageParams {
  557. optional string messageID = 1;
  558. }
  559. //VBItemInfo
  560. message VBItemInfo {
  561. optional string imageFilePath = 1;
  562. optional string imageName = 2;
  563. optional int32 vbType = 3;
  564. optional bool canBeDeleted = 4;
  565. }
  566. message VBItemHandleList{
  567. repeated int64 vbItemHandle = 1;
  568. }
  569. message AddVirtualBackgroundItemParams {
  570. optional string imagePath = 1;
  571. }
  572. message RemoveVirtualBackgroundItemParams {
  573. optional int64 vbItemHandle = 1;
  574. }
  575. message SetVirtualBackgroundItemParams {
  576. optional int64 vbItemHandle = 1;
  577. }
  578. message GetVirtualBackgroundItemInfoParams {
  579. optional int64 vbItemHandle = 1;
  580. }