"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/h323caps.h" between
h323plus-1_27_0.tar.gz and h323plus-1_27_1.tar.gz

About: H.323 Plus offers libraries for voice (VoIP) and videoconferencing using H.323.

h323caps.h  (h323plus-1_27_0):h323caps.h  (h323plus-1_27_1)
skipping to change at line 435 skipping to change at line 435
/// Attach a QoS specification to this channel /// Attach a QoS specification to this channel
virtual void AttachQoS(RTP_QOS *) virtual void AttachQoS(RTP_QOS *)
{} {}
//@} //@}
#if PTRACING #if PTRACING
friend ostream & operator<<(ostream & o , MainTypes t); friend ostream & operator<<(ostream & o , MainTypes t);
friend ostream & operator<<(ostream & o , CapabilityDirection d); friend ostream & operator<<(ostream & o , CapabilityDirection d);
#endif #endif
void SetMediaFormatOptionInteger(const PString & name, int val) { mediaForma
t.SetOptionInteger(name, val); }
protected: protected:
unsigned assignedCapabilityNumber; /// Unique ID assigned to capability unsigned assignedCapabilityNumber; /// Unique ID assigned to capability
CapabilityDirection capabilityDirection; CapabilityDirection capabilityDirection;
RTP_DataFrame::PayloadTypes rtpPayloadType; RTP_DataFrame::PayloadTypes rtpPayloadType;
private: private:
OpalMediaFormat mediaFormat; OpalMediaFormat mediaFormat;
}; };
/**This class describes the interface to a non-standard codec used to /**This class describes the interface to a non-standard codec used to
skipping to change at line 569 skipping to change at line 571
H323GenericCapabilityInfo( H323GenericCapabilityInfo(
const PString &capabilityId, ///< generic codec identifier const PString &capabilityId, ///< generic codec identifier
PINDEX maxBitRate = 0 ///< maxBitRate parameter for the GenericCa pability PINDEX maxBitRate = 0 ///< maxBitRate parameter for the GenericCa pability
); );
H323GenericCapabilityInfo(const H323GenericCapabilityInfo &obj); H323GenericCapabilityInfo(const H323GenericCapabilityInfo &obj);
virtual ~H323GenericCapabilityInfo(); virtual ~H323GenericCapabilityInfo();
PBoolean IsMatch( PBoolean IsMatch(
const H245_GenericCapability & param ///< Non standard field in PDU recei ved const H245_GenericCapability & param ///< Non standard field in PDU recei ved
) const; ) const;
void SetMaxBitRate(unsigned bitrate) { maxBitRate = bitrate; }
protected: protected:
virtual PBoolean OnSendingGenericPDU( virtual PBoolean OnSendingGenericPDU(
H245_GenericCapability & pdu, H245_GenericCapability & pdu,
const OpalMediaFormat & mediaFormat, const OpalMediaFormat & mediaFormat,
H323Capability::CommandType type H323Capability::CommandType type
) const; ) const;
virtual PBoolean OnReceivedGenericPDU( virtual PBoolean OnReceivedGenericPDU(
OpalMediaFormat & mediaFormat, OpalMediaFormat & mediaFormat,
const H245_GenericCapability & pdu, const H245_GenericCapability & pdu,
H323Capability::CommandType type H323Capability::CommandType type
skipping to change at line 2571 skipping to change at line 2576
virtual PBoolean OnReceivedPDU( virtual PBoolean OnReceivedPDU(
const H245_DataType & pdu, ///< PDU to get information from const H245_DataType & pdu, ///< PDU to get information from
PBoolean receiver ///< Is receiver OLC PBoolean receiver ///< Is receiver OLC
); );
/**Compare the generic part of the capability, if applicable. /**Compare the generic part of the capability, if applicable.
*/ */
virtual PBoolean IsMatch( virtual PBoolean IsMatch(
const PASN_Choice & subTypePDU ///< sub-type PDU of H323Capability const PASN_Choice & subTypePDU ///< sub-type PDU of H323Capability
) const; ) const;
/**Get the capabilities
*/
virtual const H323Capabilities & GetCapabilities() const;
//@} //@}
/**@name Operations */ /**@name Operations */
//@{ //@{
/** Get matching Capability from List */ /** Get matching Capability from List */
H323Capability & operator[](PINDEX i); H323Capability & operator[](PINDEX i);
H323Capability * GetAt(PINDEX i) const; H323Capability * GetAt(PINDEX i) const;
/** Get Number of matching Capabilities */ /** Get Number of matching Capabilities */
PINDEX GetSize() const; PINDEX GetSize() const;
/**Add All Capabilities /**Add All Capabilities
*/ */
static void AddAllCapabilities( static void AddAllCapabilities(
H323Capabilities & basecapabilities, ///< Base Table to add capability t o H323Capabilities & basecapabilities, ///< Base Table to add capability t o
PINDEX descriptorNum, ///< The member of the capabilityDescriptor to add PINDEX descriptorNum, ///< The member of the capabilityDescriptor to add
PINDEX simultaneous ///< The member of the SimultaneousCapabilitySet t o add PINDEX simultaneous ///< The member of the SimultaneousCapabilitySet t o add
); );
/**Get the capabilities
*/
const H323Capabilities & GetCapabilities() const;
//@} //@}
protected: protected:
H323Capabilities extCapabilities; ///< local Capability List H323Capabilities extCapabilities; ///< local Capability List
H323CapabilitiesList table; ///< common Capability List H323CapabilitiesList table; ///< common Capability List
}; };
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
// //
skipping to change at line 2652 skipping to change at line 2658
h239gpSymmetryBreaking = 43, // Type of val - unsigned min h239gpSymmetryBreaking = 43, // Type of val - unsigned min
h239gpTerminalLabel = 44, // Type of val - unsigned min h239gpTerminalLabel = 44, // Type of val - unsigned min
h239gpAcknowledge = 126, // Type of val - boolean h239gpAcknowledge = 126, // Type of val - boolean
h239gpReject = 127 // Type of val - boolean h239gpReject = 127 // Type of val - boolean
}; };
//@} //@}
virtual PString GetFormatName() const virtual PString GetFormatName() const
{ return "H.239 Control"; } { return "H.239 Control"; }
/**Get the default RTP session.
This function gets the default RTP session ID for the capability
type.
returns H323Capability::NonRTPSessionID .
*/
virtual unsigned GetDefaultSessionID() const;
virtual PObject * Clone() const virtual PObject * Clone() const
{ {
return new H323ControlExtendedVideoCapability(*this); return new H323ControlExtendedVideoCapability(*this);
} }
PBoolean CloseChannel(H323Connection * connection, H323Capability::Capability Direction dir); PBoolean CloseChannel(H323Connection * connection, H323Capability::Capability Direction dir);
PBoolean SendGenericMessage(h245MessageType msgtype, PBoolean SendGenericMessage(h245MessageType msgtype,
H323Connection * connection, H323Connection * connection,
PBoolean approved=false); PBoolean approved=false);
 End of changes. 5 change blocks. 
3 lines changed or deleted 17 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)