'''Note: A lot of things described in here is still a Work in Progress and is expected to change over time.'''
== Introduction ==
Talos provides automated way to start/stop Firefox , perform tests and capture results to be reported to the Mozilla's graphing server across various Firefox builds.
Talos is used in our setup to run media tests along with other start-up and page-loader performance tests.
=== MozCaptureStream and Peer Connection ===
Once we have the framework figured out to run automated media-tests, let's discuss on how do we insert
input audio file into WebRTC Peer Connection.For this purpose Mozilla's MediaStreamProcessing API '''mozCaptureStreamUntilEnded''' enables the <audio> element to produce MediaStream that consistsof whatever the <audio> element is playing. Thus the stream produced by the <audio> element in thisfashion replaces the function of obtaining the media stream via the WebRTC GetUserMedia API. Finally,the generated MediaStream is added to the local Peer Connection element via the addStream() API as shownbelow
<a href="https://dvcs.w3.org/hg/audio/raw-file/tip/streams/StreamProcessing.html">Media Processing API </a>
=== Audio Tools - PulseAudio, Sox, PESQ ===