Agora
1.2.0
Agora project
|
Go to the documentation of this file.
5 #ifndef VIDEO_RECEIVER_H_
6 #define VIDEO_RECEIVER_H_
33 size_t Load(
unsigned char *destination,
size_t requested_bytes)
final;
37 std::array<std::byte, VideoReceiver::kVideoStreamLocalRxBufSize>
44 #endif // VIDEO_RECEIVER_H_
Declaration file for the MacDataReceiver interface class.
static const std::string kRxAddress
Definition: video_receiver.cc:15
size_t data_start_offset_
Definition: video_receiver.h:41
static constexpr size_t kVideoStreamSocketRxBufSize
Definition: video_receiver.h:23
std::array< std::byte, VideoReceiver::kVideoStreamLocalRxBufSize > local_rx_buffer_
Definition: video_receiver.h:38
Basic UDP server class based on OS sockets that supports receiving messages.
Definition: udp_server.h:13
Provides the UDPServer functions from the UDPComm class. Receiver only support.
Declaration file for the VideoReceiver class.
static constexpr size_t kVideoStreamRxSize
Definition: video_receiver.h:22
~VideoReceiver() override=default
static constexpr size_t kVideoStreamLocalRxBufSize
Definition: video_receiver.h:27
UDPServer udp_video_receiver_
Definition: video_receiver.h:36
Plot Rx waveform for u
Definition: inspect_single_frame.m:108
static constexpr size_t kVideoStreamRxPort
Definition: video_receiver.h:20
The Video Receiver class creates a UDP server to receive a video stream tested with VLC streaming app...
Definition: video_receiver.h:17
The MacDataReceiver interface class.
Definition: mac_data_receiver.h:13
#define AGORA_LOG_INFO(...)
Definition: logger.h:62
#define AGORA_LOG_FRAME(...)
Definition: logger.h:72
static constexpr size_t kMaxRxAttempts
Definition: video_receiver.cc:13
ssize_t Recv(std::byte *buf, size_t len) const
Try to receive up to len bytes in buf by default this will not block.
Definition: udp_server.h:55
static constexpr size_t kVideoStreamMaxRxSize
Definition: video_receiver.h:26
VideoReceiver(uint16_t port)
Definition: video_receiver.cc:17
size_t data_available_
Definition: video_receiver.h:40
size_t Load(unsigned char *destination, size_t requested_bytes) final
Definition: video_receiver.cc:23