Skip to content

Missing declarations for RTCPeerConnection #30

@JSMonk

Description

@JSMonk

As an exercice to learn something new I wanted to mess with WebRTC. I've been following the basic examples on their site and at some point you have to instantiate an object from the RTCPeerConnection class. Something very straight forward and available without installing any dependencies.

However in my IntelliJ the compiler screams at me stating that there is no such class so I can't instantiate it.

... see more on https://stackoverflow.com/questions/69691701/how-to-make-rtcpeerconnection-be-available-in-kotlin-js-without-declaring-the-cl

Further discussion: https://www.reddit.com/r/Kotlin/comments/qeck4p/how_to_make_rtcpeerconnection_be_available_in/

More here: https://youtrack.jetbrains.com/issue/KT-50893/

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