<p>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.</p>
<p>Finally, the generated MediaStream is added to the local Peer Connection element via the addStream() API as shown below.</p>
<p>{{Bug|932845}} deals with supporting hints mechanism for streams generated from mozCaptureStreamUnitlEnded() to enable proper working of Peer Connection API. </p>
<code>
// localAudio is an <audio> , localPC is a PeerConnection Object
# Discuss on what needs to be done for Video Quality Analysis
# Extend the framework to simulate Constrained networked conditions.
== Related Information ==