[asterisk-dev] Video does not display in Chrome with Asterisk11 + sipml5

Ayako SHICHIJO shichijo.ayako at po.ntts.co.jp
Wed Dec 25 04:26:53 CST 2013


Hello all,

I tried to use WebRTC(audio+video) with Asterisk11.
But video does not display in both Browser(offer/answer).
Video RTP packet of Chrome-->Asterisk and Asterisk-->Chrome seems correct.
And I can hear audio both(offer/answer).
codecs are G711ulaw for audio and VP8 for video.

Has anyone successfully had a audio+video WebRTC session with Asterisk and Chrome?
In such case, please let me know your environment.

*** My Environment
- OS: CentOS 6.5 (2.6.32-431.el6.x86_64)
- Asterisk 11.2-cert2
- Broswer: Chrome 31.0.1650.63m
- sipml5: 1.3.203

*** Network: Standalone(No Internet)
- Asterisk: 192.168.0.101
- Sipml5(on apache): 192.168.0.101
- Offer: 192.168.0.253 (exten:1060)
- Answer: 192.168.0.112 (exten:1061)

*** following patches are applied
- opus,vp8 patch
  https://issues.asterisk.org/jira/browse/ASTERISK-21981
- sipml5 patch (add a=ssrc to SDP)
  http://sipml5.googlecode.com/svn/trunk/asterisk/asterisk_379070.patch
- STUN Binding Request
  https://issues.asterisk.org/jira/browse/ASTERISK-21383
- core dump in ICE worker
  https://issues.asterisk.org/jira/browse/ASTERISK-22897

*** Configs
-sip.conf
udpbindaddr=0.0.0.0:5060
realm=192.168.0.101
transport=udp,ws,wss

-http.conf
enabled=yes
bindaddr=0.0.0.0
bindport=8088

-users.conf
[1060]
type=peer
username=1060
host=dynamic
secret=1060
context=default
disallow=all
allow=ulaw,vp8
hasiax = no
hassip = yes
encryption = yes
avpf = yes
icesupport = yes
videosupport=yes
directmedia=no

[1061]
type=peer
username=1061
host=dynamic
secret=1061
context=default
disallow=all
allow=ulaw,vp8
hasiax = no
hassip = yes
encryption = yes
avpf = yes
icesupport = yes
videosupport=yes
directmedia=no


*** Sequence and selected Asterisk full log

       Alice's          Asterisk         Bob's
       Chrome                           Chrome
         |                |                |
         |    INVITE      |                |
         |--------------->|                |
         |                |*1 WARNING      |
         |                |      message   |
         |  100 Trying    |                |
         |<---------------|                |
         |                |    INVITE      |
         |                |--------------->|
         |                |  100 Trying    |
         |                |<-------------- |
         |                | 180 Ringing    |
         | 180 Ringing    |<---------------|
         |<---------------|    200 OK      |
         |                |<---------------|
         |                |*2 WARNING      |
         |                |      message   |
         |                |                |
         |                |      ACK       |
         |                |--------------->|
         |     200 OK     |                |
         |<---------------|                |
         |      ACK       |                |
         |--------------->|                |
         |                |                |

(*1)
[Dec 25 14:54:26] WARNING[32184][C-00000000] chan_sip.c: Instance: 'f00387f8'
[Dec 25 14:54:26] WARNING[32184][C-00000000] chan_sip.c: Instance2: 'f00387f8'
[Dec 25 14:54:26] WARNING[32184][C-00000000] chan_sip.c: Instance: 'f00459a8'
[Dec 25 14:54:26] WARNING[32184][C-00000000] chan_sip.c: Instance2: 'f00459a8'
[Dec 25 14:54:26] WARNING[32184][C-00000000] chan_sip.c: Instance: '0'
[Dec 25 14:54:26] WARNING[32184][C-00000000] chan_sip.c: Instance: 'f00387f8'
[Dec 25 14:54:26] WARNING[32184][C-00000000] chan_sip.c: Instance2: 'f00387f8'
[Dec 25 14:54:26] WARNING[32184][C-00000000] chan_sip.c: Instance: 'f00459a8'
[Dec 25 14:54:26] WARNING[32184][C-00000000] chan_sip.c: Instance2: 'f00459a8'

(*2)
[Dec 25 14:54:31] WARNING[32186][C-00000000] chan_sip.c: Instance: 'c0175f8'
[Dec 25 14:54:31] WARNING[32186][C-00000000] chan_sip.c: Instance2: 'c0175f8'
[Dec 25 14:54:31] WARNING[32186][C-00000000] chan_sip.c: Instance: 'c024b58'
[Dec 25 14:54:31] WARNING[32186][C-00000000] chan_sip.c: Instance2: 'c024b58'
[Dec 25 14:54:31] WARNING[32186][C-00000000] chan_sip.c: Instance: '0'
[Dec 25 14:54:31] WARNING[32186][C-00000000] chan_sip.c: Instance: 'c0175f8'
[Dec 25 14:54:31] WARNING[32186][C-00000000] chan_sip.c: Instance2: 'c0175f8'
[Dec 25 14:54:31] WARNING[32186][C-00000000] chan_sip.c: Instance: 'c0175f8'
[Dec 25 14:54:31] WARNING[32186][C-00000000] chan_sip.c: Instance2: 'c0175f8'
[Dec 25 14:54:31] WARNING[32186][C-00000000] chan_sip.c: Instance: 'c0175f8'
[Dec 25 14:54:31] WARNING[32186][C-00000000] chan_sip.c: Instance2: 'c0175f8'
[Dec 25 14:54:31] WARNING[32186][C-00000000] chan_sip.c: Instance: 'c0175f8'
[Dec 25 14:54:31] WARNING[32186][C-00000000] chan_sip.c: Instance2: 'c0175f8'
[Dec 25 14:54:31] WARNING[32186][C-00000000] chan_sip.c: Instance: 'c0175f8'
[Dec 25 14:54:31] ERROR[32186][C-00000000] netsock2.c: getaddrinfo("df7jal23ls0d.invalid", "(null)", ...): Temporary failure in name resolution
[Dec 25 14:54:31] WARNING[32186][C-00000000] chan_sip.c: Invalid host name in Contact: (can't resolve in DNS) : 'df7jal23ls0d.invalid'



Thanks in advance.

Ayako Shichijo




More information about the asterisk-dev mailing list