EasyDarwin / EasyPusher-Android

免费组件:简单、高效、稳定、免费的一款标准RTSP/RTP协议直播推送库,支持将H.264/H.265/G.711/G.726/AAC等音视频数据推送到RTSP流媒体服务器(例如EasyDarwin)进行低延时直播或者视频通信,支持Windows、Linux、ARM、Android、iOS等平台,EasyPusher配套EasyDarwin流媒体服务器、EasyPlayer RTSP播放器适用于特殊行业的低延时应急指挥需求! Android迁移到了https://github.com/EasyDarwin/EasyPusher-Android , iOS迁移到了https://github.com/EasyDarwin/EasyPusher-iOS
http://www.easydarwin.org
646 stars 262 forks source link

音频的怎么控制麦克风的关和开 #27

Closed douya40 closed 5 years ago

douya40 commented 6 years ago

音频的怎么控制麦克风的关和开

milkywayriver commented 5 years ago

在设置里面选“仅推送视频”即可关闭音频

famik commented 5 years ago

在设置里面选“仅推送视频”即可关闭音频

但我测试结果是这样的: 选“推送音视频” 正常 选“仅推送视频” 播放时视频卡住不动

void setMediaInfo(int videoCodec, int videoFPS, int audioCodec, int audioChannel, int audioSamplerate, int audioBitPerSample); 既然关闭音频了,理论上setMediaInfo 就不需要设置音频编码等音频信息了