From b072fdb23f61f9ebd424567025b80d370c371532 Mon Sep 17 00:00:00 2001
From: enahum <nahumhbl@gmail.com>
Date: Tue, 20 Sep 2016 12:58:39 -0300
Subject: PLT-4239 fixes getUserMedia (#4038)

---
 webapp/client/webrtc_session.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'webapp/client/webrtc_session.jsx')

diff --git a/webapp/client/webrtc_session.jsx b/webapp/client/webrtc_session.jsx
index 1fccddff3..9ee7fcd5a 100644
--- a/webapp/client/webrtc_session.jsx
+++ b/webapp/client/webrtc_session.jsx
@@ -21,7 +21,7 @@ export default class WebrtcSession {
         navigator.mediaDevices.getUserMedia(media).
         then((stream) => {
             if (element) {
-                adapter.browserShim.attachMediaStream(element, stream);
+                element.srcObject = stream;
             }
 
             if (callback && typeof callback === 'function') {
-- 
cgit v1.2.3-1-g7c22

