private void ValidateRtpTraffic() { if(!rtpTraffic) { throw new RtpTrafficDisabledException(Strings.CannotAccessRtpMethods); } }