| 479 | } |
| 480 | |
| 481 | void 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 | |
| 492 | void MicrohardLink::transmit_audio_data( |
| 493 | const openhd::AudioPacket& audio_packet) { |
nothing calls this directly
no test coverage detected