~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.1.0/pjmedia/include/pjmedia-codec/g7221_sdp_match.h

  • Committer: Package Import Robot
  • Author(s): Francois Marier, Francois Marier, Mark Purcell
  • Date: 2014-10-18 15:08:50 UTC
  • mfrom: (1.1.12)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20141018150850-2exfk34ckb15pcwi
Tags: 1.4.1-0.1
[ Francois Marier ]
* Non-maintainer upload
* New upstream release (closes: #759576, #741130)
  - debian/rules +PJPROJECT_VERSION := 2.2.1
  - add upstream patch to fix broken TLS support
  - add patch to fix pjproject regression

[ Mark Purcell ]
* Build-Depends:
  - sflphone-daemon + libavformat-dev, libavcodec-dev, libswscale-dev,
  libavdevice-dev, libavutil-dev
  - sflphone-gnome + libclutter-gtk-1.0-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: g7221_sdp_match.h 3911 2011-12-15 06:45:23Z nanang $ */
2
 
/* 
3
 
 * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
4
 
 * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
5
 
 *
6
 
 * This program is free software; you can redistribute it and/or modify
7
 
 * it under the terms of the GNU General Public License as published by
8
 
 * the Free Software Foundation; either version 2 of the License, or
9
 
 * (at your option) any later version.
10
 
 *
11
 
 * This program is distributed in the hope that it will be useful,
12
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 * GNU General Public License for more details.
15
 
 *
16
 
 * You should have received a copy of the GNU General Public License
17
 
 * along with this program; if not, write to the Free Software
18
 
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
19
 
 */
20
 
#ifndef __PJMEDIA_CODEC_G7221_SDP_MATCH_H__
21
 
#define __PJMEDIA_CODEC_G7221_SDP_MATCH_H__
22
 
 
23
 
 
24
 
/**
25
 
 * @file g7221_sdp_match.h
26
 
 * @brief Special SDP format match for G722.1.
27
 
 */
28
 
 
29
 
#include <pjmedia/sdp_neg.h>
30
 
 
31
 
PJ_BEGIN_DECL
32
 
 
33
 
/**
34
 
 * Match G.722.1 format in the SDP media offer and answer. This function
35
 
 * will match G.722.1 bitrate setting in the SDP format parameter of
36
 
 * offer and answer.
37
 
 *
38
 
 * @param pool          The memory pool.
39
 
 * @param offer         The SDP media offer.
40
 
 * @param o_fmt_idx     Index of the G.722.1 format in the SDP media offer.
41
 
 * @param answer        The SDP media answer.
42
 
 * @param a_fmt_idx     Index of the G.722.1 format in the SDP media answer.
43
 
 * @param option        The format matching option, see
44
 
 *                      #pjmedia_sdp_neg_fmt_match_flag.
45
 
 *
46
 
 * @return              PJ_SUCCESS when the formats in offer and answer match.
47
 
 */
48
 
PJ_DECL(pj_status_t) pjmedia_codec_g7221_match_sdp( pj_pool_t *pool,
49
 
                                                    pjmedia_sdp_media *offer,
50
 
                                                    unsigned o_fmt_idx,
51
 
                                                    pjmedia_sdp_media *answer,
52
 
                                                    unsigned a_fmt_idx,
53
 
                                                    unsigned option);
54
 
 
55
 
 
56
 
PJ_END_DECL
57
 
 
58
 
 
59
 
#endif  /* __PJMEDIA_CODEC_G7221_SDP_MATCH_H__ */