diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /third_party/libwebrtc/pc/media_stream_unittest.cc | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/libwebrtc/pc/media_stream_unittest.cc')
-rw-r--r-- | third_party/libwebrtc/pc/media_stream_unittest.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/third_party/libwebrtc/pc/media_stream_unittest.cc b/third_party/libwebrtc/pc/media_stream_unittest.cc index f55ea203fb..d6c79efae9 100644 --- a/third_party/libwebrtc/pc/media_stream_unittest.cc +++ b/third_party/libwebrtc/pc/media_stream_unittest.cc @@ -91,7 +91,7 @@ TEST_F(MediaStreamTest, GetTrackInfo) { ASSERT_EQ(1u, stream_->GetAudioTracks().size()); // Verify the video track. - scoped_refptr<webrtc::MediaStreamTrackInterface> video_track( + scoped_refptr<MediaStreamTrackInterface> video_track( stream_->GetVideoTracks()[0]); EXPECT_EQ(0, video_track->id().compare(kVideoTrackId)); EXPECT_TRUE(video_track->enabled()); @@ -105,7 +105,7 @@ TEST_F(MediaStreamTest, GetTrackInfo) { EXPECT_TRUE(video_track->enabled()); // Verify the audio track. - scoped_refptr<webrtc::MediaStreamTrackInterface> audio_track( + scoped_refptr<MediaStreamTrackInterface> audio_track( stream_->GetAudioTracks()[0]); EXPECT_EQ(0, audio_track->id().compare(kAudioTrackId)); EXPECT_TRUE(audio_track->enabled()); @@ -139,14 +139,12 @@ TEST_F(MediaStreamTest, RemoveTrack) { } TEST_F(MediaStreamTest, ChangeVideoTrack) { - scoped_refptr<webrtc::VideoTrackInterface> video_track( - stream_->GetVideoTracks()[0]); + scoped_refptr<VideoTrackInterface> video_track(stream_->GetVideoTracks()[0]); ChangeTrack(video_track.get()); } TEST_F(MediaStreamTest, ChangeAudioTrack) { - scoped_refptr<webrtc::AudioTrackInterface> audio_track( - stream_->GetAudioTracks()[0]); + scoped_refptr<AudioTrackInterface> audio_track(stream_->GetAudioTracks()[0]); ChangeTrack(audio_track.get()); } |