微信小程序API 實(shí)時(shí)音視頻·創(chuàng)建LivePlayerContext對象

2020-07-23 10:30 更新

LivePlayerContext wx.createLivePlayerContext(string id, Object this)

基礎(chǔ)庫 1.7.0 開始支持,低版本需做兼容處理。

創(chuàng)建 live-player 上下文 LivePlayerContext 對象。

參數(shù)

string id

live-player 組件的 id

Object this

在自定義組件下,當(dāng)前組件實(shí)例的this,以操作組件內(nèi) live-player 組件

返回值

LivePlayerContext


以上內(nèi)容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號