muaz-khan / MultiStreamsMixer

MultiStreamsMixer is a JavaScript library that allows you pass multiple streams (e.g. screen+camera or multiple-cameras) and get single stream.
https://www.webrtc-experiment.com/MultiStreamsMixer/
MIT License
436 stars 109 forks source link

appendStream is not really appending streams #1

Closed mateenQureshi closed 6 years ago

mateenQureshi commented 7 years ago

I have one local video and one remote video, both are captured on different times. When local video is captured, i initialize the mixer with local video stream, when remote stream arrives, i am appending the remote stream in initialized mixer. But when i preview the stream with mixer.getMixedStream() , it returns only first stream which was added while initialization

Looking forward for solution

pspburner commented 5 years ago

Suppose arrayOfMediaStreams is not really updated after concat() in method appendStreams.

this.appendStreams = function(streams) = {
  ...
  arrayOfMediaStreams.concat(streams);
  ...
}
omarfr commented 3 years ago

Hello @mateenQureshi is this resolved ? @muaz-khan how can fix it ? i want to append other audio stream during record.

dinceremre commented 3 years ago

any progress with this?