"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/h323rtp.cxx" 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.

h323rtp.cxx  (h323plus-1_27_0):h323rtp.cxx  (h323plus-1_27_1)
skipping to change at line 347 skipping to change at line 347
if (param.HasOptionalField(H245_H2250LogicalChannelAckParameters::e_dynamicRTP PayloadType)) if (param.HasOptionalField(H245_H2250LogicalChannelAckParameters::e_dynamicRTP PayloadType))
channel.SetDynamicRTPPayloadType(param.m_dynamicRTPPayloadType); channel.SetDynamicRTPPayloadType(param.m_dynamicRTPPayloadType);
return TRUE; return TRUE;
} }
PBoolean H323_RTP_UDP::OnReceivedAckAltPDU(H323_RTPChannel & channel, PBoolean H323_RTP_UDP::OnReceivedAckAltPDU(H323_RTPChannel & channel,
const H245_ArrayOf_GenericInformation & alternate) const H245_ArrayOf_GenericInformation & alternate)
{ {
return connection.OnReceiveOLCGenericInformation(channel.GetSessionID(),alte rnate, true); return connection.OnReceiveOLCGenericInformation(channel.GetSessionID(), alt ernate, true);
} }
void H323_RTP_UDP::OnSendRasInfo(H225_RTPSession & info) void H323_RTP_UDP::OnSendRasInfo(H225_RTPSession & info)
{ {
info.m_sessionId = rtp.GetSessionID(); info.m_sessionId = rtp.GetSessionID();
info.m_ssrc = rtp.GetSyncSourceOut(); info.m_ssrc = rtp.GetSyncSourceOut();
info.m_cname = rtp.GetCanonicalName(); info.m_cname = rtp.GetCanonicalName();
const H323Transport & transport = connection.GetControlChannel(); info.m_rtpAddress.IncludeOptionalField(H225_TransportChannelInfo::e_recvAddres
s);
transport.SetUpTransportPDU(info.m_rtpAddress.m_recvAddress, rtp.GetLocalDataP H323TransportAddress rtp_recv(rtp.GetRemoteAddress(), rtp.GetRemoteDataPort())
ort()); ;
H323TransportAddress ta1(rtp.GetRemoteAddress(), rtp.GetRemoteDataPort()); rtp_recv.SetPDU(info.m_rtpAddress.m_recvAddress);
ta1.SetPDU(info.m_rtpAddress.m_sendAddress);
info.m_rtpAddress.IncludeOptionalField(H225_TransportChannelInfo::e_sendAddres
transport.SetUpTransportPDU(info.m_rtcpAddress.m_recvAddress, rtp.GetLocalCont s);
rolPort()); H323TransportAddress rtp_send(rtp.GetLocalAddress(), rtp.GetLocalDataPort());
H323TransportAddress ta2(rtp.GetRemoteAddress(), rtp.GetRemoteDataPort()); rtp_send.SetPDU(info.m_rtpAddress.m_sendAddress);
ta2.SetPDU(info.m_rtcpAddress.m_sendAddress);
info.m_rtcpAddress.IncludeOptionalField(H225_TransportChannelInfo::e_recvAddre
ss);
H323TransportAddress rtcp_recv(rtp.GetRemoteAddress(), rtp.GetRemoteControlPor
t());
rtcp_recv.SetPDU(info.m_rtcpAddress.m_recvAddress);
info.m_rtcpAddress.IncludeOptionalField(H225_TransportChannelInfo::e_sendAddre
ss);
H323TransportAddress rtcp_send(rtp.GetLocalAddress(), rtp.GetLocalControlPort(
));
rtcp_send.SetPDU(info.m_rtcpAddress.m_sendAddress);
} }
#if P_QOS #if P_QOS
PBoolean H323_RTP_UDP::WriteTransportCapPDU(H245_TransportCapability & cap, PBoolean H323_RTP_UDP::WriteTransportCapPDU(H245_TransportCapability & cap,
const H323_RTPChannel & channel) con st const H323_RTPChannel & channel) con st
{ {
cap.IncludeOptionalField(H245_TransportCapability::e_mediaChannelCapabilitie s); cap.IncludeOptionalField(H245_TransportCapability::e_mediaChannelCapabilitie s);
H245_ArrayOf_MediaChannelCapability & mediaCaps = cap.m_mediaChannelCapabili ties; H245_ArrayOf_MediaChannelCapability & mediaCaps = cap.m_mediaChannelCapabili ties;
mediaCaps.SetSize(1); mediaCaps.SetSize(1);
H245_MediaChannelCapability & mediaCap = mediaCaps[0]; H245_MediaChannelCapability & mediaCap = mediaCaps[0];
 End of changes. 2 change blocks. 
12 lines changed or deleted 23 lines changed or added

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