当前位置:网站首页>TRTC setaudioroute invalid problem
TRTC setaudioroute invalid problem
2022-06-23 03:34:00 【Sumn】
TRTC During audio and video communication between both parties , The one who doesn't open the wheat , adopt setAudioRoute Setting whether the sound is played out has no effect reason : When we don't open the wheat, we go through the media channel , Unable to set sound playback setAudioRoute. analysis : [I][2020-09-15 +8.0 18:21:45.097][28356, 30490][][audio_device_android.cpp, OnPlayAudioData, 1533][AudioEngine : AudioDeviceAndroid play device ready:sample_rate:48000 channels:2 bits:16, volumetype:MEDIA_PLAY: Indicates that the media channel is being used , There is no way to set whether to put it out Only when volumetype Not for MEDIA_PLAY, by volumetype:VOIP To set the external amplifier or the earpiece normally .
TRTC The host sets the audio quality setAudioQuality After high sound quality , setAudioRoute Unable to switch .
reason : Set to high quality ,sdk Will switch the audio channel to media , The media channel cannot cut the route , It needs to be enforced in startLocalAudio Before calling setSystemVolumeType, Set as call .
Android in
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> Missing speakers will also result in failure to switch speakers
边栏推荐
- JS counts the number of times a string appears in another string
- Analysis on the development of China's graphene industry chain in 2021: with the support of energy conservation and environmental protection policies, the scale of graphene industry will continue to e
- Weekly Postgres world news 2022w03
- How to batch generate jan13 barcode
- How does easyplayer embed a video snapshot into a demo?
- Initialize MySQL Gorm through yaml file
- Official announcement! The Hong Kong Zhuhai Macao Bridge is finally here!
- New configuration of Alipay
- TRTC zero foundation -- Video subscription on the code
- Analysis on development history, industrial chain, output and enterprise layout of medical polypropylene in China in 2020 [figure]
猜你喜欢

Svn local computer storage configuration

线上MySQL的自增id用尽怎么办?
![Analysis on the development prospect of China's brain computer interface industry in 2021: wide application prospect, sustained and rapid growth of market scale [figure]](/img/84/192d152ceb760264b6b555b321f129.jpg)
Analysis on the development prospect of China's brain computer interface industry in 2021: wide application prospect, sustained and rapid growth of market scale [figure]

Fetch request details

centos7 安装 MySQL 及配置 innodb_ruby
![Analysis of China's integrated circuit industry chain in 2021: huge downstream market demand [figure]](/img/de/d73805aaf4345ca3d2a7baf85aab8d.jpg)
Analysis of China's integrated circuit industry chain in 2021: huge downstream market demand [figure]

R tree of search tree

Jmeter- (V) simulated user concurrent login for interface test

mysql 数据恢复 (.ibdata1, bin log)

1058 multiple choice questions (20 points)
随机推荐
Goframe framework (RK boot): enable tls/ssl
How does easyplayer embed a video snapshot into a demo?
Easynvr is displayed online after cascading the upper platform, but what is the reason for the video playback timeout?
新版kali切换最高账户
Brief introduction to arm architecture
Batch generation of Codabar codes using Excel files
Simply use the pagoda to build WordPress
MCU model selection for charging point system design
What is the difference between ArrayList and LinkedList?
Installing serverstatus probe using pagoda
Learning summary of spanquery source code
Get method of fetch request and data of formdata type submitted by post
Enterprise official website applet building tutorial
How to generate code-11 barcode in batch through TXT file
Analysis on the development of duty-free industry in Hainan Province in 2021: the implementation of the new policy makes the duty-free market in Hainan more "prosperous" [figure]
JS counts the number of times a string appears in another string
Network security memorabilia - Summary of vulnerability exploitation events in 2021
【LeetCode】23. 合并K个升序链表
JS Part 4
How to implement collection sorting?