Commit c235cc34 by Lee Munkyeong

動画協業でレコード中にキャプチャーする場合アーカイブ保存するように修正。

parent 7179d84f
......@@ -199,7 +199,11 @@ $(function () {
})
$('#captureBtn').click(function () {
coview_api.Capture(CMS_SERVER_URL + '/chatapi/file/uploadArchive');
screenLock();
recordStop(function() {
$('#screenLock').remove();
coview_api.Capture(CMS_SERVER_URL + '/chatapi/file/uploadArchive');
});
})
$('#captureRequestBtn').click(function () {
......
......@@ -162,7 +162,15 @@ $(function () {
}
} else if (data.type === "CAPTURE_REQUEST" && g_isMainMan) {
if (confirm(data.payload.name + getLocalizedString("request_capture"))) {
captureAndShareImage(CMS_SERVER_URL + '/chatapi/file/uploadArchive', data.payload.name);
if ($('#recordBtn').hasClass('bg_red')) {
screenLock();
recordStop(function() {
$('#screenLock').remove();
captureAndShareImage(CMS_SERVER_URL + '/chatapi/file/uploadArchive', data.payload.name);
});
} else {
captureAndShareImage(CMS_SERVER_URL + '/chatapi/file/uploadArchive', data.payload.name);
}
}
} else if (data.type === "HOST_CHANGE_REQUEST") {
if (data.payload.loginId == globalUserInfo.loginId) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment