diff options
author | Mark Spencer <markster@digium.com> | 2003-06-28 16:40:02 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-06-28 16:40:02 +0000 |
commit | f5e13431a53e5ce6ebd93e447633b710ef639632 (patch) | |
tree | 350126d47aecc8eeeaca9794943d8d2640d37670 /channels/chan_mgcp.c | |
parent | 71c9cbb2b1bae41a2c02868f7fe75ea5d2577fe4 (diff) |
Add SIP/RTP video support, video enable app_echo, start on RTCP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_mgcp.c')
-rwxr-xr-x | channels/chan_mgcp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index c6a29e4fd..27a962bd3 100755 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -1717,7 +1717,7 @@ static void start_rtp(struct mgcp_subchannel *sub) { ast_pthread_mutex_lock(&sub->lock); /* Allocate the RTP now */ - sub->rtp = ast_rtp_new(NULL, NULL); + sub->rtp = ast_rtp_new(sched, io, 1, 0); if (sub->rtp && sub->owner) sub->owner->fds[0] = ast_rtp_fd(sub->rtp); if (sub->rtp) @@ -2791,8 +2791,9 @@ static struct ast_rtp *mgcp_get_rtp_peer(struct ast_channel *chan) return NULL; } -static int mgcp_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp) +static int mgcp_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp, struct ast_rtp *vrtp) { + /* XXX Is there such thing as video support with MGCP? XXX */ struct mgcp_subchannel *sub; sub = chan->pvt->pvt; if (sub) { |