sipxtacklib
Version 3.3
Main Page
Related Pages
Classes
Files
File List
File Members
include
net
SdpHelper.h
Go to the documentation of this file.
1
//
2
// Copyright (C) 2007-2013 SIPez LLC. All rights reserved.
3
//
4
// Copyright (C) 2007 Plantronics
5
// Licensed to SIPfoundry under a Contributor Agreement.
6
//
7
// Copyright (C) 2007 SIPfoundry Inc.
8
// Licensed by SIPfoundry under the LGPL license.
9
//
10
// $$
12
// Author: Scott Godin (sgodin AT SipSpectrum DOT com)
13
14
#ifndef _SdpHelper_h_
15
#define _SdpHelper_h_
16
17
#ifndef EXCLUDE_SIPX_SDP_HELPER
18
19
// SYSTEM INCLUDES
20
//#include <...>
21
22
// APPLICATION INCLUDES
23
#include <
net/SdpBody.h
>
24
#include <sdp/Sdp.h>
25
#include <sdp/SdpMediaLine.h>
26
27
// DEFINES
28
// MACROS
29
// EXTERNAL FUNCTIONS
30
// EXTERNAL VARIABLES
31
// CONSTANTS
32
// STRUCTS
33
// TYPEDEFS
34
// FORWARD DECLARATIONS
35
36
//: Container for SdpHelper specification
37
// This class holds the information related to an SdpHelper.
38
// Included in this information is: TODO
39
//
40
41
class
SdpHelper
42
{
43
/* //////////////////////////// PUBLIC //////////////////////////////////// */
44
public
:
45
46
/* ============================ CREATORS ================================== */
47
48
/* ============================ MANIPULATORS ============================== */
49
static
SdpMediaLine::SdpCryptoSuiteType
convertCryptoSuiteType
(
int
sdpBodyType);
50
51
static
Sdp*
createSdpFromSdpBody
(
const
SdpBody
& sdpBody,
const
SdpCodecList* codecFactory);
52
53
// Fill in the SdpMediaLine container for the indicated media line in the given SdpBody
54
static
UtlBoolean
getMediaLine
(
const
SdpBody
& sdpBody,
int
mediaLineIndex,
55
SdpMediaLine& mediaLine,
56
const
SdpCodecList* codecFactory);
57
58
/* ============================ ACCESSORS ================================= */
59
60
/* ============================ INQUIRY =================================== */
61
62
63
/* //////////////////////////// PROTECTED ///////////////////////////////// */
64
protected
:
65
66
/* //////////////////////////// PRIVATE /////////////////////////////////// */
67
private
:
68
};
69
70
/* ============================ INLINE METHODS ============================ */
71
72
#endif // #ifndef EXCLUDE_SIPX_SDP_HELPER
73
74
#endif // _SdpHelper_h_
75
SdpHelper::getMediaLine
static UtlBoolean getMediaLine(const SdpBody &sdpBody, int mediaLineIndex, SdpMediaLine &mediaLine, const SdpCodecList *codecFactory)
Definition:
SdpHelper.cpp:91
SdpBody.h
SdpHelper::createSdpFromSdpBody
static Sdp * createSdpFromSdpBody(const SdpBody &sdpBody, const SdpCodecList *codecFactory)
Definition:
SdpHelper.cpp:59
SdpHelper::convertCryptoSuiteType
static SdpMediaLine::SdpCryptoSuiteType convertCryptoSuiteType(int sdpBodyType)
Definition:
SdpHelper.cpp:44
SdpHelper
Definition:
SdpHelper.h:41
SdpBody
Container for MIME type application/sdp.
Definition:
SdpBody.h:89
sipXtackLib home page