call getUserMedia wait long time

238 views
Skip to first unread message

tony sun

unread,
Nov 20, 2018, 3:59:30 AM11/20/18
to discuss-webrtc
Chrome Version: 70

Description:

when call getUserMedia in chrome 70, wait long time to get user media stream, the whole process  is about spending 2 minutes.  it is not often happen。

code:
    navigator.mediaDevices
     .getUserMedia(this.constraints)
     .then(function(stream) {
       self.getUserMediaSuccess(stream);
     })
     .catch(error => {
       self.onGetUserMediaError(error);
     });

what‘s reason?  is it chrome bug?

thanks
Reply all
Reply to author
Forward
0 new messages