tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

fec_controller_override.h (840B)


      1 /* Copyright 2019 The WebRTC project authors. All Rights Reserved.
      2 *
      3 *  Use of this source code is governed by a BSD-style license
      4 *  that can be found in the LICENSE file in the root of the source
      5 *  tree. An additional intellectual property rights grant can be found
      6 *  in the file PATENTS.  All contributing project authors may
      7 *  be found in the AUTHORS file in the root of the source tree.
      8 */
      9 
     10 // This is an EXPERIMENTAL interface.
     11 
     12 #ifndef API_FEC_CONTROLLER_OVERRIDE_H_
     13 #define API_FEC_CONTROLLER_OVERRIDE_H_
     14 
     15 namespace webrtc {
     16 
     17 // Interface for temporarily overriding FecController's bitrate allocation.
     18 class FecControllerOverride {
     19 public:
     20  virtual void SetFecAllowed(bool fec_allowed) = 0;
     21 
     22 protected:
     23  virtual ~FecControllerOverride() = default;
     24 };
     25 
     26 }  // namespace webrtc
     27 
     28 #endif  // API_FEC_CONTROLLER_OVERRIDE_H_