vp8rtpdepacketizer.hpp 768 B

12345678910111213141516171819202122232425262728293031323334
  1. /**
  2. * Copyright (c) 2026 Paul-Louis Ageneau
  3. *
  4. * This Source Code Form is subject to the terms of the Mozilla Public
  5. * License, v. 2.0. If a copy of the MPL was not distributed with this
  6. * file, You can obtain one at https://mozilla.org/MPL/2.0/.
  7. */
  8. #ifndef RTC_VP8_RTP_DEPACKETIZER_H
  9. #define RTC_VP8_RTP_DEPACKETIZER_H
  10. #if RTC_ENABLE_MEDIA
  11. #include "common.hpp"
  12. #include "message.hpp"
  13. #include "rtpdepacketizer.hpp"
  14. namespace rtc {
  15. /// RTP depacketization for VP8
  16. class RTC_CPP_EXPORT VP8RtpDepacketizer final : public VideoRtpDepacketizer {
  17. public:
  18. VP8RtpDepacketizer();
  19. ~VP8RtpDepacketizer();
  20. private:
  21. message_ptr reassemble(message_buffer &buffer) override;
  22. };
  23. } // namespace rtc
  24. #endif // RTC_ENABLE_MEDIA
  25. #endif /* RTC_VP8_RTP_DEPACKETIZER_H */