OPAL
Version 3.18.8
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
27
#ifndef OPAL_IM_RFC4103_H
28
#define OPAL_IM_RFC4103_H
29
30
#include <
opal_config.h
>
31
32
#if OPAL_HAS_RFC4103
33
34
#include <ptclib/url.h>
35
36
#include <
opal/mediastrm.h
>
37
#include <
rtp/rtp.h
>
38
39
40
class
T140String
;
41
42
45
class
OpalT140MediaStream
:
public
OpalMediaStream
46
{
47
public
:
48
OpalT140MediaStream
(
49
OpalConnection
& conn,
50
const
OpalMediaFormat
& mediaFormat,
51
unsigned
sessionID,
52
bool
isSource
53
);
54
55
virtual
PBoolean
IsSynchronous
()
const
{
return
false
; }
56
virtual
PBoolean
RequiresPatchThread
()
const
{
return
false
; }
57
58
bool
ReadPacket
(
RTP_DataFrame
& packet);
59
bool
WritePacket
(
RTP_DataFrame
& packet);
60
61
protected
:
62
virtual
void
InternalClose
() { }
63
};
64
65
66
#endif // OPAL_HAS_RFC4103
67
68
#endif // OPAL_IM_RFC4103_H
opal_config.h
OpalT140MediaStream::IsSynchronous
virtual PBoolean IsSynchronous() const
Definition:
rfc4103.h:55
OpalT140MediaStream::RequiresPatchThread
virtual PBoolean RequiresPatchThread() const
Definition:
rfc4103.h:56
RTP_DataFrame
Definition:
rtp.h:540
OpalT140MediaStream::OpalT140MediaStream
OpalT140MediaStream(OpalConnection &conn, const OpalMediaFormat &mediaFormat, unsigned sessionID, bool isSource)
OpalMediaFormat
Definition:
mediafmt.h:806
OpalT140MediaStream
Definition:
rfc4103.h:45
OpalMediaStream
Definition:
mediastrm.h:110
OpalConnection
Definition:
connection.h:415
mediastrm.h
rtp.h
T140String
Definition:
t140.h:36
OpalT140MediaStream::WritePacket
bool WritePacket(RTP_DataFrame &packet)
OpalT140MediaStream::ReadPacket
bool ReadPacket(RTP_DataFrame &packet)
OpalT140MediaStream::InternalClose
virtual void InternalClose()
Definition:
rfc4103.h:62
include
im
rfc4103.h
Generated on Sun Mar 27 2022 14:09:25 for OPAL by
1.8.5