blob: 52621c47c9452d36252321d8e767a19b58d0ef29 [file] [log] [blame]
This is a testharness.js-based test.
FAIL setCodecPreferences() on audio transceiver with codecs returned from RTCRtpSender.getCapabilities('audio') should succeed pc.addTransceiver is not a function
FAIL setCodecPreferences() on video transceiver with codecs returned from RTCRtpReceiver.getCapabilities('video') should succeed pc.addTransceiver is not a function
FAIL setCodecPreferences() with both sender receiver codecs combined should succeed pc.addTransceiver is not a function
FAIL setCodecPreferences([]) should succeed pc.addTransceiver is not a function
FAIL setCodecPreferences() with reordered codecs should succeed pc.addTransceiver is not a function
FAIL setCodecPreferences() on audio transceiver with codecs returned from getCapabilities('video') should throw InvalidAccessError pc.addTransceiver is not a function
FAIL setCodecPreferences() with user defined codec should throw InvalidAccessError pc.addTransceiver is not a function
FAIL setCodecPreferences() with user defined codec together with codecs returned from getCapabilities() should throw InvalidAccessError pc.addTransceiver is not a function
FAIL setCodecPreferences() with modified codecs returned from getCapabilities() should throw InvalidAccessError pc.addTransceiver is not a function
Harness: the test ran to completion.