mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 16:33:34 +00:00
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
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user