MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / transmit_video_data

Method transmit_video_data

OpenHD/ohd_interface/src/ethernet_link.cpp:132–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132void EthernetLink::transmit_video_data(
133 int stream_index,
134 const openhd::FragmentedVideoFrame& fragmented_video_frame) {
135 // Send video data fragments to the destination
136 if (m_video_tx) {
137 for (const auto& fragment : fragmented_video_frame.rtp_fragments) {
138 m_video_tx->forwardPacketViaUDP(fragment->data(), fragment->size());
139 }
140 }
141}
142
143void EthernetLink::transmit_audio_data(
144 const openhd::AudioPacket& audio_packet) {

Callers

nothing calls this directly

Calls 2

forwardPacketViaUDPMethod · 0.80
sizeMethod · 0.80

Tested by

no test coverage detected