xuyuanzhou / react-native-yz-vlcplayer

VLC Player for react-native
MIT License
152 stars 52 forks source link

RTSP IP camera video stop after a few seconds #63

Open ctabares opened 5 years ago

ctabares commented 5 years ago

VlcSimplePlayer stop live streaming after a few seconds on Android Emulator. This is my player code:

<VlcSimplePlayer autoplay={true} url='rtsp://192.168.1.10:554/user=admin_password=tlJwpbo6_channel=1_stream=0.sdp?real_stream' style={styles.backgroundVideo} autoplay={true} isLive={true} autoReloadLive={true} hwDecoderEnabled={1} hwDecoderForced={1} mediaOptions={{ ':network-caching': 150, ':live-caching': 0, ':file-caching': 0, ':live-caching': 0, ':network-caching': 150, ':clock-jitter': 0, ':clock-synchro': 0, }} initOptions={[ "--no-audio", "--rtsp-tcp", "--network-caching=" + 150, "--rtsp-caching=" + 150, "--no-stats", "--tcp-caching=" + 150, "--realrtsp-caching=" + 150, ]} />

sandeepsingh91 commented 4 years ago

@ctabares did you found any solution for this?

ctabares commented 4 years ago

I didn't, finally I have decided to create my own player using libvlc but issue persist.