{"action":"created","issue":{"url":"https://api.github.com/repos/DoubangoTelecom/doubango/issues/467","repository_url":"https://api.github.com/repos/DoubangoTelecom/doubango","labels_url":"https://api.github.com/repos/DoubangoTelecom/doubango/issues/467/labels{/name}","comments_url":"https://api.github.com/repos/DoubangoTelecom/doubango/issues/467/comments","events_url":"https://api.github.com/repos/DoubangoTelecom/doubango/issues/467/events","html_url":"https://github.com/DoubangoTelecom/doubango/issues/467","id":132704600,"node_id":"MDU6SXNzdWUxMzI3MDQ2MDA=","number":467,"title":"Telepresence: no connection with the WebRTC examples","user":{"login":"Doeon","id":17160898,"node_id":"MDQ6VXNlcjE3MTYwODk4","avatar_url":"https://avatars2.githubusercontent.com/u/17160898?v=4","gravatar_id":"","url":"https://api.github.com/users/Doeon","html_url":"https://github.com/Doeon","followers_url":"https://api.github.com/users/Doeon/followers","following_url":"https://api.github.com/users/Doeon/following{/other_user}","gists_url":"https://api.github.com/users/Doeon/gists{/gist_id}","starred_url":"https://api.github.com/users/Doeon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Doeon/subscriptions","organizations_url":"https://api.github.com/users/Doeon/orgs","repos_url":"https://api.github.com/users/Doeon/repos","events_url":"https://api.github.com/users/Doeon/events{/privacy}","received_events_url":"https://api.github.com/users/Doeon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-02-10T13:47:54Z","updated_at":"2018-08-27T13:55:33Z","closed_at":null,"author_association":"NONE","body":"All local. The goal is to use telepresence as an audio chat room.\n\nThe www.doubango.org/conf-call test application gives:\n\n```\nThis appears to be Firefox SIPml-api.js:1:861\nSIPML5 API version = 2.0.2 SIPml-api.js:1:24763\n[TELEPRESENCE] tp.init() SIPml-api.js:1:24763\nUser-Agent=Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 SIPml-api.js:1:24763\nWebSocket supported = yes SIPml-api.js:1:24763\nNavigator friendly name = firefox SIPml-api.js:1:24763\nOS friendly name = unknown SIPml-api.js:1:24763\nHave WebRTC = yes SIPml-api.js:1:24763\nHave GUM = yes SIPml-api.js:1:24763\nEngine initialized SIPml-api.js:1:24763\n[TELEPRESENCE] realm=[192.168.5.40], impi=[2003],ws_url=[ws://192.158.5.40:20060],ice_servers=null,video_size={},bandwidth={} SIPml-api.js:1:24763\ns_websocket_server_url=ws://192.158.5.40:20060 SIPml-api.js:1:24763\ns_sip_outboundproxy_url=(null) SIPml-api.js:1:24763\nb_rtcweb_breaker_enabled=no SIPml-api.js:1:24763\nb_click2call_enabled=no SIPml-api.js:1:24763\nb_early_ims=yes SIPml-api.js:1:24763\nb_enable_media_stream_cache=no SIPml-api.js:1:24763\no_bandwidth={} SIPml-api.js:1:24763\no_video_size={} SIPml-api.js:1:24763\nSIP stack start: proxy='ns313841.ovh.net:10062', realm='<sip:192.168.5.40>', impi='2003', impu='\"2003\"<sip:2003@192.168.5.40>' SIPml-api.js:1:24763\nConnecting to 'ws://192.158.5.40:20060' SIPml-api.js:1:24763\n[TELEPRESENCE] stack event = starting SIPml-api.js:1:24763\nSecurityError: The operation is insecure.\n```\n\nThe sipml5 test application gives:\n\n```\nThis appears to be Firefox SIPml-api.js:1:861\nSIPML5 API version = 2.0.2 SIPml-api.js:1:24763\nMedia resource https://www.doubango.org/sipml5/sounds/dtmf.wav could not be decoded. call.htm\nlocation=https://www.doubango.org/sipml5/call.htm?svn=241 call.htm:161:1\nUser-Agent=Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 SIPml-api.js:1:24763\nWebSocket supported = yes SIPml-api.js:1:24763\nNavigator friendly name = firefox SIPml-api.js:1:24763\nOS friendly name = unknown SIPml-api.js:1:24763\nHave WebRTC = yes SIPml-api.js:1:24763\nHave GUM = yes SIPml-api.js:1:24763\nEngine initialized SIPml-api.js:1:24763\nUse of getPreventDefault() is deprecated.  Use defaultPrevented instead. jquery.js:2:0\ns_websocket_server_url=ws://192.158.5.40:20060 SIPml-api.js:1:24763\ns_sip_outboundproxy_url=udp://192.158.5.40:20060 SIPml-api.js:1:24763\nb_rtcweb_breaker_enabled=no SIPml-api.js:1:24763\nb_click2call_enabled=no SIPml-api.js:1:24763\nb_early_ims=yes SIPml-api.js:1:24763\nb_enable_media_stream_cache=no SIPml-api.js:1:24763\no_bandwidth={} SIPml-api.js:1:24763\no_video_size={} SIPml-api.js:1:24763\nSIP stack start: proxy='ns313841.ovh.net:14062', realm='<sip:192.168.5.40>', impi='2003', impu='<sip:2003@192.168.5.40>' SIPml-api.js:1:24763\nConnecting to 'ws://192.158.5.40:20060' SIPml-api.js:1:24763\n==stack event = starting\n```\n\nServer log (default `telepresence.cfg`, except the debug level / audio loopback):\n\n```\n*******************************************************************\nCopyright (C) 2013 Doubango Telecom <http://www.doubango.org>\nPRODUCT: telepresence - the open source TelePresence System\nHOME PAGE: http://conf-call.org\nCODE SOURCE: https://code.google.com/p/telepresence/\nLICENCE: GPLv3 or commercial(contact us)\nVERSION: 2.1.0\n'quit' to quit the application.\n*******************************************************************\n\nSSL is enabled :)\nDTLS supported: yes\nDTLS-SRTP supported: yes\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] debug-audio-loopback = yes\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] accept-sip-reg = no\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = udp;*;20060;*\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = udp://*:20060@*\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = ws;*;20060;*\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = ws://*:20060@*\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = http;*;20065;*\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = http://*:20065@*\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = https;*;20066;*\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = https://*:20066@*\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] rtp-symmetric-enabled = yes\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] ice-enabled = yes\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] icestun-enabled = yes\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] stun-server = stun.l.google.com;19302;stun-user@doubango.org;stun-password\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] stun-server = stun.l.google.com;19302;-;-\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] rtcp-mux-enabled = yes\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] rtp-buffersize = 65535\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] avpf-tail-length = 200;500\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] codecs = pcma;pcmu;opus;vp8;h264-bp;h264-mp\n*[DOUBANGO INFO]: UnRegister codec: PCMA, G.711a codec (native)\n*[DOUBANGO INFO]: UnRegister codec: PCMU, G.711u codec (native)\n*[DOUBANGO INFO]: UnRegister codec: opus, opus Codec\n*[DOUBANGO INFO]: UnRegister codec: VP8, VP8 codec (libvpx)\n*[DOUBANGO INFO]: UnRegister codec: H264, H264 Base Profile (FFmpeg, x264)\n*[DOUBANGO INFO]: UnRegister codec: H264, H264 Main Profile (FFmpeg, x264)\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] codec-opus-maxrates = 48000;48000\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] congestion-ctrl-enabled = yes\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-max-upload-bandwidth = -1\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-max-download-bandwidth = -1\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-motion-rank = 2\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-fps = 15\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-jb-enabled = yes\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-zeroartifacts-enabled = yes\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-mixed-size = vga\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-speaker-par = 0:0\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-listener-par = 1:1\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-channels = 1\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-bits-per-sample = 16\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-sample-rate = 8000\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-ptime = 20\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-volume = 1.0f\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-dim = 2d\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-max-latency = 200\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] record = no\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] record-file-ext = avi\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-fonts-folder-path = ./fonts/truetype/freefont\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-copyright-text = Doubango Telecom\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-copyright-fontsize = 12\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-copyright-fontfile = FreeSerif.ttf\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-speaker-name-enabled = yes\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-speaker-name-fontsize = 16\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-speaker-name-fontfile = FreeMonoBold.ttf\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-speaker-jobtitle-enabled = yes\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-watermark-image-path = ./images/logo35x34.jpg\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] srtp-mode = optional\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] srtp-type = sdes;dtls\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] presentation-sharing-enabled = yes\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] presentation-sharing-process-local-port = 2083\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] presentation-sharing-base-folder = ./presentations\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] presentation-sharing-app = soffice\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] Bridge with id ='10060' added\n*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] Bridge with id ='10061' added\n*[DOUBANGO INFO]: [TELEPRESENCE] No doc streamer implementation\n*[DOUBANGO INFO]: tnet_transport_prepare()\n*[DOUBANGO INFO]: pipeR fd=6, pipeW=7\n*[DOUBANGO INFO]: Socket added[TCP/IPv4 transport]: fd=6, tail.count=1\n*[DOUBANGO INFO]: master fd=4\n*[DOUBANGO INFO]: Socket added[TCP/IPv4 transport]: fd=4, tail.count=2\n*[DOUBANGO INFO]: Transport::run(TCP/IPv4 transport) - enter\n*[DOUBANGO INFO]: tnet_transport_prepare()\n*[DOUBANGO INFO]: pipeR fd=8, pipeW=9\n*[DOUBANGO INFO]: Starting [TCP/IPv4 transport] server with IP {0.0.0.0} on port {20065} using master fd {4} with type {9} with max_fds {1024}...\n*[DOUBANGO INFO]: Socket added[TLS/IPv4 transport]: fd=8, tail.count=1\n*[DOUBANGO INFO]: master fd=5\n*[DOUBANGO INFO]: Socket added[TLS/IPv4 transport]: fd=5, tail.count=2\n*[DOUBANGO INFO]: Stack running in SERVER mode\n*[DOUBANGO INFO]: tsk_timer_manager_start\n*[DOUBANGO INFO]: Transport::run(TLS/IPv4 transport) - enter\n*[DOUBANGO INFO]: Starting [TLS/IPv4 transport] server with IP {0.0.0.0} on port {20066} using master fd {5} with type {17} with max_fds {1024}...\n*[DOUBANGO INFO]: TIMER MANAGER -- START\n*[DOUBANGO INFO]: Timer manager run()::enter\n*[DOUBANGO INFO]: Best source at 0: 192.168.5.40\n*[DOUBANGO INFO]: Best source at 4: 192.168.5.40\n*[DOUBANGO INFO]: SIP STACK::run -- START\n*[DOUBANGO INFO]: tnet_transport_prepare()\n*[DOUBANGO INFO]: pipeR fd=12, pipeW=13\n*[DOUBANGO INFO]: Socket added[SIP transport]: fd=12, tail.count=1\n*[DOUBANGO INFO]: master fd=10\n*[DOUBANGO INFO]: Socket added[SIP transport]: fd=10, tail.count=2\n*[DOUBANGO INFO]: tnet_transport_prepare()\n*[DOUBANGO INFO]: Transport::run(SIP transport) - enter\n*[DOUBANGO INFO]: pipeR fd=14, pipeW=15\n*[DOUBANGO INFO]: Socket added[SIP transport]: fd=14, tail.count=1\n*[DOUBANGO INFO]: master fd=11\n*[DOUBANGO INFO]: Socket added[SIP transport]: fd=11, tail.count=2\n*[DOUBANGO INFO]: Transport::run(SIP transport) - enter\n*[DOUBANGO INFO]: Starting [SIP transport] server with IP {192.168.5.40} on port {20060} using master fd {10} with type {2} with max_fds {1024}...\n*[DOUBANGO INFO]: SIP STACK -- START\n*[DOUBANGO INFO]: Starting [SIP transport] server with IP {192.168.5.40} on port {20060} using master fd {11} with type {64} with max_fds {1024}...\n```\n\nThe ports react with some logs when tested directly with netcat.\n\nUbuntu 15.04, libav-ffmpeg, srtp from source, everything else from Ubuntu repos.\n\nDoubango: `./configure --prefix=/usr --with-ssl --with-srtp --with-speexdsp --with-ffmpeg --with-opus`\nTelepresence: `./configure --prefix=/usr`\n\nWhat's missing?\n"},"comment":{"url":"https://api.github.com/repos/DoubangoTelecom/doubango/issues/comments/416234817","html_url":"https://github.com/DoubangoTelecom/doubango/issues/467#issuecomment-416234817","issue_url":"https://api.github.com/repos/DoubangoTelecom/doubango/issues/467","id":416234817,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjIzNDgxNw==","user":{"login":"tvirpariya123","id":42611724,"node_id":"MDQ6VXNlcjQyNjExNzI0","avatar_url":"https://avatars1.githubusercontent.com/u/42611724?v=4","gravatar_id":"","url":"https://api.github.com/users/tvirpariya123","html_url":"https://github.com/tvirpariya123","followers_url":"https://api.github.com/users/tvirpariya123/followers","following_url":"https://api.github.com/users/tvirpariya123/following{/other_user}","gists_url":"https://api.github.com/users/tvirpariya123/gists{/gist_id}","starred_url":"https://api.github.com/users/tvirpariya123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvirpariya123/subscriptions","organizations_url":"https://api.github.com/users/tvirpariya123/orgs","repos_url":"https://api.github.com/users/tvirpariya123/repos","events_url":"https://api.github.com/users/tvirpariya123/events{/privacy}","received_events_url":"https://api.github.com/users/tvirpariya123/received_events","type":"User","site_admin":false},"created_at":"2018-08-27T13:55:33Z","updated_at":"2018-08-27T13:55:33Z","author_association":"NONE","body":"Hi @Doeon \r\n\r\nI didn't get any error but when I click \"join\" button status will be \"connecting to mcu...\"\r\nI got same log as you pasted.\r\nIf you got any solution please share.\r\n\r\nThanks in advance. "}}
{"actor":{"display_login":"tvirpariya123"}}