diff --git a/pc/rtp_sender.h b/pc/rtp_sender.h index 26adceb089..8925230636 100644 --- a/pc/rtp_sender.h +++ b/pc/rtp_sender.h @@ -86,9 +86,7 @@ class RtpSenderInternal : public RtpSenderInterface { const RtpParameters& parameters) = 0; // Additional checks that are specific to the current codec settings - virtual RTCError CheckCodecParameters(const RtpParameters& parameters) { - return RTCError::OK(); - } + virtual RTCError CheckCodecParameters(const RtpParameters& parameters) = 0; // Returns an ID that changes every time SetTrack() is called, but // otherwise remains constant. Used to generate IDs for stats.