1,295
edits
Line 67: | Line 67: | ||
// When something else causes this stream to be blocked, | // When something else causes this stream to be blocked, | ||
// we block the output of the media element. | // we block the output of the media element. | ||
Stream | Stream createStream(); | ||
// Like getStream(), but also sets the | // Like getStream(), but also sets the captureAudio attribute. | ||
Stream captureStream(); | Stream captureStream(); | ||
// When set, do not produce direct audio output. Audio output | // When set, do not produce direct audio output. Audio output | ||
// is still | // is still sent to the streams created by createStream() or captureStream() | ||
attribute boolean | // is called. | ||
// This attribute is NOT reflected into the DOM. It's initially false. | |||
attribute boolean captureAudio; | |||
// Can be set to a Stream. Blocked streams play silence and show the last video frame. | // Can be set to a Stream. Blocked streams play silence and show the last video frame. |
edits