callStart static method
通话开始
Implementation
static Future<DataResult> callStart(
String? anchorId, bool call, String callId) async {
Map other = {'userId': anchorId, 'callId': callId, 'caller': call ? 0 : 1};
var res = await BaseDao.fromBaseEncrypt(other, VideoUrl.callStart());
if (res.result) {
var entity = VideoEntity.fromJson(res.data);
return DataResult(entity, true);
}
return res;
}