Eyevinn / wrtc-egress

Server endpoint NPM library for standardized WebRTC based streaming
MIT License
8 stars 2 forks source link

STUN/TURN server configuration #10

Open birme opened 1 year ago

birme commented 1 year ago

Implement 4.7 in https://www.ietf.org/id/draft-murillo-whep-00.html

The WHEP Endpoint MAY return STUN/TURN server configuration URLs and credentials usable by the client in the "201 Created" response to the HTTP POST request to the WHEP Endpoint URL. Each STUN/TURN server will be returned using the "Link" header field [RFC8288] with a "rel" attribute value of "ice-server" as specified in [I-D.draft-ietf-wish-whip] It might be also possible to configure the STUN/TURN server URLs with long-term credentials provided by either the broadcasting service or an external TURN provider on the WHEP Player, overriding the values provided by the WHEP Endpoint.