android 视频通话v4.1.0无法推流视频到web什么原因呢,android设备之间都能呼叫,web就显示黑屏无声音
可以发一些web端的日志看一下吗?
可以尝试一下:https://docs.agora.io/cn/All/faq/web-native_video_issues
建议先检查几个点:
1、确保Web和Android的频道模式一致,即:如果Android设置channelProfile为直播模式,那么Web createClient时mode需要设置为live;如果Android设置channelProfile为通信模式,那么Web createClient时mode需要设置为rtc;
2、确保Web和Android用户的uid类型一致,都是int uid 或 string uid
3、确保Web端正确处理了浏览器自动播放策略: https://docs.agora.io/cn/live-streaming-premium-4.x/autoplay_policy_web_ng?platform=Web
4、确保Web端使用了支持的浏览器: https://docs.agora.io/cn/All/faq/browser_support
5、根据已知经验,如果场景中有 Safari 浏览器,则建议在 Web 端将 codec 设为 h264;如果没有,则建议设为 vp8;
6、根据文档自查: https://docs.agora.io/cn/All/faq/web-native_video_issues
如果还是有问题,请提供 ChannelName、Web和Android 端用户的 UID,这边查下后台数据。
No data
可以发一些web端的日志看一下吗?
可以尝试一下:https://docs.agora.io/cn/All/faq/web-native_video_issues
建议先检查几个点:
1、确保Web和Android的频道模式一致,即:如果Android设置channelProfile为直播模式,那么Web createClient时mode需要设置为live;如果Android设置channelProfile为通信模式,那么Web createClient时mode需要设置为rtc;
2、确保Web和Android用户的uid类型一致,都是int uid 或 string uid
3、确保Web端正确处理了浏览器自动播放策略: https://docs.agora.io/cn/live-streaming-premium-4.x/autoplay_policy_web_ng?platform=Web
4、确保Web端使用了支持的浏览器: https://docs.agora.io/cn/All/faq/browser_support
5、根据已知经验,如果场景中有 Safari 浏览器,则建议在 Web 端将 codec 设为 h264;如果没有,则建议设为 vp8;
6、根据文档自查: https://docs.agora.io/cn/All/faq/web-native_video_issues
如果还是有问题,请提供 ChannelName、Web和Android 端用户的 UID,这边查下后台数据。