|
|
@ -5,11 +5,16 @@ import VideoHeader from './voiceHeader' |
|
|
|
import VideoOperation from './videoOperation' |
|
|
|
import './videoPlay.less'; |
|
|
|
|
|
|
|
const VideoPlay = ({ height, width }) => { |
|
|
|
const VideoPlay = ({ |
|
|
|
height, width, |
|
|
|
// playUrl, |
|
|
|
|
|
|
|
}) => { |
|
|
|
const [jessibuca, setjessibuca] = useState(null) |
|
|
|
const [playUrl, setPlayUrl] = useState( |
|
|
|
// 'http://flv.bdplay.nodemedia.cn/live/bbb.flv' |
|
|
|
'http://221.230.55.27:2020/hdl/34020000001110000077/34020000001310000001.flv' |
|
|
|
// 'http://flv.bdplay.nodemedia.cn/live/bbb.flv' // TEST |
|
|
|
// 'http://221.230.55.27:2020/hdl/36011200002002021114/36011200581314002916.flv', |
|
|
|
'ws://221.230.55.27:8081/jessica/34020000001110000077/34020000001310000003' |
|
|
|
) |
|
|
|
const [isPlaying, setIsPlaying] = useState(false) |
|
|
|
const [operationState, setoperationState] = useState() |
|
|
|