Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
willamowius committed Jan 6, 2021
1 parent b76810e commit 4ae993f
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 33 deletions.
22 changes: 11 additions & 11 deletions include/channels.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class H323ChannelNumber : public PObject
H323ChannelNumber & operator++(int);
operator unsigned() const { return number; }
PBoolean IsFromRemote() const { return fromRemote; }

protected:
unsigned number;
PBoolean fromRemote;
Expand Down Expand Up @@ -202,7 +202,7 @@ class H323Channel : public PObject
/**Fill out the OpenLogicalChannel PDU for the particular channel type.
*/
virtual PBoolean OnSendingPDU(
H245_OpenLogicalChannel & openPDU ///< Open PDU to send.
H245_OpenLogicalChannel & openPDU ///< Open PDU to send.
) const = 0;

/**This is called when request to create a channel is received from a
Expand Down Expand Up @@ -271,7 +271,7 @@ class H323Channel : public PObject
Typically, used to indicate a problem in the received video stream.
*/
void SendMiscCommand(unsigned command);

/**
Send a flow control request to the remote
*/
Expand Down Expand Up @@ -467,7 +467,7 @@ class H323BidirectionalChannel : public H323Channel

///////////////////////////////////////////////////////////////////////////////

/**This class is for encpsulating the IETF Real Time Protocol interface.
/**This class is for encapsulating the IETF Real Time Protocol interface.
*/
class H245_DataType;
class H323_RealTimeChannel : public H323UnidirectionalChannel
Expand All @@ -491,7 +491,7 @@ class H323_RealTimeChannel : public H323UnidirectionalChannel
/**Fill out the OpenLogicalChannel PDU for the particular channel type.
*/
virtual PBoolean OnSendingPDU(
H245_OpenLogicalChannel & openPDU ///< Open PDU to send.
H245_OpenLogicalChannel & openPDU ///< Open PDU to send.
) const;

/**This is called when request to create a channel is received from a
Expand Down Expand Up @@ -540,7 +540,7 @@ class H323_RealTimeChannel : public H323UnidirectionalChannel
H245_DataType & /*dataType*/, ///< DataType Information
H245_H2250LogicalChannelParameters & param ///< Open PDU to send.
) const { return OnSendingPDU(param); }

