diff options
Diffstat (limited to '')
-rw-r--r-- | media/webrtc/signaling/gtest/MockCall.h | 14 |
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 {} |