当前位置:网站首页>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
边栏推荐
- How does easyplayer embed a video snapshot into a demo?
- Parsing the implementation of easygbs compatible token as parameter passing
- How to solve the problem that easynvr cannot be cascaded to the easynvs platform? View ports first
- 线上MySQL的自增id用尽怎么办?
- Downloading sqlserver versions (2016-2019)
- Pre and post processing of pytest
- The compatibility of remotefx schemes is related to multiple factors
- Installing serverstatus probe using pagoda
- Goframe framework (RK boot): enable tls/ssl
- SwiftUI 组件大全之使用 ScrollView 和 GeometryReader 创建动画 3D卡片 滚动效果
猜你喜欢

【贪心】leetcode991. Broken Calculator

innodb_ruby 视角下 MySQL 记录增删改

JS Part 4
![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]

Encryption related to returnee of national market supervision public service platform

One of the touchdesigner uses - Download and install
![Analysis on demand and market scale of China's steamed stuffed bun industry in 2020 [figure]](/img/4b/dd272f98b89a157180bf68570d2763.jpg)
Analysis on demand and market scale of China's steamed stuffed bun industry in 2020 [figure]

【机器学习】 吴恩达机器学习作业 ex2逻辑回归 Matlab实现

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]

Banknext microservice: a case study
随机推荐
Salesforce heroku (V) application in salesforce (canvasapp)
Application of map function in JS
Flowable refactoring process editor to obtain user information
This point (II)
Uploading logs using loghub log4j appender
【二叉树】993. Cousins in Binary Tree
How to store easydss version 3.0 video files in other free disks?
Cross tenant data integration link connection
Build information query applet by using micro build
Encryption related to returnee of national market supervision public service platform
Best practices for building multi architecture mirrors
Tencent released the global DDoS threat report in 2021: DDoS threat has become the preferred extortion method for criminal gangs
【LeetCode】23. 合并K个升序链表
How to get started with apiccloud app and multi terminal development of applet based on zero Foundation
Free upgrade of 2-core 2GB for old generation 1-core 2GB machines below standard S5 and SA2
ABCD identifier of SAP mm initial cycle count
Engineer culture: should the company buy genuine software
Summary of some precautions and problems in the use of tars framework (mengxinxiang)
[JS reverse hundreds of cases] the login of a HN service network is reverse, and the verification code is null and void
Bi skills - authority control