#include "base/command_line.h"
#include "base/files/file_util.h"
#include "base/test/scoped_feature_list.h"
#include "base/threading/platform_thread.h"
#include "build/build_config.h"
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/browser/webrtc/webrtc_content_browsertest_base.h"
#include "content/public/common/content_features.h"
#include "content/public/common/content_switches.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/public/test/test_utils.h"
#include "media/base/media_switches.h"
#include "media/webrtc/webrtc_features.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "third_party/blink/public/common/peerconnection/webrtc_ip_handling_policy.h"
const char kAudioConstraints[] = …;
const char kVideoConstraints[] = …;
namespace content {
class WebRtcAudioBrowserTest : public WebRtcContentBrowserTestBase { … };
IN_PROC_BROWSER_TEST_F(WebRtcAudioBrowserTest,
CanMakeVideoCallAndThenRenegotiateToAudio) { … }
IN_PROC_BROWSER_TEST_F(WebRtcAudioBrowserTest,
EstablishAudioVideoCallAndEnsureAudioIsPlaying) { … }
IN_PROC_BROWSER_TEST_F(WebRtcAudioBrowserTest,
EstablishAudioOnlyCallAndEnsureAudioIsPlaying) { … }
IN_PROC_BROWSER_TEST_F(WebRtcAudioBrowserTest,
EstablishAudioVideoCallAndVerifyRemoteMutingWorks) { … }
IN_PROC_BROWSER_TEST_F(WebRtcAudioBrowserTest,
EstablishAudioVideoCallAndVerifyLocalMutingWorks) { … }
IN_PROC_BROWSER_TEST_F(WebRtcAudioBrowserTest,
EnsureLocalVideoMuteDoesntMuteAudio) { … }
IN_PROC_BROWSER_TEST_F(WebRtcAudioBrowserTest,
EnsureRemoteVideoMuteDoesntMuteAudio) { … }
IN_PROC_BROWSER_TEST_F(WebRtcAudioBrowserTest,
EstablishAudioVideoCallAndVerifyUnmutingWorks) { … }
IN_PROC_BROWSER_TEST_F(
WebRtcAudioBrowserTest,
EstablishAudioOnlyCallAndVerifyGetSynchronizationSourcesWorks) { … }
}