EdgeWebrtc.createPeerConnection()

DESCRIPTION

Create a new WebRTC connection instance using a preexisting Nabto Edge Connection for signaling.

Only one WebRTC connection can exist on a Nabto Edge Connection at a time.

This function does not throw any exceptions.

DECLARATION

    public static func createPeerConnection(_ connection: Connection) -> EdgePeerConnection 

PARAMETERS

conn:
[in] The Nabto Edge Connection to use for signaling

RETURNS

The created EdgePeerConnection object