Files
sousa-gecko/third_party/libwebrtc/api/test/create_time_controller.h
T
Michael Froman e2f8ca58f3 Bug 1980479 - Vendor libwebrtc from 83dac84ea0
Upstream commit: https://webrtc.googlesource.com/src/+/83dac84ea01ec66634804fe88ebedca9ea9859b8
    Delete deprecated EnableMediaWithDefaultsAndTimeController

    Custom clock for testing can be injected via
    PeerConnectionFactoryDependencies::env

    Bug: None
    Change-Id: I35a9de6d974f12524ca7335434cd94aca9ee0570
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/390680
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#44610}
2025-08-21 15:09:07 +00:00

25 lines
768 B
C++

/*
* Copyright 2019 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef API_TEST_CREATE_TIME_CONTROLLER_H_
#define API_TEST_CREATE_TIME_CONTROLLER_H_
#include <memory>
#include "api/test/time_controller.h"
namespace webrtc {
// Creates a time controller that runs in simulated time.
std::unique_ptr<TimeController> CreateSimulatedTimeController();
} // namespace webrtc
#endif // API_TEST_CREATE_TIME_CONTROLLER_H_