/**Alternate RTP port information for Same NAT
*/
virtual PBoolean OnSendingAltPDU(
Expand Down Expand Up @@ -607,7 +607,7 @@ class H323_RealTimeChannel : public H323UnidirectionalChannel

///////////////////////////////////////////////////////////////////////////////

/**This class is for encpsulating the IETF Real Time Protocol interface.
/**This class is for encapsulating the IETF Real Time Protocol interface.
*/
class H323_RTPChannel : public H323_RealTimeChannel
{
Expand Down Expand Up @@ -672,13 +672,13 @@ class H323_RTPChannel : public H323_RealTimeChannel
*/
virtual void SendUniChannelBackProbe();

/** Read a DataFrame
/** Read a DataFrame
*/
virtual PBoolean ReadFrame(DWORD & rtpTimestamp, ///< TimeStamp
RTP_DataFrame & frame ///< RTP data frame
);

/** Write a DataFrame
/** Write a DataFrame
*/
virtual PBoolean WriteFrame(RTP_DataFrame & frame ///< RTP data frame
);
Expand Down Expand Up @@ -761,7 +761,7 @@ class H323_RTPChannel : public H323_RealTimeChannel

///////////////////////////////////////////////////////////////////////////////

/**This class is for encpsulating the IETF Real Time Protocol interface as used
/**This class is for encapsulating the IETF Real Time Protocol interface as used
by a remote host.
*/
class H323SecureChannel;
Expand Down Expand Up @@ -972,7 +972,7 @@ class H323DataChannel : public H323UnidirectionalChannel
/**Fill out the OpenLogicalChannel PDU for the particular channel type.
*/
virtual PBoolean OnSendingPDU(
H245_OpenLogicalChannel & openPDU ///< Open PDU to send.
H245_OpenLogicalChannel & openPDU ///< Open PDU to send.
) const;

/**This is called when request to create a channel is received from a
Expand Down
12 changes: 6 additions & 6 deletions include/h235/h235chan.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#include "h235/h235caps.h"
#include "h235/h235crypto.h"

/**This class is a derived Class for encpsulating the IETF Real Time Protocol
/**This class is a derived Class for encapsulating the IETF Real Time Protocol
interface. It's only aim is to expose the Created UDP Data channel derive a
new class for binding to the OpenSSL TLS system.
*/
Expand All @@ -57,15 +57,15 @@ class H323SecureRTPChannel : public H323_RTPChannel
PCLASSINFO(H323SecureRTPChannel, H323_RTPChannel);

public:
/**@name Construction/Deconstructor */
/**@name Construction/Destruction */
//@{
/**Create a new channel.
*/
H323SecureRTPChannel(
H323Connection & connection, ///< Connection to endpoint for channel
const H323Capability & capability, ///< Capability channel is using
Directions direction, ///< Direction of channel
RTP_Session & rtp ///< RTP session for channel
RTP_Session & rtp ///< RTP session for channel
);

/**Destroy Class.
Expand All @@ -85,7 +85,7 @@ class H323SecureRTPChannel : public H323_RTPChannel
/**Fill out the OpenLogicalChannel PDU for the particular channel type.
*/
virtual PBoolean OnSendingPDU(
H245_OpenLogicalChannel & openPDU /// Open PDU to send.
H245_OpenLogicalChannel & openPDU /// Open PDU to send.
) const;

/**This is called when request to create a channel is received from a
Expand Down Expand Up @@ -210,7 +210,7 @@ class H323SecureChannel : public H323Channel

virtual void Receive();
virtual void Transmit();

virtual PBoolean Open();
virtual PBoolean Start();

Expand Down Expand Up @@ -238,4 +238,4 @@ class H323SecureChannel : public H323Channel

};

#endif
#endif
8 changes: 4 additions & 4 deletions include/h323rtp.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class H245_TransportCapability;

///////////////////////////////////////////////////////////////////////////////

/**This class is for encpsulating the IETF Real Time Protocol interface.
/**This class is for encapsulating the IETF Real Time Protocol interface.
*/
class H323_RTP_Session : public RTP_UserData
{
Expand Down Expand Up @@ -85,7 +85,7 @@ class H323_RTP_Session : public RTP_UserData
) const;

/**Callback from the RTP session for statistics monitoring.
This is called at the end of a call to indicating
This is called at the end of a call to indicating
that the statistics of the call.
The default behaviour calls H323Connection::OnFinalStatistics().
Expand Down Expand Up @@ -262,7 +262,7 @@ class H323_RTP_UDP : public H323_RTP_Session
/**This is called when a gatekeeper wants to get status information from
the endpoint.
The default behaviour calls the ancestor functon and then fills in the
The default behaviour calls the ancestor functon and then fills in the
transport fields.
*/
virtual void OnSendRasInfo(
Expand All @@ -288,7 +288,7 @@ class H323_RTP_UDP : public H323_RTP_Session
);
//@}
#endif

protected:
virtual PBoolean ExtractTransport(
const H245_TransportAddress & pdu,
Expand Down
6 changes: 3 additions & 3 deletions include/h460/h4601.h
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ class H460_Feature : public H225_FeatureDescriptor
*/
void SetCurrentTable(H460_FeatureTable & table);

/** Set the curernt Feature Table from Parameter
/** Set the current Feature Table from Parameter
*/
void SetCurrentTable(H460_FeatureParameter & param);

Expand Down Expand Up @@ -752,8 +752,8 @@ class H460_Feature : public H225_FeatureDescriptor
*/
static PStringArray GetFeatureFriendlyName() { return PStringArray("empty"); };

/** Get the purpose of the the Feature whether for Signalling,RAS or both. This determines
when the class is instantized
/** Get the purpose of the the Feature whether for Signalling, RAS or both. This determines
when the class is instantiated
*/
static int GetPurpose() { return FeatureBaseAll; };

Expand Down
18 changes: 9 additions & 9 deletions include/rtp.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class PNatMethod;
#endif

///////////////////////////////////////////////////////////////////////////////
//
//
// class to hold the QoS definitions for an RTP channel

#if P_QOS
Expand Down Expand Up @@ -269,7 +269,7 @@ class RTP_ControlFrame : public PBYTEArray
PUInt32b ntp_frac;
PUInt32b rtp_ts; /* RTP timestamp */
PUInt32b psent; /* packets sent */
PUInt32b osent; /* octets sent */
PUInt32b osent; /* octets sent */
};

enum DescriptionTypes {
Expand Down Expand Up @@ -340,7 +340,7 @@ class RTP_MultiControlFrame : public PBYTEArray
};


/**This class is for encpsulating the IETF Real Time Protocol interface.
/**This class is for encapsulating the IETF Real Time Protocol interface.
*/
class RTP_UDP;
class RTP_UserData;
Expand Down Expand Up @@ -383,7 +383,7 @@ class RTP_Session : public PObject
and the ReadBufferedData() function simply calls ReadData(). Once a
jitter buffer has been created it cannot be removed, though its size
may be adjusted.
If the jitterDelay paramter is zero, it destroys the jitter buffer
attached to this RTP session.
*/
Expand Down Expand Up @@ -493,8 +493,8 @@ class RTP_Session : public PObject
class SenderReport : public PObject {
PCLASSINFO(SenderReport, PObject);
public:
SenderReport()
: sourceIdentifier(0), realTimestamp1970(0),
SenderReport()
: sourceIdentifier(0), realTimestamp1970(0),
rtpTimestamp(0), packetsSent(0), octetsSent(0) {}

void PrintOn(ostream &) const;
Expand Down Expand Up @@ -844,7 +844,7 @@ class RTP_UserData : public PObject
) const;

/**Callback from the RTP session for statistics monitoring.
This is called at the end of a call to indicating
This is called at the end of a call to indicating
that the statistics of the call.
The default behaviour does nothing.
Expand All @@ -868,7 +868,7 @@ class RTP_UserData : public PObject



/**This class is for encpsulating the IETF Real Time Protocol interface.
/**This class is for encapsulating the IETF Real Time Protocol interface.
*/
class RTP_SessionManager : public PObject
{
Expand Down Expand Up @@ -919,7 +919,7 @@ class RTP_SessionManager : public PObject
unsigned sessionID ///< Session ID to release.
);

/**Move the session.
/**Move the session.
*/
void MoveSession(
unsigned oldSessionID, ///< Session ID from.
Expand Down

0 comments on commit 4ae993f

Please sign in to comment.