初始化

1. 引入SDK文件

<script src="https://static-live.hst.com/live/websdk/sdk1.3.0.js"></script>

2. 初始化Hst对象

let hst = new Hst.Controller({token: 'XXX', liveRoomId: xxxx})
hst.init().then(() => {
    console.log('初始化成功')
})

注:(专业版用户才能使用)

results matching ""

    No results matching ""