MCPcopy Create free account
hub / github.com/Wscats/chrome-devtools-cli / getMixedStream

Function getMixedStream

src/__tests__/MediaStreamRecorder.js:529–548  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

527 }
528
529 function getMixedStream() {
530 isStopDrawingFrames = false;
531 var mixedVideoStream = getMixedVideoStream();
532
533 var mixedAudioStream = getMixedAudioStream();
534 if (mixedAudioStream) {
535 mixedAudioStream.getAudioTracks().forEach(function(track) {
536 mixedVideoStream.addTrack(track);
537 });
538 }
539
540 var fullcanvas;
541 arrayOfMediaStreams.forEach(function(stream) {
542 if (stream.fullcanvas) {
543 fullcanvas = true;
544 }
545 });
546
547 return mixedVideoStream;
548 }
549
550 function getMixedVideoStream() {
551 resetVideoStreams();

Callers

nothing calls this directly

Calls 2

getMixedVideoStreamFunction · 0.85
getMixedAudioStreamFunction · 0.85

Tested by

no test coverage detected