How to connect to a mcu in Google Chrome (WebRTC)?

147 views
Skip to first unread message

Yihung Hung

unread,
Oct 16, 2015, 4:13:43 AM10/16/15
to OpenTelepresence
Hi All

After build and success, i try to conf-call`s client but can't connect with message "call terminating". How to connect to a mcu in Google Chrome?
Here the log of my telepresence server :

*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] debug-audio-loopback = no
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] accept-sip-reg = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = udp;192.168.10.101;5060;4
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = udp://192.168.10.101:5060@4
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = ws;192.168.10.101;20060;4
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = ws://192.168.10.101:20060@4
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = http;192.168.10.101;20065;4
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = http://192.168.10.101:20065@4
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = https;192.168.10.101;20066;4
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = https://192.168.10.101:20066@4
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] rtp-symmetric-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] ice-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] icestun-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] stun-server = stun.l.google.com;19302;stun...@doubango.org;stun-password
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] stun-server = stun.l.google.com;19302;-;-
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] rtcp-mux-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] rtp-buffersize = 65535
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] avpf-tail-length = 200;500
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] codecs = pcma;pcmu;opus;vp8;h264-bp;h264-mp
*[DOUBANGO INFO]: UnRegister codec: PCMA, G.711a codec (native)
*[DOUBANGO INFO]: UnRegister codec: PCMU, G.711u codec (native)
*[DOUBANGO INFO]: UnRegister codec: opus, opus Codec
*[DOUBANGO INFO]: UnRegister codec: VP8, VP8 codec (libvpx)
*[DOUBANGO INFO]: UnRegister codec: H264, H264 Base Profile (FFmpeg, x264)
*[DOUBANGO INFO]: UnRegister codec: H264, H264 Main Profile (FFmpeg, x264)
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] codec-opus-maxrates = 48000;48000
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] congestion-ctrl-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-max-upload-bandwidth = 1920
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-max-download-bandwidth = 1920
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-motion-rank = 2
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-fps = 15
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-jb-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-zeroartifacts-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-mixed-size = 720p
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-speaker-par = 0:0
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-listener-par = 1:1
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-channels = 1
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-bits-per-sample = 16
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-sample-rate = 8000
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-ptime = 20
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-volume = 1.0f
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-dim = 2d
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-max-latency = 200
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] record = no
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] record-file-ext = mp4
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-fonts-folder-path = ./fonts/truetype/freefont
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-copyright-text = Doubango Telecom
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-copyright-fontsize = 12
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-copyright-fontfile = FreeSerif.ttf
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-speaker-name-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-speaker-name-fontsize = 16
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-speaker-name-fontfile = FreeMonoBold.ttf
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-speaker-jobtitle-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-watermark-image-path = ./images/logo35x34.jpg
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] srtp-mode = optional
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] srtp-type = sdes;dtls
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] presentation-sharing-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] presentation-sharing-process-local-port = 2083
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] presentation-sharing-base-folder = ./presentations
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] presentation-sharing-app = soffice
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] Bridge with id ='8888' added
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] Bridge with id ='9999' added
*[DOUBANGO INFO]: [TELEPRESENCE] popen(soffice -norestore -headless -nofirststartwizard -invisible "-accept=socket,host=localhost,port=2083;urp;StarOffice.ServiceManager")
*[DOUBANGO INFO]: tnet_transport_prepare()
*[DOUBANGO INFO]: pipeR fd=6, pipeW=7
*[DOUBANGO INFO]: Socket added[TCP/IPv4 transport]: fd=6, tail.count=1
*[DOUBANGO INFO]: master fd=3
*[DOUBANGO INFO]: Socket added[TCP/IPv4 transport]: fd=3, tail.count=2
*[DOUBANGO INFO]: Transport::run(TCP/IPv4 transport) - enter
*[DOUBANGO INFO]: tnet_transport_prepare()
*[DOUBANGO INFO]: pipeR fd=8, pipeW=9
*[DOUBANGO INFO]: Starting [TCP/IPv4 transport] server with IP {192.168.10.101} on port {20065} using fd {3} with type {9}...
*[DOUBANGO INFO]: Socket added[TLS/IPv4 transport]: fd=8, tail.count=1
*[DOUBANGO INFO]: master fd=4
*[DOUBANGO INFO]: Socket added[TLS/IPv4 transport]: fd=4, tail.count=2
*[DOUBANGO INFO]: Stack running in SERVER mode
*[DOUBANGO INFO]: tsk_timer_manager_start
*[DOUBANGO INFO]: Transport::run(TLS/IPv4 transport) - enter
*[DOUBANGO INFO]: Do not query for best source address at 0, local_ip_is_set_by_user=1, local_ip=192.168.10.101
*[DOUBANGO INFO]: Do not query for best source address at 4, local_ip_is_set_by_user=1, local_ip=192.168.10.101
*[DOUBANGO INFO]: Timer manager run()::enter
*[DOUBANGO INFO]: TIMER MANAGER -- START
*[DOUBANGO INFO]: SIP STACK::run -- START
*[DOUBANGO INFO]: Starting [TLS/IPv4 transport] server with IP {192.168.10.101} on port {20066} using fd {4} with type {17}...
*[DOUBANGO INFO]: tnet_transport_prepare()
*[DOUBANGO INFO]: pipeR fd=12, pipeW=13
*[DOUBANGO INFO]: Socket added[SIP transport]: fd=12, tail.count=1
*[DOUBANGO INFO]: master fd=10
*[DOUBANGO INFO]: Socket added[SIP transport]: fd=10, tail.count=2
*[DOUBANGO INFO]: tnet_transport_prepare()
*[DOUBANGO INFO]: pipeR fd=14, pipeW=15
*[DOUBANGO INFO]: Socket added[SIP transport]: fd=14, tail.count=1
*[DOUBANGO INFO]: master fd=11
*[DOUBANGO INFO]: Socket added[SIP transport]: fd=11, tail.count=2
*[DOUBANGO INFO]: SIP STACK -- START
*[DOUBANGO INFO]: Transport::run(SIP transport) - enter
*[DOUBANGO INFO]: Transport::run(SIP transport) - enter
*[DOUBANGO INFO]: Starting [SIP transport] server with IP {192.168.10.101} on port {5060} using fd {10} with type {2}...
*[DOUBANGO INFO]: Starting [SIP transport] server with IP {192.168.10.101} on port {20060} using fd {11} with type {64}...
*[DOUBANGO INFO]: ioctlt(11), len=0 returned zero or failed
*[DOUBANGO INFO]: NETWORK EVENT FOR SERVER [SIP transport] -- FD_ACCEPT(fd=16)
*[DOUBANGO INFO]: Socket added[SIP transport]: fd=16, tail.count=3
*[DOUBANGO INFO]: WebSocket Peer accepted/connected with fd = 16
*[DOUBANGO INFO]: NETWORK EVENT FOR SERVER [SIP transport] -- TNET_POLLOUT
*[DOUBANGO INFO]: #1 peers in the 'SIP transport' transport
*[DOUBANGO INFO]: WebSocket handshake message: GET / HTTP/1.1
Host: 192.168.10.101:20060
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Upgrade: websocket
Origin: http://conf-call.org
Sec-WebSocket-Version: 13
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36
Accept-Encoding: gzip, deflate, sdch
Accept-Language: zh-TW,zh;q=0.8,en-US;q=0.6,en;q=0.4
Sec-WebSocket-Key: xrFeHmlsRs1g+8ndHMwZ5Q==
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
Sec-WebSocket-Protocol: sip


*[DOUBANGO INFO]: WebSocket Peer accepted/connected with fd = 16
*[DOUBANGO INFO]: Peer with local fd=16 already exist
*[DOUBANGO INFO]: #0 peers in the 'SIP transport' transport
*[DOUBANGO INFO]: #1 peers in the 'SIP transport' transport
test1.txt
Reply all
Reply to author
Forward
0 new messages