mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Update chan_jingle to new definition of set_rtp_peer.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -183,7 +183,7 @@ static int jingle_sendhtml(struct ast_channel *ast, int subclass, const char *da
|
|||||||
static struct jingle_pvt *jingle_alloc(struct jingle *client, const char *from, const char *sid);
|
static struct jingle_pvt *jingle_alloc(struct jingle *client, const char *from, const char *sid);
|
||||||
/*----- RTP interface functions */
|
/*----- RTP interface functions */
|
||||||
static int jingle_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp,
|
static int jingle_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp,
|
||||||
struct ast_rtp *vrtp, int codecs, int nat_active);
|
struct ast_rtp *vrtp, struct ast_rtp *tpeer, int codecs, int nat_active);
|
||||||
static enum ast_rtp_get_result jingle_get_rtp_peer(struct ast_channel *chan, struct ast_rtp **rtp);
|
static enum ast_rtp_get_result jingle_get_rtp_peer(struct ast_channel *chan, struct ast_rtp **rtp);
|
||||||
static int jingle_get_codec(struct ast_channel *chan);
|
static int jingle_get_codec(struct ast_channel *chan);
|
||||||
|
|
||||||
@@ -429,7 +429,7 @@ static int jingle_get_codec(struct ast_channel *chan)
|
|||||||
return p->peercapability;
|
return p->peercapability;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int jingle_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp, struct ast_rtp *vrtp, int codecs, int nat_active)
|
static int jingle_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp, struct ast_rtp *vrtp, struct ast_rtp *tpeer, int codecs, int nat_active)
|
||||||
{
|
{
|
||||||
struct jingle_pvt *p;
|
struct jingle_pvt *p;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user