var pushurl;
if (mui.os.ios) {
pushurl = 'rtmp://xxx;
} else {
pushurl = 'rtmp://xxx;
}
pusher = new plus.video.LivePusher('pusher-box', {
'url': pushurl,
'aspect': '16:9',
'mode': 'SD'
});
setTimeout(function() {
if (pusher) {
pusher.start();
}
}, 500);
// 播放端
player = plus.video.createVideoPlayer(videoid, {src: url});
player.play();
8***@qq.com (作者)
还有摄像头无法横屏
2020-07-08 16:09
8***@qq.com (作者)
不管是前初始化,后初始化,仍无法解决,视频没声音或小声的问题。但Home回到桌面再返回应用,声音就出来了
2020-07-08 16:21