Media/WebRTC Audio Perf: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
'''Note: A lot of things described in here is still Work in Progress and is expected to change over time.'''
'''Note: A lot of things described in here is still a Work in Progress and is expected to change over time.'''


== Introduction ==
== Introduction ==
Line 61: Line 61:
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 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.
Talos is used in our setup to run media tests along with other start-up and page-loader performance tests.
=== MozCaptureStream and Peer Connection ===
=== MozCaptureStream and Peer Connection ===
Once we have the framework figured out to run automated media-tests, let's discuss on how do we insert  
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.
input audio file into WebRTC Peer Connection. For this purpose Mozilla's MediaStreamProcessing API '''mozCaptureStreamUntilEnded''' enables the <audio> element to produce MediaStream that consists
of whatever the <audio> element is playing. Thus the stream produced by the <audio> element in this
fashion 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 shown
below
 
<a href="https://dvcs.w3.org/hg/audio/raw-file/tip/streams/StreamProcessing.html">Media Processing API </a>
<a href="https://dvcs.w3.org/hg/audio/raw-file/tip/streams/StreamProcessing.html">Media Processing API </a>
=== Audio Tools - PulseAudio, Sox, PESQ ===
=== Audio Tools - PulseAudio, Sox, PESQ ===
Confirmed users
35

edits

Navigation menu