sarandogou / webrtc-everywhere

WebRTC plugin for Internet Explorer and Safari
BSD 3-Clause "New" or "Revised" License
326 stars 104 forks source link

Methods getVideoTracks and getAudioTracks does not work for remote stream #14

Open vitalevidence opened 9 years ago

vitalevidence commented 9 years ago

I have found fix that works for me, but I'm not sure that it does not break something else: --- ie/MediaStreamEvent.cc
+++ ie/MediaStreamEvent.cc
@@ -49,6 +49,7 @@ HRESULT _hr = Utils::CreateInstanceWithRef(&_stream); CHECK_HR_RETURN(_hr); _stream->SetStream(m_Event->stream); +_stream->SetDispatcher(const_cast<_AsyncEventDispatcher*>(GetDispatcher())); _hr = CComVariant(_stream).Detach(pVal); SafeRelease(&_stream); return _hr;

RonMen commented 8 years ago

Yes, I can confirm this. I tried webrtc-everwhere localy and run into the same issue. Is the fix working and not breaking something else for now?

Regards RonMen

jammerhund commented 8 years ago

Hi, same problem here. Are there any plans to fix this?

Thanks