react-native-vlc-media-player icon indicating copy to clipboard operation
react-native-vlc-media-player copied to clipboard

Init Options

Open Michael24884 opened this issue 5 years ago • 4 comments

I wanted to help out adding initWithOptions but as I was looking through the project I noticed it was added but commented out. Is there a reason for it? This would help with the referer header as well. Thank you

Michael24884 avatar Oct 29 '20 21:10 Michael24884

I think I had a issue with an older version and ended up commenting that and forgot 😕. You should be ok to use it now. If you have the repo set up have a quick test if it’s working send a PR.

Cheers Rosh

On Fri, 30 Oct 2020 at 10:44 AM, Michael24884 [email protected] wrote:

I wanted to help out adding initWithOptions but as I was looking through the project I noticed it was added but commented out. Is there a reason for it? This would help with the referer header as well. Thank you

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/razorRun/react-native-vlc-media-player/issues/38, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFB72EFBMWMVXVQAHPNEY7DSNHO4JANCNFSM4TEI4NXA .

razorRun avatar Oct 29 '20 21:10 razorRun

Alright so I've gotten initOptions and initType set up(for iOS don't know if it's possible for Android yet). However using the option --http-referer crashes the application. Is this a bug presented by the newer MobileVLC package? Since it's a video option the only way I see it can be added is through the options param

Michael24884 avatar Oct 30 '20 05:10 Michael24884

Alright so I've gotten initOptions and initType set up(for iOS don't know if it's possible for Android yet). However using the option --http-referer crashes the application. Is this a bug presented by the newer MobileVLC package? Since it's a video option the only way I see it can be added is through the options param

Ok nvm I got it to work( it's two r's. Thanks to the VLC devs support). I'll send a PR after I do some tests

Michael24884 avatar Oct 30 '20 17:10 Michael24884

Are initOptions supported in Android? I want to add --http-cert and --http-key as I want to run a stream that uses self-signed IP.

Thanks,

TayyabaAslam3317 avatar Jan 21 '21 11:01 TayyabaAslam3317