live-player 黑屏,如何解决?
发布于 4 年前 作者 guoxiulan 8574 次浏览 来自 官方Issues

<live-player id=“player” src=“rtmp://183.252.194.92:6002/mobile/l_2096936002” mode=“RTC” autoplay bindstatechange=“statechange” binderror=“error” />

live-player error: insertLivePlayer:fail jsapi has no permission, event=insertLivePlayer, runningState=foreground, permissionMsg=permission got, detail=jsapi has no permission

我要播放视频,一直无法成功,黑屏,这个错误,是下载了demo后,我用我的RTMP地址替换了,也不行

我在接口已经打开了直播接口。 是否对live-player,也要配置域名到request地址?还是不是这个问题,目前提供给我的这个RTMP服务的,没有域名,只有IP:端口

1 回复

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

回到顶部