MediaStreamAPI: Difference between revisions

Line 68: Line 68:
   // we block the output of the media element.
   // we block the output of the media element.
   Stream getStream();
   Stream getStream();
  // Like getStream(), but also sets the streamaudio attribute.
  Stream captureStream();
   
   
   // When set, do not produce direct audio output. Audio output
   // When set, do not produce direct audio output. Audio output
   // is still produced when getStream() is called.
   // is still produced when getStream() or captureStream() is called.
   attribute boolean streamaudio;
   attribute boolean streamaudio;
   
   
1,295

edits