Merge pull request #309 from azuwis/master
yate: More video codecs mapping
This commit is contained in:
commit
4a3ffd6819
2 changed files with 37 additions and 1 deletions
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=yate
|
||||
PKG_VERSION:=6.0.0-1
|
||||
PKG_RELEASE:=6
|
||||
PKG_RELEASE:=7
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://yate.null.ro/tarballs/yate6/
|
||||
|
|
36
net/yate/patches/150-video-codecs-mapping.patch
Normal file
36
net/yate/patches/150-video-codecs-mapping.patch
Normal file
|
@ -0,0 +1,36 @@
|
|||
--- a/libs/ysdp/parser.cpp
|
||||
+++ b/libs/ysdp/parser.cpp
|
||||
@@ -57,7 +57,9 @@ const TokenDict SDPParser::s_payloads[]
|
||||
{ "h263", 34 },
|
||||
{ "h263-1998", 111 },
|
||||
{ "h263-2000", 112 },
|
||||
+ { "h264", 97 },
|
||||
{ "vp8", 113 },
|
||||
+ { "vp9", 114 },
|
||||
{ "mpv", 32 },
|
||||
{ "mp2t", 33 },
|
||||
{ "mp4v", 110 },
|
||||
@@ -92,7 +94,9 @@ const TokenDict SDPParser::s_rtpmap[] =
|
||||
{ "H263/90000", 34 },
|
||||
{ "H263-1998/90000", 111 },
|
||||
{ "H263-2000/90000", 112 },
|
||||
+ { "H264/90000", 97 },
|
||||
{ "VP8/90000", 113 },
|
||||
+ { "VP9/90000", 114 },
|
||||
{ "MPV/90000", 32 },
|
||||
{ "MP2T/90000", 33 },
|
||||
{ "MP4V-ES/90000", 110 },
|
||||
--- a/modules/yrtpchan.cpp
|
||||
+++ b/modules/yrtpchan.cpp
|
||||
@@ -63,6 +63,11 @@ static TokenDict dict_payloads[] = {
|
||||
{ "mjpeg", 26 },
|
||||
{ "h261", 31 },
|
||||
{ "h263", 34 },
|
||||
+ { "h263-1998", 111 },
|
||||
+ { "h263-2000", 112 },
|
||||
+ { "h264", 97 },
|
||||
+ { "vp8", 113 },
|
||||
+ { "vp9", 114 },
|
||||
{ "mpv", 32 },
|
||||
{ "mp2t", 33 },
|
||||
{ "mp4v", 98 },
|
Loading…
Reference in a new issue