h264packetizationhandler.hpp 870 B

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * Copyright (c) 2020 Filip Klembara (in2core)
  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_H264_PACKETIZATION_HANDLER_H
  9. #define RTC_H264_PACKETIZATION_HANDLER_H
  10. #if RTC_ENABLE_MEDIA
  11. #include "h264rtppacketizer.hpp"
  12. #include "mediachainablehandler.hpp"
  13. #include "nalunit.hpp"
  14. namespace rtc {
  15. /// Handler for H264 packetization
  16. class RTC_CPP_EXPORT H264PacketizationHandler final : public MediaChainableHandler {
  17. public:
  18. /// Construct handler for H264 packetization.
  19. /// @param packetizer RTP packetizer for h264
  20. H264PacketizationHandler(shared_ptr<H264RtpPacketizer> packetizer);
  21. };
  22. } // namespace rtc
  23. #endif /* RTC_ENABLE_MEDIA */
  24. #endif /* RTC_H264_PACKETIZATION_HANDLER_H */