How to display Mini Program's live-pusher and live-player in full screen?

what we need to do now is Mini Program"s video function, using Tencent Cloud"s rtc-room tag, and rtc-room encapsulates live-player and live-pusher components.
is now a video template for 1v3, and all you want to do is click on each window to show it full screen. But I have seen it in the official demo. I would like to ask you how to achieve the full-screen display of live-pusher and live-player?


this.ctx = wx.createLivePlayerContext ('myplayer')

FullScreen () {

this.ctx.requestFullScreen({
  success: res => {
    console.log('play success')
  },
  fail: res => {
    console.log('play fail')
  }
})

},


currently push does not support full-screen display, and the full-screen status of pull may change due to other reasons, but no API is provided to monitor the screen status of player

.
Menu