Home
last modified time | relevance | path

Searched refs:rtcp (Results 1 - 5 of 5) sorted by relevance

/foundation/CastEngine/castengine_wifi_display/services/protocol/rtcp/src/
H A Drtcp_context.cpp35 auto rtcp = RtcpSR::Create(0); in CreateRtcpSR() local
36 rtcp->SetNtpStamp(lastNtpStampMs_); in CreateRtcpSR()
37 rtcp->rtpts_ = htonl(lastRtpStamp_); in CreateRtcpSR()
38 rtcp->ssrc_ = htonl(rtcpSSRC); in CreateRtcpSR()
39 rtcp->packetCount_ = htonl((uint32_t)packets_); in CreateRtcpSR()
40 rtcp->octetCount_ = htonl((uint32_t)bytes_); in CreateRtcpSR()
43 ((ntohl(rtcp->ntpmsw_) & 0xFFFF) << 16) | ((ntohl(rtcp->ntplsw_) >> 16) & 0xFFFF); // 16:byte offset in CreateRtcpSR()
50 ret->PushData((char *)rtcp.get(), rtcp in CreateRtcpSR()
54 OnRtcp(RtcpHeader *rtcp) OnRtcp() argument
157 OnRtcp(RtcpHeader *rtcp) OnRtcp() argument
180 auto rtcp = RtcpRR::Create(1); CreateRtcpRR() local
[all...]
H A Drtcp.cpp16 #include "rtcp.h"
55 static void SetupHeader(RtcpHeader *rtcp, RtcpType type, int32_t reportCount, int32_t totalBytes) in SetupHeader() argument
57 RETURN_IF_NULL(rtcp); in SetupHeader()
58 rtcp->version_ = 2; // 2:byte offset in SetupHeader()
59 rtcp->padding_ = 0; in SetupHeader()
64 rtcp->reportCount_ = reportCount; in SetupHeader()
65 rtcp->pt_ = (uint8_t)type; in SetupHeader()
66 rtcp->SetSize(totalBytes); in SetupHeader()
69 static void SetupPadding(RtcpHeader *rtcp, size_t paddingSize) in SetupPadding() argument
71 RETURN_IF_NULL(rtcp); in SetupPadding()
[all...]
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtcp/include/
H A Drtcp_context.h21 #include "rtcp.h"
31 virtual void OnRtcp(RtcpHeader *rtcp) = 0;
83 void OnRtcp(RtcpHeader *rtcp) override;
99 void OnRtcp(RtcpHeader *rtcp) override;
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/wfd_source/
H A Dwfd_rtp_producer.h31 #include "protocol/rtcp/include/rtcp_context.h"
50 explicit UdpClient(bool rtcp);
H A Dwfd_rtp_producer.cpp31 WfdRtpProducer::UdpClient::UdpClient(bool rtcp) : rtcp_(rtcp) {} in UdpClient() argument
347 MEDIA_LOGD("recv rtcp rsp, producerId: %{public}u.", GetId()); in OnRtcpReadData()
357 SHARING_LOGW("rtcp time out,producerId: %{public}u,tid: %{public}d.", GetId(), gettid()); in OnRtcpTimeOut()

Completed in 3 milliseconds