summaryrefslogtreecommitdiffstats
path: root/webapp/client
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-09-20 12:58:39 -0300
committerChristopher Speller <crspeller@gmail.com>2016-09-20 11:58:39 -0400
commitb072fdb23f61f9ebd424567025b80d370c371532 (patch)
treef20176f7696425a055db28bf513a07531fa0376b /webapp/client
parent0157e613bdadaea6b0e0b9db7e8e3000282f09f4 (diff)
downloadchat-b072fdb23f61f9ebd424567025b80d370c371532.tar.gz
chat-b072fdb23f61f9ebd424567025b80d370c371532.tar.bz2
chat-b072fdb23f61f9ebd424567025b80d370c371532.zip
PLT-4239 fixes getUserMedia (#4038)
Diffstat (limited to 'webapp/client')
-rw-r--r--webapp/client/webrtc_session.jsx2
1 files changed, 1 insertions, 1 deletions
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') {