red5pro / react-native-red5pro

React Native Red5 Pro Publisher/Subscriber
https://www.red5pro.com/
Other
34 stars 20 forks source link

Connection Refused #75

Open lynrose10 opened 3 years ago

lynrose10 commented 3 years ago

Hello we tried to integrate red5pro to our project using Trial Both server and web set up is now working. But in mobile (both ANDROID and IOS), every time the mobile subscribe to the live I always got an error.

onSubscriberStreamStatus I only got these:

{ status: { streamName: '7ebaa90f07923d', name: 'LICENSE_VALID', message: 'Valid License', code: 13 } }
{ status: { streamName: '7ebaa90f07923d', name: 'ERROR', message: 'connection refused', code: 2 } }

For the enabled showDebugView Screenshot_20201021_231139_com gomigu

We tried different host and port from rtmp://, http:// and etc. But no luck.

I also tried to run the example by inputing Host, License Key and Stream Name Screenshot_20201022_183044_com red5provideoviewexample

I hope there is someone who can help. We are intending to buy a subscription as soon as we can successfully make this work.

deepakverma4 commented 3 years ago

@lynrose10 are you using mobile data or wifi? for me it's showing same error on wifi but on mobile data it works fine.