Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
李宁
/
Activity
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 016bd861
authored
Nov 17, 2025
by
李宁
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
ee40b466
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
huaian/demo.html
huaian/js/demo.js
huaian/demo.html
View file @
016bd86
...
...
@@ -7,7 +7,7 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
>
<title>
江苏移动
</title>
<link
rel=
"stylesheet"
href=
"https://xpo.oss-cn-beijing.aliyuncs.com/huaian/css/vant.css"
/>
<link
rel=
"stylesheet"
href=
"css/demo.css?67676"
>
<link
rel=
"stylesheet"
href=
"css/demo.css?676
0000
76"
>
</head>
<body>
...
...
@@ -346,7 +346,7 @@
<script
src=
"js/util.js?1212"
></script>
<script
src=
"js/vue.min.js"
></script>
<script
src=
"js/vant.min.js"
></script>
<script
src=
"js/demo.js?
33333
"
></script>
<script
src=
"js/demo.js?
02020
"
></script>
</body>
</html>
\ No newline at end of file
huaian/js/demo.js
View file @
016bd86
...
...
@@ -585,14 +585,14 @@ $("#videoSwitch").click(async function(e){
if
(
rtcType
==
1
){
await
localTracks
.
videoTrack
.
setDevice
(
camsId
);
}
else
{
room
.
switchActiveDevice
(
'videoinput'
,
camsId
);
await
room
.
switchActiveDevice
(
'videoinput'
,
camsId
);
}
}
else
{
if
(
rtcType
==
1
){
await
localTracks
.
videoTrack
.
setDevice
(
camsId
);
await
localTracks
.
videoTrack
.
setDevice
(
cams
[
0
].
cams
Id
);
}
else
{
room
.
switchActiveDevice
(
'videoinput'
,
camsId
);
await
room
.
switchActiveDevice
(
'videoinput'
,
cams
[
0
].
camsId
);
}
camsId
=
''
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment