Confirmed users
35
edits
No edit summary |
No edit summary |
||
| Line 66: | Line 66: | ||
<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>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>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> | <code> | ||
// localAudio is an <audio> , localPC is a PeerConnection Object | // localAudio is an <audio> , localPC is a PeerConnection Object | ||
| Line 109: | Line 110: | ||
# Discuss on what needs to be done for Video Quality Analysis | # Discuss on what needs to be done for Video Quality Analysis | ||
# Extend the framework to simulate Constrained networked conditions. | # Extend the framework to simulate Constrained networked conditions. | ||
== Related Information == | |||