实时语音组件纯音频Android新版出现8s左右的延迟
实时语音组件纯音频Android新版出现8s左右的延迟,7.0.4是好的。
<live-pusher id="pusher_{{item.uid}}"
class="live {{dev ? (!isSpeaking ? 'muted dev' : 'dev'): ''}}"
url="{{item.url}}"
mode="RTC"
autopush="{{isSpeaking || item.tryMic}}"
enable-camera="{{false}}"
muted="{{!isSpeaking && !item.tryMic}}"
bindstatechange="onPusherStateChange"/>
以上是live-pusher的配置
<live-player autoplay
class="live {{dev ? (item.muted ? 'muted dev' : 'dev'): ''}}"
id="player_{{item.uid}}"
muted="{{item.muted || item.tryMic || !item.isSpeaking}}"
mode="RTC"
src="{{item.url}}"
bindstatechange="onPlayerStateChange"binderror="onPlayError"/>
以上是live-player的配置,当前android手机7.0.5手机必现