1.0.0 • Published 4 years ago
thunder-chatroom-sdk-test6 v1.0.0
Install
npm
npm i --save-dev thunder-chatroom-sdk-test
yarn
yarn add -s thunder-chatroom-sdk-test
Use it in your project
import { RtcService, HummerService } from 'thunder-chatroom-sdk-test'
APIs
RtcService
Function | Useage |
---|---|
initWebRtc | |
rtcInstanceJoinRoom | |
showVideo | |
publishVideo | |
onLiveRoomInfoChange | |
offLiveRoomInfoChange | |
leaveRoom | |
unPublishVideo |
HummerService
Function | Useage |
---|---|
initHummerService | |
enterLive | |
endLive | |
startLive | |
startExtLive | |
getExtLiveStreamUid | |
inviteLiveInterconnect | |
replyInviteLiveInterconnect | |
applyConnect | |
addRoomInfoBroadcast | |
stopBroadcast | |
addUserInfoBroadcast |
1.0.0
4 years ago