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

Safari issue in Macbook #67

Open
alexrozrio opened this issue May 6, 2016 · 6 comments
Open

Safari issue in Macbook #67

alexrozrio opened this issue May 6, 2016 · 6 comments

Comments

@alexrozrio
Copy link

Hi,
I have downloaded your application and using it in my application.
I have downloaded the plugin for windows and it is working fine in all 4 browsers in Windows machine.
But when i try to download the plugin in Macbook it is downloaded but not installing it in the machine.
Then i googled it and found that we can directly place that file in Library/internet-plugin folder.
Then i placed that plugin in the specified folder.
Now it is opening with local video showing up. But when i try to load remote video it closes local video as well and gives error as 'Error calling method on NPobject' When creating RTCIceCandidate.
I think while loading remote video the plugin object returns null.
Can you please help us to fix this issue.

Regards,
Alex.

@udta
Copy link

udta commented May 11, 2016

Hi alexrozrio,

Thanks for telling me the way installing the Safari plugin. I also met this issue on Safari 9.1 with plugin version 2.4.0.
In my scene, the ICE process is useless, so I set the NAT server as null, when create a peer connection. Then this issue is gone.

Hope it could help..

@alexrozrio
Copy link
Author

Thanks for your response udta. :)
But here we are not using NAT server. We are using only the STUN server for signalling
var configuration = {"iceServers": [{"url": "stun:stun.l.google.com:19302"}]};
var pc = new RTCPeerConnection(configuration);

It is working fine in all the browsers, even in safari windows. But it gives issue only in safari mac.
It loads the local video fine. But when we are trying to join with other users
It gives following error
safari

Can you please help me in solving this issue

@udta
Copy link

udta commented May 12, 2016

Try this:

var pc = new RTCPeerConnection( null );

My media server is on public network, so I don't need STUN or TURN server.

For your new issue, it seems the plugin was failed to start, so you could not use any function of it. Try to add your site to the allow list of this plugin.

@csturiale
Copy link

Hi @udta ,
I think that this solution work only if you have a media server like kurento where you can configure STUN/TURN addresses.
But in normal peer to peer webrtc connections I think that it can't work.
Am I right?
Thanks

@udta
Copy link

udta commented May 12, 2016

Yes, it seems the Safari plugin is issued on ICE function..

@alexrozrio
Copy link
Author

alexrozrio commented May 16, 2016

Thanks udta,
Yes it seems working, but only if i am using them in internal network.
But if i want to use that outside network using public IP. it is not working (I think for that stun server is mandatory)
Am i right?
Is there any way to make it working in outside network also (Using public IP)

Alex

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

3 participants