Open ctabares opened 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, ]} />
@ctabares did you found any solution for this?
I didn't, finally I have decided to create my own player using libvlc but issue persist.
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, ]} />