Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
standalone-anyremote
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qlintonger xeno
standalone-anyremote
Commits
daf9d15b
Commit
daf9d15b
authored
May 10, 2024
by
qlintonger xeno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除内容+2
parent
3fc5e8ea
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
src/views/remote/videoCall/videoItem.vue
+2
-1
No files found.
src/views/remote/videoCall/videoItem.vue
View file @
daf9d15b
...
@@ -82,7 +82,7 @@ const checkVideoExists = () => {
...
@@ -82,7 +82,7 @@ const checkVideoExists = () => {
const
video
=
remoteVideoRef
.
value
.
querySelector
(
'video'
)
const
video
=
remoteVideoRef
.
value
.
querySelector
(
'video'
)
isVideoVisible
.
value
=
!!
video
isVideoVisible
.
value
=
!!
video
}
}
const
observer
=
new
MutationObserver
(
checkVideoExists
)
let
observer
:
any
=
new
MutationObserver
(
checkVideoExists
)
onMounted
(
function
()
{
onMounted
(
function
()
{
if
(
!
ps
.
isSelf
)
{
if
(
!
ps
.
isSelf
)
{
AnyR
?.
agora
.
forceReplay
(
ps
.
id
)
AnyR
?.
agora
.
forceReplay
(
ps
.
id
)
...
@@ -97,6 +97,7 @@ onUpdated(function () {
...
@@ -97,6 +97,7 @@ onUpdated(function () {
})
})
onUnmounted
(()
=>
{
onUnmounted
(()
=>
{
observer
.
disconnect
()
// 停止监听
observer
.
disconnect
()
// 停止监听
observer
=
null
;
})
})
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
...
...
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