|
@@ -56,6 +56,9 @@ public class TEMobileServiceImpl implements TEMobileService {
|
|
|
@Resource
|
|
|
TBAppVersionService tbAppVersionService;
|
|
|
|
|
|
+ @Resource
|
|
|
+ MonitorUtil monitorUtil;
|
|
|
+
|
|
|
@Override
|
|
|
public MobileAuthorizationBean authorization(MobileAuthorizationParamBean param) throws NoSuchAlgorithmException {
|
|
|
MobileModeEnum mode = MobileModeEnum.valueOf(param.getMode().toUpperCase());
|
|
@@ -127,6 +130,7 @@ public class TEMobileServiceImpl implements TEMobileService {
|
|
|
ret.setMonitorKey(ExamRecordCacheUtil.getMonitorKey(recordId));
|
|
|
ret.setMonitorVideoSource(monitorVideoSource);
|
|
|
ret.setMonitorAudioEnable(getMonitorAudioEnable(recordId, monitorVideoSource));
|
|
|
+ ret.setMonitorStreamId(monitorUtil.getMonitorDomain().getPrefix() + "_" + recordId + monitorVideoSource.name().toLowerCase());
|
|
|
Source sourceEnum = monitorVideoSource.getSessionSource();
|
|
|
ExamStudentCacheBean es = examStudentService
|
|
|
.getExamStudentCacheBean(ExamRecordCacheUtil.getExamStudentId(ret.getRecordId()));
|