react-native-yz-vlcplayer
react-native-yz-vlcplayer copied to clipboard
Issue with RTP over RTSP
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.

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}
/>
I think this is related to https://code.videolan.org/videolan/VLCKit/issues/116 issue