Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
蒋秀川
/
miniProject
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0b11a55d
authored
Sep 22, 2023
by
李乾广
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'qxh-master' of
http://git.keliuyun.com:55676/jiaxiuc123/miniProject
into qxh-master
2 parents
d3a46a9d
a356638e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
h5/src/components/vionPlayer/index.vue
h5/src/views/player/vionPlayerDemo.vue
h5/src/components/vionPlayer/index.vue
View file @
0b11a55
...
...
@@ -158,6 +158,7 @@ export default {
if
(
url
)
{
// 播放地址不同,则先停止再播放。地址相同,相当于暂停后,继续播放
if
(
this
.
playOriginUrl
&&
this
.
playOriginUrl
!==
url
)
{
// 切换视频流地址,先销毁当前实例,再创建新实例,避免内存溢出
this
.
replay
(
url
);
}
else
{
this
.
delayPlay
(
url
);
...
...
h5/src/views/player/vionPlayerDemo.vue
View file @
0b11a55
...
...
@@ -50,8 +50,8 @@ export default {
base64Url
:
''
,
// 播放器相关
playUrl
:
'
https://rtmp01open.ys7.com:9188/v3/openlive/F16423875_1_1.flv?expire=1695279265&id=624619383494283264&t=75ae0260690eedd9d493ab1caf716fe3f10a3e4c9b6df59135e032d437cf187a&ev=100&supportH265=1
'
,
recordUrl
:
'
https://rtmp01open.ys7.com:9188/v3/openpb/F16423875_1_1.flv?begin=20230919103030&end=20230919113030&expire=1695289270&id=624661345092866048&rec=local&t=53368acd4fe795901a25cc1f85e212040abd6d816d5d7154fc61cff27285b81a&ev=100&supportH265=1
'
,
playUrl
:
''
,
recordUrl
:
''
,
}
},
methods
:
{
...
...
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