Open gogojimmy opened 4 years ago
Hi, I want to use simple player as your example
import { WebRTCPlayer as Player, WebRTCPublisher as Publisher, } from 'wowza-webrtc-client-react' import { WebRTCConfiguration } from 'wowza-webrtc-client' const config: WebRTCConfiguration = { WEBRTC_SDP_URL: 'wss://5ee18093bf43d.streamlock.net/webrtc-session.json', WEBRTC_APPLICATION_NAME: 'test', WEBRTC_FRAME_RATE: 30, WEBRTC_AUDIO_BIT_RATE: 64, WEBRTC_VIDEO_BIT_RATE: 3500, } class App extends React.Component { render() { return ( <div> <Player id="player-test" ref="player" streamName="Jimmy" style={{ width: '100%', height: '100vh' }} rotate="cw" // 'cw'|'none'|'ccw' config={config} autoPlay={false} onPlayerStateChanged={(status) => { console.log('Player state has changed', status) }} /> </div> ) } }
But I always got error Bailed on calculation size info is not valid, It seems like an error from video element but I don't know where is wrong
Bailed on calculation size info is not valid
same here
Same here, did someone find any fix?
Hi, I want to use simple player as your example
But I always got error
Bailed on calculation size info is not valid
, It seems like an error from video element but I don't know where is wrong