Skip to content

getUserMedia fall callback #13

@aykutyaman

Description

@aykutyaman

I think getUserMedia fail callback must be called with error:

getUserMedia.call(navigator, options, function(stream) {

        rtc.streams.push(stream);
        rtc.initializedStreams++;
        onSuccess(stream);
        if (rtc.initializedStreams === rtc.numStreams) {
          rtc.fire('ready');
        }
      }, function(error) { //here
        alert("Could not connect stream.");
        onFail(error); // and here
      });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions