Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.
This repository was archived by the owner on May 11, 2025. It is now read-only.

Edge remote dtls parameters seems to have a hardcoded role of client. #173

@k-raynov

Description

@k-raynov

Hello,

We are using rtcpeerconnection-shim for RTCPeerConnections with Edge. Here's what we have as an offer/answer scenario:

1) Edge sending a SDP offer with `a=setup:actpass`
2) Edge getting a SDP answer with `a=setup:passive`
3) This results in both peers staying passive so no DTLS handshake is initiated.

It all boils down to this line and it seems that remote dtls parameters role is hardcoded to client while it should be read from the sdp a=setup:... lines ?
https://github.com/otalk/rtcpeerconnection-shim/blob/master/rtcpeerconnection.js#L870

Please advice if this is an issue or an intended behaviour ?

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