yach.ext.agora
owner
庞豪杰(069132)
安装
npm i yach.ext.agora
init
import * as agoraFn from "yach.ext.agora";
agoraFn.initAgoraSDK();
startCall
agoraFn.startCall;
agoraFn.startCall(id, sessionActive);
acceptCall
agoraFn.acceptCall;
agoraFn.acceptCall();
joinCall
agoraFn.joinCall;
agoraFn.joinCall();
refuseCall
agoraFn.refuseCall;
agoraFn.refuseCall();
cancelCall
agoraFn.cancelCall;
agoraFn.cancelCall();
leaveCall
agoraFn.leaveCall;
agoraFn.leaveCall();
sendMessageToPeer
agoraFn.sendMessageToPeer;
agoraFn.sendMessageToPeer();
channelAudio
agoraFn.channelAudio;
agoraFn.channelAudio(status);
closeVoice5
agoraFn.closeVoice5;
agoraFn.closeVoice5();
logoutRtmAndRtc
agoraFn.logoutRtmAndRtc;
agoraFn.logoutRtmAndRtc();
uploadRtmAndRtcBpit
agoraFn.uploadRtmAndRtcBpit;
agoraFn.uploadRtmAndRtcBpit({
module: "api",
result: obj.code == 200 ? 0 : obj.code,
startTime: Date.now(),
path: "/meeting/create_stream",
});
version
0.1.5.20210129
- 主叫和被叫都改为加入频道后才开始计时
0.1.4.20210111
- initAgoraSDK 内部调用时传入参数&增加日志
0.1.3.20201216
- 配置文件去除,13 项目调用 agoraFn 中的初始化函数 initAgoraSDK 时传入所需配置
0.1.2.20201126
- agora ../../
0.1.1.20201105
- 兼容 ios 端 vip 号问题&更新语音电话开始时间处理
0.1.0.20201103
- ncu
- 环境判断&日志处理
0.0.9.20200912
- noticeStream 接口增加 elk 数据上报
- 被叫接听瞬间,主叫方挂断问题处理,增加点对点消息
0.0.8.20200903
- 接口配置文件修改
0.0.7.20200901
- 被叫挂断-主叫再次呼叫问题修复
- 30s 后再次呼叫时只呼叫未收到邀请的端
0.0.6.20200831
- 视频会议发消息问题修复
0.0.5.20200828
- 修复拨通电话立即挂断,然后再次拨打无反应问题
0.0.4.20200826
- modify ajax fun
0.0.3.20200821
- rtm/rtc fun
0.0.2.20200810
- yach.util.agora --> yach.ext.agora
0.0.1.20200720
- init project
- agora rtc