Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chat_webview
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abookCommunication
chat_webview
Commits
5cfc82a4
Commit
5cfc82a4
authored
Jun 01, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
協業切替ても音声on,offが維持されるように修正
parent
ae69f2a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
4 deletions
+19
-4
public_new/js/collaboration.js
+14
-4
public_new/js/share.js
+5
-0
No files found.
public_new/js/collaboration.js
View file @
5cfc82a4
...
...
@@ -188,11 +188,9 @@ $(function () {
$
(
'#micBtn'
).
click
(
function
()
{
$
(
'#coviewMicCtrBtn'
).
click
();
if
(
$
(
'#micBtn'
).
hasClass
(
'bg_red'
))
{
$
(
'#micBtn'
).
removeClass
(
'bg_red'
);
$
(
'#micBtn'
).
addClass
(
'bg_blue'
);
micOn
();
}
else
{
$
(
'#micBtn'
).
removeClass
(
'bg_blue'
);
$
(
'#micBtn'
).
addClass
(
'bg_red'
);
micOff
();
}
})
...
...
@@ -220,3 +218,15 @@ function penOff() {
$
(
'#penBtn'
).
removeClass
(
'bg_blue'
);
}
};
function
micOn
()
{
coview_api
.
MicMuteControl
(
'off'
);
$
(
'#micBtn'
).
addClass
(
'bg_blue'
);
$
(
'#micBtn'
).
removeClass
(
'bg_red'
);
};
function
micOff
()
{
coview_api
.
MicMuteControl
(
'on'
);
$
(
'#micBtn'
).
removeClass
(
'bg_blue'
);
$
(
'#micBtn'
).
addClass
(
'bg_red'
);
};
public_new/js/share.js
View file @
5cfc82a4
...
...
@@ -439,6 +439,11 @@ function changeCollaboration(changeCollaborationType) {
coview_api
.
ChangeCollaboration
(
'audio'
);
break
;
}
if
(
$
(
'#micBtn'
).
hasClass
(
'bg_red'
))
{
micOff
();
}
else
{
micOn
();
}
penOff
();
if
(
CHAT_UTIL
.
isIOS
())
{
webkit
.
messageHandlers
.
changeCollaboration
.
postMessage
({
"changeCollaborationType"
:
changeCollaborationType
,
"meetingId"
:
newMeetingId
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment