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
317f3397
Commit
317f3397
authored
Jul 31, 2021
by
Kim Peace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed retry camera searching condition
parent
c00c7cfd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
public_new/js/views/collaboration/share-event-listener.js
+13
-0
No files found.
public_new/js/views/collaboration/share-event-listener.js
View file @
317f3397
...
...
@@ -45,6 +45,16 @@ CoviewBridge.bindStartEvent = function () {
};
CollaborationFeature
.
checkAndRetryCamera
=
async
function
()
{
console
.
log
(
"peacekim:: CollaborationFeature.checkAndRetryCamera deviceInfo.isAndroid: "
+
deviceInfo
.
isAndroid
()
+
", globalUserInfo.collaborationType: "
+
globalUserInfo
.
collaborationType
+
", COLLABORATION_TYPE.VIDEO: "
+
COLLABORATION_TYPE
.
VIDEO
+
", g_newStream: "
+
g_newStream
);
if
(
!
deviceInfo
.
isAndroid
)
{
return
;
}
...
...
@@ -54,6 +64,9 @@ CollaborationFeature.checkAndRetryCamera = async function () {
if
(
g_newStream
!=
null
)
{
return
;
}
console
.
log
(
"peacekim:: CollaborationFeature.checkAndRetryCamera retry camerastream"
);
try
{
const
cameraStream
=
await
navigator
.
mediaDevices
.
getUserMedia
(
options
.
constraints
...
...
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