Home | History | Annotate | Download | only in phone

Lines Matching refs:rtcp

64 static const char* PacketType(bool rtcp) {
65 return (!rtcp) ? "RTP" : "RTCP";
68 static bool ValidPacket(bool rtcp, const talk_base::Buffer* packet) {
71 packet->length() >= (!rtcp ? kMinRtpPacketLen : kMinRtcpPacketLen) &&
122 FlushRtcpMessages(); // Send any outstanding RTCP packets.
242 // When using RTCP multiplexing we might get RTCP packets on the RTP
243 // transport. We feed RTP traffic into the demuxer to determine if it is RTCP.
244 bool rtcp = (channel == rtcp_transport_channel_ ||
246 HandlePacket(rtcp, &packet);
249 bool BaseChannel::SendPacket(bool rtcp, talk_base::Buffer* packet) {
259 int message_id = (!rtcp) ? MSG_RTPPACKET : MSG_RTCPPACKET;
267 // (We might get RTCP packets that we don't intend to send.)
268 // If we've negotiated RTCP mux, send RTCP over the RTP transport.
269 TransportChannel* channel = (!rtcp || rtcp_mux_filter_.IsActive()) ?
276 if (!ValidPacket(rtcp, packet)) {
278 << PacketType(rtcp) << " packet: wrong size="
288 if (!rtcp) {
301 if (!rtcp) {
314 << " RTCP packet: size=" << len
329 void BaseChannel::HandlePacket(bool rtcp, talk_base::Buffer* packet) {
331 if (!ValidPacket(rtcp, packet)) {
333 << PacketType(rtcp) << " packet: wrong size="
343 if (!rtcp) {
356 << " RTCP packet: size=" << len
366 if (!rtcp) {
376 if (!rtcp) {
516 // We activated RTCP mux, close down the RTCP transport.
524 // CA_UPDATE, no RTCP mux info.
603 // Flush all remaining RTCP messages. This should only be called in
619 bool rtcp)
623 if (rtcp) {
624 set_rtcp_transport_channel(session->CreateChannel(content_name, "rtcp"));
780 // set RTCP mux
807 // set RTCP mux
942 bool rtcp,
947 if (rtcp) {
1052 // set RTCP mux
1080 // set RTCP mux