OPAL
Version 3.10.10
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
rfc4103.h
Go to the documentation of this file.
1
/*
2
* rfc4103.h
3
*
4
* Implementation of RFC 4103 RTP Payload for Text Conversation
5
*
6
* Open Phone Abstraction Library (OPAL)
7
*
8
* Copyright (c) 2008 Post Increment
9
*
10
* The contents of this file are subject to the Mozilla Public License
11
* Version 1.0 (the "License"); you may not use this file except in
12
* compliance with the License. You may obtain a copy of the License at
13
* http://www.mozilla.org/MPL/
14
*
15
* Software distributed under the License is distributed on an "AS IS"
16
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
17
* the License for the specific language governing rights and limitations
18
* under the License.
19
*
20
* The Original Code is Open Phone Abstraction Library.
21
*
22
* The Initial Developer of the Original Code is Post Increment
23
*
24
* Contributor(s): ______________________________________.
25
*
26
* $Revision: 23609 $
27
* $Author: csoutheren $
28
* $Date: 2009-10-08 00:48:02 -0500 (Thu, 08 Oct 2009) $
29
*/
30
31
#ifndef OPAL_IM_RFC4103_H
32
#define OPAL_IM_RFC4103_H
33
34
#include <
opal/buildopts.h
>
35
36
#if OPAL_HAS_RFC4103
37
38
#include <
opal/mediafmt.h
>
39
#include <
im/t140.h
>
40
#include <
im/im.h
>
41
#include <
rtp/rtp.h
>
42
43
44
class
RFC4103Context
:
public
PObject
45
{
46
public
:
47
RFC4103Context
();
48
RFC4103Context
(
const
OpalMediaFormat
& fmt);
49
void
SetMediaFormat
(
const
OpalMediaFormat
& fmt);
50
RTP_DataFrameList
ConvertToFrames
(
const
PString & contentType,
const
T140String
& body);
51
52
OpalMediaFormat
m_mediaFormat
;
53
PMutex
m_mutex
;
54
WORD
m_sequence
;
55
DWORD
m_baseTimeStamp
;
56
PTime
m_baseTime
;
57
};
58
59
60
#endif // OPAL_HAS_RFC4103
61
62
#endif // OPAL_IM_RFC4103_H
buildopts.h
im.h
RFC4103Context::SetMediaFormat
void SetMediaFormat(const OpalMediaFormat &fmt)
OpalMediaFormat
Definition:
mediafmt.h:724
RFC4103Context::m_baseTimeStamp
DWORD m_baseTimeStamp
Definition:
rfc4103.h:55
RFC4103Context::ConvertToFrames
RTP_DataFrameList ConvertToFrames(const PString &contentType, const T140String &body)
RFC4103Context::m_mediaFormat
OpalMediaFormat m_mediaFormat
Definition:
rfc4103.h:52
RFC4103Context::m_mutex
PMutex m_mutex
Definition:
rfc4103.h:53
RFC4103Context::m_baseTime
PTime m_baseTime
Definition:
rfc4103.h:56
RFC4103Context::m_sequence
WORD m_sequence
Definition:
rfc4103.h:54
mediafmt.h
RFC4103Context::RFC4103Context
RFC4103Context()
t140.h
RFC4103Context
Definition:
rfc4103.h:44
rtp.h
T140String
Definition:
t140.h:51
include
im
rfc4103.h
Generated on Sat May 3 2014 19:54:14 for OPAL by
1.8.6