1 #ifndef TGCALLS_TURN_CUSTOMIZER_H 2 #define TGCALLS_TURN_CUSTOMIZER_H 3 4 #include "api/turn_customizer.h" 5 6 namespace tgcalls { 7 8 class TurnCustomizerImpl : public webrtc::TurnCustomizer { 9 public: 10 TurnCustomizerImpl(); 11 virtual ~TurnCustomizerImpl(); 12 13 void MaybeModifyOutgoingStunMessage(cricket::PortInterface* port, cricket::StunMessage* message) override; 14 bool AllowChannelData(cricket::PortInterface* port, const void *data, size_t size, bool payload) override; 15 }; 16 17 } // namespace tgcalls 18 19 #endif 20