| 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_ |
| 29 |