Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
Project
Project
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
ReactWeb5
wisdom-components
Commits
f37a725e
Commit
f37a725e
authored
Mar 06, 2023
by
喻天
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改
parent
4fc88c0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
index.jsx
packages/base-components/TestVideo/src/index.jsx
+2
-0
No files found.
packages/base-components/TestVideo/src/index.jsx
View file @
f37a725e
...
...
@@ -3,6 +3,7 @@ import React, { useRef, useEffect, useImperativeHandle, forwardRef } from 'react
import
App1
from
'./App'
;
import
style
from
'./index.less'
;
import
*
as
Jessibuca
from
'./JessibucaVideo/jessibuca'
;
// proxy.js配置
// '/jessica/': {
// target: wsServerPath,
...
...
@@ -17,6 +18,7 @@ const Video = (props, ref) => {
const
_video
=
useRef
(
null
);
const
{
VideoInfo
,
JessibucaObj
}
=
props
;
let
baseUrl
=
`ws://
${
window
.
location
.
host
}
/jessica`
;
let
_VideoInfo
=
{
title
:
'摄像头'
,
url
:
`
${
baseUrl
}
/live/s8`
,
...
...
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