Skip to content

Instantiating a geckos client within a web worker throws a ReferenceError #280

@johnnyrainbow

Description

@johnnyrainbow

I am trying to init geckos client connection in a web worker, but it throws ReferenceError: RTCPeerConnection is not defined. Does not happen when running on the main thread. Is this a limitation of WebRTC or a Geckos bug?

I want to run my socket connections in a web worker, as my main thread is doing a lot of heavy lifting and I don't want it to impact data stream performance

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