TheWidlarzGroup / react-native-video

A <Video /> component for react-native
https://docs.thewidlarzgroup.com/react-native-video/
MIT License
7.23k stars 2.91k forks source link

[BUG]: rtsp stream from ip camera not working on "react-native-video " #4135

Open hussnainshafiul opened 3 months ago

hussnainshafiul commented 3 months ago

Version

6.4.5

What platforms are you having the problem on?

iOS, Android

System Version

Windows 10 Version 22H2

On what device are you experiencing the issue?

Real device

Architecture

Old architecture

What happened?

Using "react-native-video " when I try to play the rtsp stream coming from an IP camera, it just shows blank screen and I get an error in console :

"androidx.media3.exoplayer.ExoPlaybackException: Source error"

Firstly I was using react-native-vlc-player to stream live view from camera, but it is not working on latest ios

Any solutions?? to play rtsp on both android on ios

Reproduction Link

repository link

Reproduction

Step to reproduce this bug are:

github-actions[bot] commented 3 months ago

Thank you for your issue report. Please note that the following information is missing or incomplete:

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority

freeboub commented 3 months ago

Dos you enable rtsp plugin on android (see the doc)? Unfortunately ios doesn't support it and avplayer doesn't support it also. Vlc would be a better solution for ios...

hussnainshafiul commented 3 months ago

@freeboub any other library to support rtsp on both platforms? as Vlc not working on latest IOS

freeboub commented 3 months ago

@hussnainshafiul I didn't find other package to support rtsp except vlc integration ...