mirror of
https://github.com/DrKLO/Telegram.git
synced 2024-12-22 14:35:03 +01:00
7a60f948ae
Thanks to @alabiaga and @marcelpinto for help with improvements for Android 12. https://github.com/DrKLO/Telegram/pull/1633 https://github.com/DrKLO/Telegram/pull/1636 https://github.com/DrKLO/Telegram/pull/1630
19 lines
510 B
C++
19 lines
510 B
C++
#ifndef TGCALLS_TURN_CUSTOMIZER_H
|
|
#define TGCALLS_TURN_CUSTOMIZER_H
|
|
|
|
#include "api/turn_customizer.h"
|
|
|
|
namespace tgcalls {
|
|
|
|
class TurnCustomizerImpl : public webrtc::TurnCustomizer {
|
|
public:
|
|
TurnCustomizerImpl();
|
|
virtual ~TurnCustomizerImpl();
|
|
|
|
void MaybeModifyOutgoingStunMessage(cricket::PortInterface* port, cricket::StunMessage* message) override;
|
|
bool AllowChannelData(cricket::PortInterface* port, const void *data, size_t size, bool payload) override;
|
|
};
|
|
|
|
} // namespace tgcalls
|
|
|
|
#endif
|