summaryrefslogtreecommitdiffstats
path: root/media/webrtc/signaling/gtest/MockCall.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /media/webrtc/signaling/gtest/MockCall.h
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--media/webrtc/signaling/gtest/MockCall.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/media/webrtc/signaling/gtest/MockCall.h b/media/webrtc/signaling/gtest/MockCall.h
index e0e9e92dcb..b1e12673f7 100644
--- a/media/webrtc/signaling/gtest/MockCall.h
+++ b/media/webrtc/signaling/gtest/MockCall.h
@@ -79,16 +79,16 @@ class MockAudioReceiveStream : public webrtc::AudioReceiveStreamInterface {
virtual void SetDepacketizerToDecoderFrameTransformer(
rtc::scoped_refptr<webrtc::FrameTransformerInterface> frame_transformer)
override {
- // Unimplemented after webrtc.org e2561e17e2 removed the Reconfigure
- // method.
- MOZ_ASSERT(false);
+ MOZ_CRASH(
+ "Unimplemented after webrtc.org e2561e17e2 removed the Reconfigure "
+ "method.");
}
virtual void SetDecoderMap(
std::map<int, webrtc::SdpAudioFormat> decoder_map) override;
virtual void SetNackHistory(int history_ms) override {
- // Unimplemented after webrtc.org e2561e17e2 removed the Reconfigure
- // method.
- MOZ_ASSERT(false);
+ MOZ_CRASH(
+ "Unimplemented after webrtc.org e2561e17e2 removed the Reconfigure "
+ "method.");
}
virtual void SetNonSenderRttMeasurement(bool enabled) override {}
void SetFrameDecryptor(rtc::scoped_refptr<webrtc::FrameDecryptorInterface>
@@ -126,8 +126,6 @@ class MockVideoSendStream : public webrtc::VideoSendStream {
Stats GetStats() override { return mStats; }
- void StartPerRtpStream(const std::vector<bool> active_layers) override {}
-
void AddAdaptationResource(
rtc::scoped_refptr<webrtc::Resource> resource) override {}