I’ve seen
tests that verify no DTLS mangling occurs during the creation of the SDP offer, but I haven’t found any regarding mangling during the answer generation.
Also, from what I understand about how DTLS works, when the offer is created, the DTLS role is set to 'actpass', leaving the responsibility of choosing the role to the entity generating the answer.
When investigating the API, I see that the DTLS configuration can only be queried through the DtlsTransportInterface in PeerConnectionInterface, but it seems to be read-only via the Information() method.