Video 星号K12和sipML5视频支持

Video 星号K12和sipML5视频支持,video,asterisk,rtp,vp8,Video,Asterisk,Rtp,Vp8,是否可以在asterisk12和sipML5演示站点上互相发送视频? 我能听到音频,但视频是黑屏。。。 我这样设置sip.conf [general] videosupport=yes [6001] host=dynamic secret=1234 context=from-internal type=friend encryption=yes avpf=yes force_avp=yes icesupport=yes directmedia=no disallow=all allow=ulaw

是否可以在asterisk12和sipML5演示站点上互相发送视频? 我能听到音频,但视频是黑屏。。。 我这样设置sip.conf

[general]
videosupport=yes
[6001]
host=dynamic
secret=1234
context=from-internal
type=friend
encryption=yes
avpf=yes
force_avp=yes
icesupport=yes
directmedia=no
disallow=all
allow=ulaw
allow=alaw
allow=gsm
allow=h261
allow=h263
allow=h264
allow=vp8
dtlsenable=yes
dtlsverify=fingerprint
dtlscertfile=/etc/asterisk/keys/asterisk.pem
dtlscafile=/etc/asterisk/keys/ca.crt
dtlssetup=actpass

[6002]
host=dynamic
secret=1234
context=from-internal
type=friend
encryption=yes
avpf=yes
force_avp=yes
icesupport=yes
directmedia=no
disallow=all
allow=ulaw
allow=alaw
allow=gsm
allow=h261
allow=h263
allow=h264
allow=vp8
dtlsenable=yes
dtlsverify=fingerprint
dtlscertfile=/etc/asterisk/keys/asterisk.pem
dtlscafile=/etc/asterisk/keys/ca.crt
dtlssetup=actpass
我的环境,, sipml5演示站点

星号 Asterisk 12.4.0由root@48asterisk在2014-08-01 08:22:18 UTC运行Linux的x86_64上构建

操作系统 debian 7.6


感谢您的合作。

确保您已在http.conf中启用websocket,并将sipml配置为指向您的WS。另外,您的对等方没有配置ws-transport类型


如果您一步一步地遵循指南,它将全部工作…

1-在星号中,您应该只允许每个对等方使用一个视频编解码器,例如:

不允许=全部

允许=h263

因为星号不支持视频编解码器协商! 2-最好在sipml5和asterisk之间使用webrtc2sip()。它解决了webrtc规范中必须解决的协议协商问题,如SRTP和ICE。它还可以在多个浏览器之间进行编解码器转换


我已经设置了一个sipml5-webrtc2sip-asterisk结构,它工作得非常好!!:)

谢谢你的建议。我可以看视频了!!