razorRun / react-native-vlc-media-player

React native media player for video streaming and playing. Supports RTSP, RTMP and other protocols supported by VLC player
https://roshan.digital/
MIT License
353 stars 183 forks source link

App keeps crashing on IOS simulator #102

Open aircliff01 opened 2 years ago

aircliff01 commented 2 years ago

Hi I tried using the player and my app keeps on crashing everytime I try to re-render the player view. Any ideas what could be happening?

Krunal-K-SimformSolutions commented 2 years ago

Any update?, because I have the same issue.

razorRun commented 2 years ago

Have you tried the sample app? We use this on a app and doesn’t crash.

On Mon, 14 Mar 2022 at 7:38 PM, Krunal-K-SimformSolutions < @.***> wrote:

Any update?, because I have the same issue.

— Reply to this email directly, view it on GitHub https://github.com/razorRun/react-native-vlc-media-player/issues/102#issuecomment-1066431684, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFB72EA5FFPYVUN2CZZXMBLU73NF7ANCNFSM5OTV46LA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.*** com>

Krunal-K-SimformSolutions commented 2 years ago

@razorRun: Yes, it works, also try with a fresh project, and working fine but I don't know why when I am implementing my project the app crashes.

razorRun commented 2 years ago

Are you passing the params for android and ios separately as in the sample? what about bit encoding on ios? Try on a real device ?

On Mon, Mar 14, 2022 at 11:09 PM Krunal-K-SimformSolutions < @.***> wrote:

@razorRun https://github.com/razorRun: Yes, it works, also try with a fresh project, and working fine but I don't know why when I am implementing my project the app crashes.

— Reply to this email directly, view it on GitHub https://github.com/razorRun/react-native-vlc-media-player/issues/102#issuecomment-1066596984, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFB72EBVPKJSWN7SVOTTSCTU74F35ANCNFSM5OTV46LA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

kelvinaliyanto commented 5 months ago

I am using ios simulator on ios 17.4, and it crashes with EXC_BAD_ACCESS error. It works fine in real device. it also works fine when i use simulator on ios 17.2. but it is quite weird: when the video doesn't show up (only sound) because there is no width and height specified, it doesnt crash. tried in a new clean project and it happens too. Anyone facing the same issue?