[feat] enable TURN for answer peer by default

This commit is contained in:
dijunkun
2024-09-03 10:43:13 +08:00
parent fd392922d7
commit d78dc4585f
3 changed files with 33 additions and 28 deletions

View File

@@ -129,7 +129,7 @@ class PeerConnection {
bool enable_turn_ = false;
bool trickle_ice_ = true;
TraversalMode mode_ = TraversalMode::P2P;
bool try_rejoin_with_turn_ = false;
bool try_rejoin_with_turn_ = true;
private:
std::shared_ptr<WsTransmission> ws_transport_ = nullptr;