Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTSP IP camera video stop after a few seconds #63

Open
ctabares opened this issue Oct 15, 2019 · 2 comments
Open

RTSP IP camera video stop after a few seconds #63

ctabares opened this issue Oct 15, 2019 · 2 comments

Comments

@ctabares
Copy link

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
Copy link

@ctabares did you found any solution for this?

@ctabares
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants