openscreenprotocol icon indicating copy to clipboard operation
openscreenprotocol copied to clipboard

[DataChannel] Define bootstrap mechanism for QUIC (or RTCDataChannel)

Open markafoltz opened this issue 8 years ago • 4 comments

Before we can pursue apples-to-apples benchmarking of transport protocols, there needs to be a definition of the bootstrapping channel used to establish an RTCDataChannel between controller and receiver, so we can include its metrics in the measurements.

@schien is this something you can help with?

markafoltz avatar Oct 19 '17 21:10 markafoltz

Sure, I plan to convert the draft protocol we used in our previous experimental implementation into a proper format for CG.

schien avatar Oct 20 '17 02:10 schien

Exchanging SDP and ICE candidates are the missing part for bootstrapping RTCDataChannel. https://wiki.mozilla.org/WebAPI/PresentationAPI:Protocol_Draft#Establish_Data_Channel is the minimal protocol we need.

Three message types to be defined:

  1. send-offer: contains the full text of SDP created by the controlling UA
  2. send-answer: contains the full text of SDP generated by the receiver UA
  3. update-ice-candidate: contains one entry of the available ICE candidate (IP address) upon discovery.

reference: https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Signaling_and_video_calling#Designing_the_signaling_protocol

schien avatar Nov 07 '17 16:11 schien

Do we need messages for J-PAKE authentication before exchanging offer/answer and ICE candidates? I suppose that a device identification step would be essential unless the underlying transport channel could provide any equivalent mechanism.

tomoyukilabs avatar Feb 14 '18 02:02 tomoyukilabs

Per F2F discussion, marked as v2.

anssiko avatar May 17 '18 13:05 anssiko

RtcDataChannel is not being actively investigated now.

markafoltz avatar Sep 07 '23 00:09 markafoltz