react-native-yz-vlcplayer icon indicating copy to clipboard operation
react-native-yz-vlcplayer copied to clipboard

Issue with RTP over RTSP

Open cchamikara opened this issue 5 years ago • 1 comments

I'm using VLC player to play real-time stream from a RTSP camera , so I did enable --rtsp-tcp as an init option. Camera is opening as a new screen when user press on a button.

Player working correctly when I press the camera button , but if I go back open it or another camera it returns following error.

Screen Shot 2562-05-09 at 10 57 09 AM

my player is like

<VlcSimplePlayer
    url={"rtsp://......"}
    autoplay={true}
    isLive={true}
    autoReloadLive={true}
    style={{width: "100%", height: 200, marginTop: 30}}
    onStartFullScreen={this.onStartFullScreen}
    onCloseFullScreen={this.onCloseFullScreen}
    initOptions={[
        "--rtsp-tcp"
    ]}
    hwDecoderEnabled={1}
   hwDecoderForced={1}
/>

cchamikara avatar May 09 '19 08:05 cchamikara

I think this is related to https://code.videolan.org/videolan/VLCKit/issues/116 issue

cchamikara avatar May 09 '19 11:05 cchamikara