Bug 1430213 - add toggle pref for RTCRtpReceiver RTP sources APIs;r=jib,smaug

MozReview-Commit-ID: 7vKUDDpjiP2

--HG--
extra : rebase_source : 53a7c6f43879d216c06a16626050f21344afe293
This commit is contained in:
Nico Grunbaum 2018-01-12 11:59:19 -08:00
Родитель ddbd3a3ec5
Коммит 522b16da0f
3 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -389,6 +389,7 @@ function setupEnvironment() {
['media.peerconnection.ice.stun_client_maximum_transmits', 14],
['media.peerconnection.ice.trickle_grace_period', 30000],
['media.peerconnection.remoteTrackId.enabled', true],
['media.peerconnection.rtpsourcesapi.enabled', true],
['media.navigator.permission.disabled', true],
['media.navigator.streams.fake', FAKE_ENABLED],
['media.getusermedia.screensharing.enabled', true],

Просмотреть файл

@ -12,7 +12,9 @@
interface RTCRtpReceiver {
readonly attribute MediaStreamTrack track;
Promise<RTCStatsReport> getStats();
[Pref="media.peerconnection.rtpsourcesapi.enabled"]
sequence<RTCRtpContributingSource> getContributingSources();
[Pref="media.peerconnection.rtpsourcesapi.enabled"]
sequence<RTCRtpSynchronizationSource> getSynchronizationSources();
[ChromeOnly]

Просмотреть файл

@ -502,6 +502,7 @@ pref("media.peerconnection.ice.trickle_grace_period", 5000);
pref("media.peerconnection.ice.no_host", false);
pref("media.peerconnection.ice.default_address_only", false);
pref("media.peerconnection.ice.proxy_only", false);
pref("media.peerconnection.rtpsourcesapi.enabled", true);
// These values (aec, agc, and noise) are from media/webrtc/trunk/webrtc/common_types.h
// kXxxUnchanged = 0, kXxxDefault = 1, and higher values are specific to each