收藏
回答

live-plugin组件调用wx.createLivePlayerContext实例的方法不生效?

this.data.livePlayer = wx.createLivePlayerContext('mylive', this);
let self = this
this.setData({
        "url": ‘’
      }, function () {
        self.data.livePlayer.play()
})
回答关注问题邀请回答
收藏

2 个回答

  • Demons
    Demons
    2023-07-21

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

    2023-07-21
    有用
    回复 1
  • 自嘲。
    自嘲。
    2023-07-21

    self.data.livePlayer.play()

    方法或者stop之类的任何方法都不生效

    2023-07-21
    有用
    回复
登录 后发表内容