当前位置:网站首页>How to handle the uplink and downlink silence of TRTC
How to handle the uplink and downlink silence of TRTC
2022-06-24 03:18:00 【TRTC Encyclopedia】
1 First of all, judge whether the uplink is silent or the downlink is silent , There are two ways to judge :
(1) Monitoring instrument cluster
open Monitoring instrument cluster , Input sdkappid and roomid, And switch to the call details page of the problem user , Then switch to the audio details page card . If the audio transmission bit rate is abnormal ( Continuously less than 16kbps), It means that the uplink is silent ; If the audio reception bit rate is abnormal ( Continuously less than 16kbps), Then it is silent in the downward direction .
(2) User feedback
No one in the room can hear , It means that the uplink is silent ; Some people in the room can't hear , Then it is silent in the downward direction .
2 Uplink silent processing method
2.1 No microphone rights
Check whether the microphone permission has been obtained .
2.2 Sound capture API、 Mute API
Check whether the call to start sound acquisition API startLocalAudio Or stop sound acquisition in advance ; call API Mute acquisition setCurrentMicDeviceMute: 1; User mute local audio , call muteLocalAudio mute Unmute .
2.3 Microphone startup failed 、 abnormal
(1) Check whether the user inserts the collection device
(2) The user may have selected a faulty acquisition device , It is recommended to replace it for troubleshooting
(3) Users will app Switch to the background , Then start the microphone acquisition ,startLocalAudio Need to be APP Execute at the front desk
(4) Unplug or replace headphones
2.4 Acquisition volume setting is too low
Check whether the hardware and software acquisition volume is too low .
2.5 Role setting error
Audience characters can't upload audio .
2.6 The anchor is abnormal
-3316 The room entry parameter is empty , Please check TRTCCloud.enterRoom(): Whether the interface call passes in a valid param
-3317 Room entry parameters sdkAppId error
-3318 Room entry parameters roomId error
-3319 Room entry parameters userID Incorrect
-3320 Room entry parameters userSig Incorrect
-3308 Request for room entry timeout , Please check the network
-100013 Service not available . Please check : Whether the number of minutes left in the package is greater than 0, Is Tencent account in arrears
3 Downlink silent processing method
3.1 The audience did not pull the remote audio data
Check if... Is called muteRemoteAudio mute Remote audio .
3.2 The audio data played by the viewer is abnormal
setRemoteAudioVolume Of Volume Very small (<20).
3.2 The audience playback device does not work
(1)pc The end user has not inserted the playback device
(2) Frequently appears in the local logs of the Android end restart play device, It indicates that the system plays abnormally , It is necessary to judge whether the user is wearing headphones . If you bring headphones , Whether it is normal to pull the current again ; If you don't have , Tell the user to restart the mobile phone .
3.3 Cancels the audio auto subscription function
In the local log setDefaultStreamRecvMode audio:false, Please refer to setDefaultStreamRecvMode, Resume audio auto subscription .
边栏推荐
- JMeter uses JDBC to perform database pressure test
- Can elastic public IP be bound to a home server? The difference between elastic public IP and fixed IP
- How do I check the trademark registration number? Where do I need to check?
- Under what circumstances do you need a fortress machine? What are the functions of a fortress machine
- Chapter 6: UART echo case of PS bare metal and FreeRTOS case development
- Highlights of future cloud native CIF Forum
- [51nod] 2102 or minus and
- System library golang Org/x/time/rate frequency limiter bug
- Sorting out of key vulnerabilities identified by CMS in the peripheral management of red team (I)
- Sinclair radio stopped broadcasting many TV stations, suspected of being attacked by blackmail software
猜你喜欢
![[51nod] 3216 Awards](/img/94/fdb32434d1343040d711c76568b281.jpg)
[51nod] 3216 Awards

2022-2028 global medical modified polypropylene industry research and trend analysis report

2022-2028 global aircraft wireless intercom system industry research and trend analysis report

2022-2028 global cancer biopsy instrument and kit industry research and trend analysis report

2022-2028 global cell-based seafood industry research and trend analysis report

Get to know MySQL database

QT creator tips

2022-2028 global marine wet exhaust hose industry research and trend analysis report

2022-2028 global tungsten copper alloy industry research and trend analysis report

2022-2028 global aircraft front wheel steering system industry research and trend analysis report
随机推荐
Can elastic public IP be bound to a home server? The difference between elastic public IP and fixed IP
Which domestic cloud desktop server is good? What are the security guarantees for cloud desktop servers?
Tencent cloud CIF engineering efficiency summit ends perfectly
How to register a trademark? Is the process troublesome?
What is load balancing? What are the functions of load balancing?
How to pair cloud game servers? Is the cloud game server expensive?
What if the computer audio and video engine is abnormal? What are the causes of abnormal computer audio and video engine?
Grpc: how to reasonably manage log configuration?
[51nod] 2106 an odd number times
Micro build low code enterprise exchange day · Shenzhen station opens registration
Case analysis | interpret the truth that multi branch enterprises choose sd-wan network reconstruction in combination with real cases
Elk7.15.1 installation, deployment and construction
Highlights of future cloud native CIF Forum
Coding Ci of Devops
Community pycharm installation visual database
How to install the cloud desktop security server certificate? What can cloud desktops do?
Which brand is a good backup all-in-one machine price
What technology does cloud computing elasticity scale? What are the advantages of elastic scaling in cloud computing?
News | detailed explanation of network security vulnerabilities of branch enterprises
Grpc: how to add API Prometheus monitoring interceptors / Middleware?