| 130 | } |
| 131 | |
| 132 | void 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 | |
| 143 | void EthernetLink::transmit_audio_data( |
| 144 | const openhd::AudioPacket& audio_packet) { |
nothing calls this directly
no test coverage detected