Name Description Size
NetworkPreparationChromeScript.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1385
addTurnsSelfsignedCert.js 918
blacksilence.js 3988
dataChannel.js Returns the contents of a blob as text @param {Blob} blob The blob to retrieve the contents from 10065
head.js Reads the current values of preferences affecting fake and loopback devices and sets the WANT_FAKE_AUDIO and WANT_FAKE_VIDEO gloabals appropriately. 38938
identity 25
mediaStreamPlayback.js The time we wait depends primarily on the canplaythrough event firing Note: this needs to be at least 30s because the B2G emulator in VMs is really slow. 7043
mochitest.ini 14114
network.js A stub function for preparing the network if needed 496
nonTrickleIce.js 3553
parser_rtp.js Parses an RTP packet @param buffer an ArrayBuffer that contains the packet @return { type: "rtp", header: {...}, payload: a DataView } 5012
pc.js This class handles tests for peer connections. @constructor @param {object} [options={}] Optional options for the peer connection test @param {object} [options.commands=commandsPeerConnection] Commands to run for the test @param {bool} [options.is_local=true] true if this test should run the tests for the "local" side. @param {bool} [options.is_remote=true] true if this test should run the tests for the "remote" side. @param {object} [options.config_local=undefined] Configuration for the local peer connection instance @param {object} [options.config_remote=undefined] Configuration for the remote peer connection instance. If not defined the configuration from the local instance will be used 76439
peerconnection_audio_forced_sample_rate.js 1563
sdpUtils.js 12017
steeplechase.ini 166
steeplechase_long 5
templates.js Default list of commands to execute for a PeerConnection test. 18831
test_1488832.html 662
test_a_noOp.html Test for Bug 1264772 1033
test_dataChannel_basicAudio.html 505
test_dataChannel_basicAudioVideo.html 570
test_dataChannel_basicAudioVideoCombined.html 566
test_dataChannel_basicAudioVideoNoBundle.html 623
test_dataChannel_basicDataOnly.html 442
test_dataChannel_basicVideo.html 505
test_dataChannel_bug1013809.html 641
test_dataChannel_dataOnlyBufferedAmountLow.html 536
test_dataChannel_dtlsVersions.html 1106
test_dataChannel_hostnameObfuscationWhitelist.html 1861
test_dataChannel_noOffer.html 704
test_defaultAudioConstraints.html 2861
test_enumerateDevices.html 4870
test_enumerateDevices_iframe.html 561
test_enumerateDevices_navigation.html 1616
test_fingerprinting_resistance.html 3445
test_forceSampleRate.html Test the pref media.cubeb.force_sample_rate 708
test_getUserMedia_GC_MediaStream.html 1855
test_getUserMedia_active_autoplay.html 1874
test_getUserMedia_addTrackRemoveTrack.html 7223
test_getUserMedia_addtrack_removetrack_events.html 2686
test_getUserMedia_audioCapture.html Test AudioCapture 3684
test_getUserMedia_audioConstraints.html 3256
test_getUserMedia_audioConstraints_concurrentIframes.html 6726
test_getUserMedia_audioConstraints_concurrentStreams.html 4896
test_getUserMedia_basicAudio.html 740
test_getUserMedia_basicAudio_loopback.html 3825
test_getUserMedia_basicScreenshare.html 9256
test_getUserMedia_basicTabshare.html 2021
test_getUserMedia_basicVideo.html 749
test_getUserMedia_basicVideoAudio.html 794
test_getUserMedia_basicVideo_playAfterLoadedmetadata.html 1252
test_getUserMedia_basicWindowshare.html 865
test_getUserMedia_bug1223696.html 1584
test_getUserMedia_callbacks.html 907
test_getUserMedia_constraints.html 6883
test_getUserMedia_cubebDisabled.html 1350
test_getUserMedia_cubebDisabledFakeStreams.html 1385
test_getUserMedia_getTrackById.html 1624
test_getUserMedia_gumWithinGum.html 1293
test_getUserMedia_loadedmetadata.html 1161
test_getUserMedia_mediaElementCapture_audio.html 4269
test_getUserMedia_mediaElementCapture_tracks.html 6641
test_getUserMedia_mediaElementCapture_video.html 3046
test_getUserMedia_mediaStreamClone.html 11035
test_getUserMedia_mediaStreamConstructors.html 7900
test_getUserMedia_mediaStreamTrackClone.html 7466
test_getUserMedia_nonDefaultRate.html 987
test_getUserMedia_peerIdentity.html 1437
test_getUserMedia_permission.html 3264
test_getUserMedia_permission_iframe.html 599
test_getUserMedia_playAudioTwice.html 714
test_getUserMedia_playVideoAudioTwice.html 727
test_getUserMedia_playVideoTwice.html 723
test_getUserMedia_scarySources.html 1926
test_getUserMedia_spinEventLoop.html 758
test_getUserMedia_trackCloneCleanup.html 887
test_getUserMedia_trackEnded.html 2267
test_groupId.html 1593
test_ondevicechange.html 2327
test_peerConnection_addAudioTrackToExistingVideoStream.html 1737
test_peerConnection_addDataChannel.html 837
test_peerConnection_addDataChannelNoBundle.html 1299
test_peerConnection_addSecondAudioStream.html 1391
test_peerConnection_addSecondAudioStreamNoBundle.html 1792
test_peerConnection_addSecondVideoStream.html 1785
test_peerConnection_addSecondVideoStreamNoBundle.html 2085
test_peerConnection_addtrack_removetrack_events.html 2558
test_peerConnection_answererAddSecondAudioStream.html 805
test_peerConnection_audioCodecs.html 3010
test_peerConnection_audioContributingSources.html 5535
test_peerConnection_audioRenegotiationInactiveAnswer.html 1885
test_peerConnection_audioSynchronizationSources.html 3472
test_peerConnection_audioSynchronizationSourcesUnidirectional.html 1876
test_peerConnection_basicAudio.html 589
test_peerConnection_basicAudioDynamicPtMissingRtpmap.html 1099
test_peerConnection_basicAudioNATRelay.html 1734
test_peerConnection_basicAudioNATRelayTCP.html 1445
test_peerConnection_basicAudioNATRelayTLS.html 1510
test_peerConnection_basicAudioNATSrflx.html 1626
test_peerConnection_basicAudioPcmaPcmuOnly.html 1159
test_peerConnection_basicAudioRequireEOC.html 1096
test_peerConnection_basicAudioVerifyRtpHeaderExtensions.html 2167
test_peerConnection_basicAudioVideo.html 536
test_peerConnection_basicAudioVideoCombined.html 532
test_peerConnection_basicAudioVideoNoBundle.html 583
test_peerConnection_basicAudioVideoNoBundleNoRtcpMux.html 1245
test_peerConnection_basicAudioVideoNoRtcpMux.html 1197
test_peerConnection_basicAudioVideoTransceivers.html 740
test_peerConnection_basicAudioVideoVerifyExtmap.html 3775
test_peerConnection_basicAudioVideoVerifyExtmapSendonly.html 3747
test_peerConnection_basicAudioVideoVerifyTooLongMidFails.html 1531
test_peerConnection_basicAudio_forced_higher_rate.html 515
test_peerConnection_basicAudio_forced_lower_rate.html 513
test_peerConnection_basicH264Video.html 531
test_peerConnection_basicScreenshare.html 593
test_peerConnection_basicVideo.html 465
test_peerConnection_basicVideoVerifyRtpHeaderExtensions.html 2340
test_peerConnection_basicWindowshare.html 593
test_peerConnection_bug1013809.html 638
test_peerConnection_bug1042791.html 985
test_peerConnection_bug1227781.html 718
test_peerConnection_bug1512281.html 1304
test_peerConnection_bug822674.html 627
test_peerConnection_bug825703.html 4911
test_peerConnection_bug827843.html 1475
test_peerConnection_bug834153.html 987
test_peerConnection_callbacks.html 2794
test_peerConnection_captureStream_canvas_2d.html 2604
test_peerConnection_captureStream_canvas_2d_noSSRC.html 2670
test_peerConnection_captureStream_canvas_webgl.html 4432
test_peerConnection_capturedVideo.html 3031
test_peerConnection_certificates.html 5322
test_peerConnection_checkPacketDumpHook.html 4438
test_peerConnection_close.html 5480
test_peerConnection_closeDuringIce.html 2884
test_peerConnection_constructedStream.html 2155
test_peerConnection_disabledVideoPreNegotiation.html 1477
test_peerConnection_errorCallbacks.html 1737
test_peerConnection_forwarding_basicAudioVideoCombined.html 1396
test_peerConnection_iceFailure.html 2959
test_peerConnection_insertDTMF.html 2161
test_peerConnection_localReofferRollback.html 1408
test_peerConnection_localRollback.html 1654
test_peerConnection_maxFsConstraint.html 3350
test_peerConnection_multiple_captureStream_canvas_2d.html 3855
test_peerConnection_noTrickleAnswer.html 594
test_peerConnection_noTrickleOffer.html 592
test_peerConnection_noTrickleOfferAnswer.html 643
test_peerConnection_nonDefaultRate.html 5788
test_peerConnection_offerRequiresReceiveAudio.html 496
test_peerConnection_offerRequiresReceiveVideo.html 496
test_peerConnection_offerRequiresReceiveVideoAudio.html 542
test_peerConnection_promiseSendOnly.html 2400
test_peerConnection_recordReceiveTrack.html 3184
test_peerConnection_relayOnly.html 2144
test_peerConnection_remoteReofferRollback.html 1479
test_peerConnection_remoteRollback.html 1542
test_peerConnection_removeAudioTrack.html 1786
test_peerConnection_removeThenAddAudioTrack.html 3161
test_peerConnection_removeThenAddAudioTrackNoBundle.html 2709
test_peerConnection_removeThenAddVideoTrack.html 3655
test_peerConnection_removeThenAddVideoTrackNoBundle.html 3359
test_peerConnection_removeVideoTrack.html 2202
test_peerConnection_renderAfterRenegotiation.html 3474
test_peerConnection_replaceTrack.html 7413
test_peerConnection_replaceTrack_disabled.html 1804
test_peerConnection_replaceVideoThenRenegotiate.html 2810
test_peerConnection_restartIce.html 954
test_peerConnection_restartIceBadAnswer.html 1859
test_peerConnection_restartIceLocalAndRemoteRollback.html 2671
test_peerConnection_restartIceLocalAndRemoteRollbackNoSubsequentRestart.html 2731
test_peerConnection_restartIceLocalRollback.html 2643
test_peerConnection_restartIceLocalRollbackNoSubsequentRestart.html 2082
test_peerConnection_restartIceNoBundle.html 1023
test_peerConnection_restartIceNoBundleNoRtcpMux.html 1074
test_peerConnection_restartIceNoRtcpMux.html 1037
test_peerConnection_restrictBandwidthTargetBitrate.html 768
test_peerConnection_restrictBandwidthWithTias.html 811
test_peerConnection_rtcp_rsize.html 2912
test_peerConnection_scaleResolution.html 3028
test_peerConnection_sender_and_receiver_stats.html 2734
test_peerConnection_setLocalAnswerInHaveLocalOffer.html 849
test_peerConnection_setLocalAnswerInStable.html 830
test_peerConnection_setLocalOfferInHaveRemoteOffer.html 778
test_peerConnection_setParameters.html 2684
test_peerConnection_setParameters_scaleResolutionDownBy.html 2814
test_peerConnection_setRemoteAnswerInHaveRemoteOffer.html 897
test_peerConnection_setRemoteAnswerInStable.html 873
test_peerConnection_setRemoteOfferInHaveLocalOffer.html 1073
test_peerConnection_simulcastAnswer.html 6982
test_peerConnection_simulcastOddResolution.html 7594
test_peerConnection_simulcastOffer.html 7822
test_peerConnection_stats.html 24461
test_peerConnection_stats_relayProtocol.html 2441
test_peerConnection_syncSetDescription.html 1946
test_peerConnection_telephoneEventFirst.html 1544
test_peerConnection_threeUnbundledConnections.html 5123
test_peerConnection_throwInCallbacks.html 2125
test_peerConnection_toJSON.html 1260
test_peerConnection_trackDisabling.html 4140
test_peerConnection_trackDisabling_clones.html 6335
test_peerConnection_trackless_sender_stats.html 2074
test_peerConnection_twoAudioStreams.html 523
test_peerConnection_twoAudioTracksInOneStream.html 1060
test_peerConnection_twoAudioVideoStreams.html 667
test_peerConnection_twoAudioVideoStreamsCombined.html 646
test_peerConnection_twoVideoStreams.html 523
test_peerConnection_twoVideoTracksInOneStream.html 1064
test_peerConnection_verifyAudioAfterRenegotiation.html 4066
test_peerConnection_verifyDescriptions.html 2393
test_peerConnection_verifyVideoAfterRenegotiation.html 3601
test_peerConnection_videoCodecs.html 3371
test_peerConnection_videoRenegotiationInactiveAnswer.html 3012
test_peerConnection_webAudio.html 1274
test_selftest.html 801
test_setSinkId.html 1802
turnConfig.js An example of how to specify two TURN server configs: Note: If turn URL uses FQDN rather then an IP address the TURN relay verification step in checkStatsIceConnectionType might fail. var turnServers = { local: { iceServers: [{"username":"mozilla","credential":"mozilla","url":"turn:10.0.0.1"}] }, remote: { iceServers: [{"username":"firefox","credential":"firefox","url":"turn:10.0.0.2"}] } }; 665