av1packetizationhandler.hpp 854 B

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * Copyright (c) 2023 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_AV1_PACKETIZATION_HANDLER_H
  9. #define RTC_AV1_PACKETIZATION_HANDLER_H
  10. #if RTC_ENABLE_MEDIA
  11. #include "av1rtppacketizer.hpp"
  12. #include "mediachainablehandler.hpp"
  13. #include "nalunit.hpp"
  14. namespace rtc {
  15. /// Handler for AV1 packetization
  16. class RTC_CPP_EXPORT AV1PacketizationHandler final : public MediaChainableHandler {
  17. public:
  18. /// Construct handler for AV1 packetization.
  19. /// @param packetizer RTP packetizer for AV1
  20. AV1PacketizationHandler(shared_ptr<AV1RtpPacketizer> packetizer);
  21. };
  22. } // namespace rtc
  23. #endif /* RTC_ENABLE_MEDIA */
  24. #endif /* RTC_AV1_PACKETIZATION_HANDLER_H */