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

Method transmit_video_data

OpenHD/ohd_interface/src/microhard_link.cpp:481–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479}
480
481void MicrohardLink::transmit_video_data(
482 int stream_index,
483 const openhd::FragmentedVideoFrame& fragmented_video_frame) {
484 assert(m_profile.is_air);
485 if (stream_index == 0) {
486 for (const auto& fragment : fragmented_video_frame.rtp_fragments) {
487 m_video_tx->forwardPacketViaUDP(fragment->data(), fragment->size());
488 }
489 }
490}
491
492void MicrohardLink::transmit_audio_data(
493 const openhd::AudioPacket& audio_packet) {

Callers

nothing calls this directly

Calls 2

forwardPacketViaUDPMethod · 0.80
sizeMethod · 0.80

Tested by

no test coverage detected