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

Palavatv works in local lan, but not in internet #4

Closed
thammi opened this issue Nov 23, 2014 · 2 comments
Closed

Palavatv works in local lan, but not in internet #4

thammi opened this issue Nov 23, 2014 · 2 comments

Comments

@thammi
Copy link
Member

thammi commented Nov 23, 2014

Issue by VosaXalo
Saturday Jan 25, 2014 at 12:52 GMT
Originally opened as palavatv/palava-client#5


I have tried palava.tv with two PC that are identical:

  • OS: Ubuntu 12.04 64bit
  • Browser: Chromium version 31

The first time the two PC were connected on the same network. I mean that the two PC were connected to the same router, in other words on the same local network. In this case the audio and video conference has worked perfectly.

The second time the two PC were connected to the internet with two distant routers (as is the common situation between users on the net). In this case I can't see the other person, but only a black rectangle, or a rectangle with a black dot in the middle. The video doesn't work, nor the audio.
It seems that something is wrong with the routers?, the firewalls?, router ports? It's strange as palavatv it'a a web page.

If this can help I have copied and pasted here some console messages from the browser during the second test (the two PC connected to different routers):
DEBUG
Arguments[1]
all-767cd71c.js:27
DEBUG
Arguments[2]
all-767cd71c.js:27
DEBUG
Arguments[2]
all-767cd71c.js:27
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery.min.js:16
DEBUG
["peer stream removed", RemotePeer]
all-767cd71c.js:27
DEBUG
["peer left", RemotePeer]
all-767cd71c.js:27
DEBUG
["peer joined", RemotePeer]
0: "peer joined"
1: RemotePeer
$$hashKey: "00G"
_events: Object
distributor: Object
getStream: function (){ return fn.apply(me, arguments); }
hasAudio: function (){ return fn.apply(me, arguments); }
id: "0c4deab7-3616-4598-ab34-a7f8a2dead68"
isLocal: function (){ return fn.apply(me, arguments); }
isMuted: function (){ return fn.apply(me, arguments); }
isReady: function (){ return fn.apply(me, arguments); }
joinTime: 1390140408573
local: false
mozillaCheckAddStream: function (){ return fn.apply(me, arguments); }
muted: false
oaError: function (){ return fn.apply(me, arguments); }
peerConnection: RTCPeerConnection
ready: true
remoteStream: MediaStream
room: Room
sdpSender: function (){ return fn.apply(me, arguments); }
sendAnswer: function (){ return fn.apply(me, arguments); }
sendOffer: function (){ return fn.apply(me, arguments); }
sendOfferIf: function (){ return fn.apply(me, arguments); }
setupDistributor: function (){ return fn.apply(me, arguments); }
setupPeerConnection: function (){ return fn.apply(me, arguments); }
setupRoom: function (){ return fn.apply(me, arguments); }
status: Object
toggleMute: function (){ return fn.apply(me, arguments); }
proto: ctor
callee: function (){return t.log("DEBUG",arguments)}
length: 2
proto: Object
all-767cd71c.js:27
DEBUG
["peer stream ready", RemotePeer]
0: "peer stream ready"
1: RemotePeer
$$hashKey: "00G"
_events: Object
distributor: Object
getStream: function (){ return fn.apply(me, arguments); }
hasAudio: function (){ return fn.apply(me, arguments); }
id: "0c4deab7-3616-4598-ab34-a7f8a2dead68"
isLocal: function (){ return fn.apply(me, arguments); }
isMuted: function (){ return fn.apply(me, arguments); }
isReady: function (){ return fn.apply(me, arguments); }
joinTime: 1390140408573
local: false
mozillaCheckAddStream: function (){ return fn.apply(me, arguments); }
muted: false
oaError: function (){ return fn.apply(me, arguments); }
peerConnection: RTCPeerConnection
ready: true
remoteStream: MediaStream
room: Room
sdpSender: function (){ return fn.apply(me, arguments); }
sendAnswer: function (){ return fn.apply(me, arguments); }
sendOffer: function (){ return fn.apply(me, arguments); }
sendOfferIf: function (){ return fn.apply(me, arguments); }
setupDistributor: function (){ return fn.apply(me, arguments); }
setupPeerConnection: function (){ return fn.apply(me, arguments); }
setupRoom: function (){ return fn.apply(me, arguments); }
status: Object
toggleMute: function (){ return fn.apply(me, arguments); }
proto: ctor
callee: function (){return t.log("DEBUG",arguments)}
length: 2
proto: Object

@thammi
Copy link
Member Author

thammi commented Nov 23, 2014

Comment by beyondthewall
Thursday Feb 06, 2014 at 09:31 GMT


i experience the same. video/audio is only possible when a direct ip communictaion can be established. which is not possible behind two nat routers.

@thammi
Copy link
Member Author

thammi commented Nov 23, 2014

Comment by VosaXalo
Saturday Feb 22, 2014 at 08:44 GMT


I have tried to start a conference between my Android smartphone with Google Chrome, and my PC with Ubuntu 12.04 and Chromium installed, but the issue is the same. I can't view, nor near, the other person. The problem is identical as the one with the two PC connected to the net as I explained above.

@farao farao closed this as completed Mar 17, 2019
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

2 participants