Coder Social home page Coder Social logo

Comments (8)

mslosarz avatar mslosarz commented on July 4, 2024

This class comes from Guava, I'll check why this problem happened

from nextrtc-example-videochat.

demoontz avatar demoontz commented on July 4, 2024

thanx for the answer!

in summary i succefully ran nextrtc-example-videochat in Wildfly8.2 and had video-call between two laptops in local network.
but
the dependency needs to be added:

com.google.guava
guava
18.0


com.google.code.gson
gson
2.2.4


joda-time
joda-time
2.9.1


org.apache.commons
commons-lang3
3.3.2

and it not woking with remote client with nat. any suggestion about nat?
This two JS clients has some mention of "stun:stun.l.google.com:19302". But it seems that this STUN resolving doesn't work --- JS clients can communicate only inside LAN and can't do this over Internet - obvious, that incorrect IP+port is anounced inside SDP.
tommorow i`ll try to run with rest =)

from nextrtc-example-videochat.

dimonik avatar dimonik commented on July 4, 2024

So questions are:

  1. Why do we need to manually add dependencies to nextrtc-example-videochat?
    I thought, that it should take all necessities from nextrtc-signaling-server library.

  2. Why STUN resolving is not working in JS clients, any ideas?
    Currently this JS clients only work in the same LAN.

from nextrtc-example-videochat.

mslosarz avatar mslosarz commented on July 4, 2024

I've check and JS client works in WAN, I suspect that you didn't provide
stun/turn server.

In JS client I'm using adapter.js from here:
https://github.com/webrtc/samples/blob/master/src/js/adapter.js

This adapter has basic to provide configuration for stun/turn server. You
have to provide configuration in js client as It was shown in my example:
https://github.com/mslosarz/nextrtc-example-videochat/blob/master/src/main/webapp/index.html
peerConfig : {
'iceServers' : [ {
url : "stun:stun.l.google.com:19302"
} ]
}

Ice servers configuration is similar to configuration in other solutions as
in:
http://easyrtc.com/docs/guides/easyrtc_server_ice.php

2015-12-19 12:35 GMT+01:00 dimonik [email protected]:

So questions are:

  1. Why do we need to manually add dependencies to
    nextrtc-example-videochat?
    I thought, that it should take all necessities from
    nextrtc-signaling-server library.

  2. Why STUN resolving is not working in JS clients, any ideas?
    Currently this JS clients only work in the same LAN.


Reply to this email directly or view it on GitHub
#4 (comment)
.

Marcin Ślósarz

from nextrtc-example-videochat.

mslosarz avatar mslosarz commented on July 4, 2024

About dependencies.... It's hard to say. Maybe this dependencies should be
provided implicit in module configuration of wildfly. I don't know why this
problem occurs :(, but in Monday I'll check it

Thanks for your commitment in testing nextRTC :)

2015-12-19 12:59 GMT+01:00 Marcin Ślósarz [email protected]:

I've check and JS client works in WAN, I suspect that you didn't provide
stun/turn server.

In JS client I'm using adapter.js from here:
https://github.com/webrtc/samples/blob/master/src/js/adapter.js

This adapter has basic to provide configuration for stun/turn server. You
have to provide configuration in js client as It was shown in my example:

https://github.com/mslosarz/nextrtc-example-videochat/blob/master/src/main/webapp/index.html
peerConfig : {
'iceServers' : [ {
url : "stun:stun.l.google.com:19302"
} ]
}

Ice servers configuration is similar to configuration in other solutions
as in:
http://easyrtc.com/docs/guides/easyrtc_server_ice.php

2015-12-19 12:35 GMT+01:00 dimonik [email protected]:

So questions are:

  1. Why do we need to manually add dependencies to
    nextrtc-example-videochat?
    I thought, that it should take all necessities from
    nextrtc-signaling-server library.

  2. Why STUN resolving is not working in JS clients, any ideas?
    Currently this JS clients only work in the same LAN.


Reply to this email directly or view it on GitHub
#4 (comment)
.

Marcin Ślósarz

Marcin Ślósarz

from nextrtc-example-videochat.

dimonik avatar dimonik commented on July 4, 2024

Thank you for your work and for being so cooperative 👍

from nextrtc-example-videochat.

mslosarz avatar mslosarz commented on July 4, 2024

I've run example at nextrtc.org
http://examples.nextrtc.org/videochat/
and now I suspect why you have problem with connecting in wide network.
I've got message in console like this:
{code}getUserMedia() no longer works on insecure origins. To use this
feature, you should consider switching your application to a secure origin,
such as HTTPS. See https://goo.gl/rStTGz for more details.{/code}

2015-12-19 14:06 GMT+01:00 dimonik [email protected]:

Thank you for your work and for being so cooperative [image: 👍]


Reply to this email directly or view it on GitHub
#4 (comment)
.

Marcin Ślósarz

from nextrtc-example-videochat.

mslosarz avatar mslosarz commented on July 4, 2024

Example return back to normal. You can now check it at nextrtc.org
For problems with Wildfly please create new issue

from nextrtc-example-videochat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.