opuspacketizationhandler.hpp 848 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_OPUS_PACKETIZATION_HANDLER_H
  9. #define RTC_OPUS_PACKETIZATION_HANDLER_H
  10. #if RTC_ENABLE_MEDIA
  11. #include "mediachainablehandler.hpp"
  12. #include "opusrtppacketizer.hpp"
  13. namespace rtc {
  14. /// Handler for opus packetization
  15. class RTC_CPP_EXPORT OpusPacketizationHandler final : public MediaChainableHandler {
  16. public:
  17. /// Construct handler for opus packetization.
  18. /// @param packetizer RTP packetizer for opus
  19. OpusPacketizationHandler(shared_ptr<OpusRtpPacketizer> packetizer);
  20. };
  21. } // namespace rtc
  22. #endif /* RTC_ENABLE_MEDIA */
  23. #endif /* RTC_OPUS_PACKETIZATION_HANDLER_H */