Skip to content

IOS11 - Web RTC compatability #54

@ddwyer

Description

@ddwyer

Thankyou for this Great work,
we are trying to implement this code for scanning QR code in IOS browser , we are testing with the latest IOS11 beta which has support for Web RTC.

we have access to eth camera , and webRTC getUserMedia()

however i am getting a persistent error = Unhandled Promise Rejection: TypeError: Type error at line 13231

case 3:
return this._stream = i.sent, i.abrupt("return", window.URL.createObjectURL(this._stream));

also IOS webkit version which is RTC compatible = 604
so will probably need to update line 13168

if (!navigator.userAgent.match(/Version\/(\d+).(\d+)/)) return e.browser = "Unsupported webkit-based browser with GUM support but no WebRTC support.", e; e.browser = "safari", e.version = this.extractVersion(navigator.userAgent, /AppleWebKit\/([0-9]+)\./, 1), e.minVersion = 602 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions