Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

RTCPeerConnection broken on iOS 11.01 Safari #920

@benbro

Description

@benbro

I have angular WebRTC app that works with zone.js 0.8.12 but breaks with zone.js 0.8.18.
I tried both pc.addEventListener() and pc.onX callbacks.
Issue #883 and PR #905 are related.

I'm using adapter.js that polyfills some of the RTC objects.

Change detection is unpredictable in different browsers when using zone.js with adapter.js.
On some browsers RTCPeerConnection callback run inside the zone and on others outside the zone.
For example pc.onicecandidate=callback or pc.addEventListener('icecandidate', callback) run inside the zone on Chrome but outside in Firefox and Safari.
I've been fighting zone.js for days and it changes on each zone.js / adapter.js release.

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