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

Complex question #19

Open
emilianoarmango opened this issue Jan 2, 2019 · 2 comments
Open

Complex question #19

emilianoarmango opened this issue Jan 2, 2019 · 2 comments

Comments

@emilianoarmango
Copy link

emilianoarmango commented Jan 2, 2019

Hi, I am new in this world and I need help to start this demo.

Running in Ubuntu 16.04 I has KMS running (checked with ps and netstat, it is ok) and I has the http-server running from the kurento-rtsp2webrtc folder.
The web app is running fine, using this url

http://localhost:8080/index.html?ws_uri=ws://192.168.19.173:8888/kurento

But when I click START I get the follow console result

`Local icecandidate {"candidate":"candidate:0 1 UDP 2122252543 192.168.19.173 55667 typ host","sdpMid":"sdparta_0","sdpMLineIndex":0}
Local icecandidate {"candidate":"candidate:3 1 TCP 2105524479 192.168.19.173 9 typ host tcptype active","sdpMid":"sdparta_0","sdpMLineIndex":0}
Local icecandidate {"candidate":"candidate:0 2 UDP 2122252542 192.168.19.173 43966 typ host","sdpMid":"sdparta_0","sdpMLineIndex":0}
Local icecandidate {"candidate":"candidate:3 2 TCP 2105524478 192.168.19.173 9 typ host tcptype active","sdpMid":"sdparta_0","sdpMLineIndex":0}
Local icecandidate {"candidate":"candidate:0 1 UDP 2122252543 192.168.19.173 45953 typ host","sdpMid":"sdparta_1","sdpMLineIndex":1}
Local icecandidate {"candidate":"candidate:3 1 TCP 2105524479 192.168.19.173 9 typ host tcptype active","sdpMid":"sdparta_1","sdpMLineIndex":1}
Local icecandidate {"candidate":"candidate:0 2 UDP 2122252542 192.168.19.173 50243 typ host","sdpMid":"sdparta_1","sdpMLineIndex":1}
Local icecandidate {"candidate":"candidate:3 2 TCP 2105524478 192.168.19.173 9 typ host tcptype active","sdpMid":"sdparta_1","sdpMLineIndex":1}
Local icecandidate {"candidate":"candidate:1 1 UDP 1686052863 200.69.204.19 55667 typ srflx raddr 192.168.19.173 rport 55667","sdpMid":"sdparta_0","sdpMLineIndex":0}
Local icecandidate {"candidate":"candidate:1 2 UDP 1686052862 200.69.204.19 43966 typ srflx raddr 192.168.19.173 rport 43966","sdpMid":"sdparta_0","sdpMLineIndex":0}
Local icecandidate {"candidate":"candidate:1 1 UDP 1686052863 200.69.204.19 45953 typ srflx raddr 192.168.19.173 rport 45953","sdpMid":"sdparta_1","sdpMLineIndex":1}
Local icecandidate {"candidate":"candidate:1 2 UDP 1686052862 200.69.204.19 50243 typ srflx raddr 192.168.19.173 rport 50243","sdpMid":"sdparta_1","sdpMLineIndex":1}
PlayerEndpoint-->WebRtcEndpoint connection established
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:1 1 UDP 2013266431 fe80::e57b:7942:183d:3acb 24430 typ host","sdpMLineIndex":0,"sdpMid":"sdparta_0"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:1 1 UDP 2013266431 fe80::e57b:7942:183d:3acb 24430 typ host","sdpMLineIndex":1,"sdpMid":"sdparta_1"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:2 1 TCP 1015022847 fe80::e57b:7942:183d:3acb 9 typ host tcptype active","sdpMLineIndex":0,"sdpMid":"sdparta_0"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:2 1 TCP 1015022847 fe80::e57b:7942:183d:3acb 9 typ host tcptype active","sdpMLineIndex":1,"sdpMid":"sdparta_1"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:3 1 TCP 1010828543 fe80::e57b:7942:183d:3acb 50052 typ host tcptype passive","sdpMLineIndex":0,"sdpMid":"sdparta_0"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:3 1 TCP 1010828543 fe80::e57b:7942:183d:3acb 50052 typ host tcptype passive","sdpMLineIndex":1,"sdpMid":"sdparta_1"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:4 1 UDP 2013266430 192.168.19.173 52267 typ host","sdpMLineIndex":0,"sdpMid":"sdparta_0"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:4 1 UDP 2013266430 192.168.19.173 52267 typ host","sdpMLineIndex":1,"sdpMid":"sdparta_1"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:5 1 TCP 1015022079 192.168.19.173 9 typ host tcptype active","sdpMLineIndex":0,"sdpMid":"sdparta_0"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:5 1 TCP 1015022079 192.168.19.173 9 typ host tcptype active","sdpMLineIndex":1,"sdpMid":"sdparta_1"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:6 1 TCP 1010827775 192.168.19.173 13760 typ host tcptype passive","sdpMLineIndex":0,"sdpMid":"sdparta_0"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:6 1 TCP 1010827775 192.168.19.173 13760 typ host tcptype passive","sdpMLineIndex":1,"sdpMid":"sdparta_1"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:1 2 UDP 2013266430 fe80::e57b:7942:183d:3acb 65154 typ host","sdpMLineIndex":0,"sdpMid":"sdparta_0"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:1 2 UDP 2013266430 fe80::e57b:7942:183d:3acb 65154 typ host","sdpMLineIndex":1,"sdpMid":"sdparta_1"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:2 2 TCP 1015022846 fe80::e57b:7942:183d:3acb 9 typ host tcptype active","sdpMLineIndex":0,"sdpMid":"sdparta_0"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:2 2 TCP 1015022846 fe80::e57b:7942:183d:3acb 9 typ host tcptype active","sdpMLineIndex":1,"sdpMid":"sdparta_1"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:3 2 TCP 1010828542 fe80::e57b:7942:183d:3acb 20350 typ host tcptype passive","sdpMLineIndex":0,"sdpMid":"sdparta_0"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:3 2 TCP 1010828542 fe80::e57b:7942:183d:3acb 20350 typ host tcptype passive","sdpMLineIndex":1,"sdpMid":"sdparta_1"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:4 2 UDP 2013266429 192.168.19.173 4450 typ host","sdpMLineIndex":0,"sdpMid":"sdparta_0"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:4 2 UDP 2013266429 192.168.19.173 4450 typ host","sdpMLineIndex":1,"sdpMid":"sdparta_1"}
oniceconnectionstatechange -> checking
icegatheringstate -> complete
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:5 2 TCP 1015022078 192.168.19.173 9 typ host tcptype active","sdpMLineIndex":0,"sdpMid":"sdparta_0"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:5 2 TCP 1015022078 192.168.19.173 9 typ host tcptype active","sdpMLineIndex":1,"sdpMid":"sdparta_1"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:6 2 TCP 1010827774 192.168.19.173 62129 typ host tcptype passive","sdpMLineIndex":0,"sdpMid":"sdparta_0"}
Remote icecandidate {"module":"kurento","type":"IceCandidate","candidate":"candidate:6 2 TCP 1010827774 192.168.19.173 62129 typ host tcptype passive","sdpMLineIndex":1,"sdpMid":"sdparta_1"}

reconnect to server
reconnect to server
. . .
reconnect to server

oniceconnectionstatechange -> failed
icegatheringstate -> complete

reconnect to server
Error: Request has timed out

reconnect to server
reconnect to server
. . .
reconnect to server`

I will be working on that, but I wonder if any can help me :)

@emilianoarmango
Copy link
Author

Then, if I stop and re start KMS, the message "Invalid session" appears in the console

@daiseita
Copy link

Did you fix this problem?
I got totally same trouble , I had change 2,3 differnt brand IP camera but it not work . Then I try to play a MJPEG stream , MJPEG stream can work on this demo
Did anyone successfully run rtsp stream on this demo ?

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