mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Allow RTP structure registration
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -199,7 +199,7 @@ static int jingle_get_codec(struct ast_channel *chan);
|
|||||||
|
|
||||||
/*! \brief PBX interface structure for channel registration */
|
/*! \brief PBX interface structure for channel registration */
|
||||||
static const struct ast_channel_tech jingle_tech = {
|
static const struct ast_channel_tech jingle_tech = {
|
||||||
.type = type,
|
.type = "Jingle",
|
||||||
.description = "Jingle Channel Driver",
|
.description = "Jingle Channel Driver",
|
||||||
.capabilities = ((AST_FORMAT_MAX_AUDIO << 1) - 1),
|
.capabilities = ((AST_FORMAT_MAX_AUDIO << 1) - 1),
|
||||||
.requester = jingle_request,
|
.requester = jingle_request,
|
||||||
@@ -227,7 +227,7 @@ static struct in_addr __ourip;
|
|||||||
|
|
||||||
/*! \brief RTP driver interface */
|
/*! \brief RTP driver interface */
|
||||||
static struct ast_rtp_protocol jingle_rtp = {
|
static struct ast_rtp_protocol jingle_rtp = {
|
||||||
type: "jingle",
|
type: "Jingle",
|
||||||
get_rtp_info: jingle_get_rtp_peer,
|
get_rtp_info: jingle_get_rtp_peer,
|
||||||
set_rtp_peer: jingle_set_rtp_peer,
|
set_rtp_peer: jingle_set_rtp_peer,
|
||||||
get_codec: jingle_get_codec,
|
get_codec: jingle_get_codec,
|
||||||
|
Reference in New Issue
Block a user