W3C home > Mailing lists > Public > public-webrtc@w3.org > April 2012

Teasing apart the data API questions

From: Harald Alvestrand <harald@alvestrand.no>
Date: Sun, 15 Apr 2012 15:42:13 +0200
Message-ID: <4F8AD035.5060603@alvestrand.no>
To: "public-webrtc@w3.org" <public-webrtc@w3.org>
After chewing on Cullen's comments for a few days, I'm starting to think 
that we can break it up into several questions. Some of these may be 
more easily answerable than others.

I'm using the term "channel" below for what's been known as a stream, a 
flow, or a data stream track - the thing that we want to map to a pair 
of SCTP channels. Please regard it as a placeholder name - the final 
name will depend on the answers to the questions, so

A: Relationship between data "channels" and WebSockets
A1: Should the data "channel" be similar enough to WebSockets that one 
could have (library) code that uses both interchangeably (with 
appropriate options set)?

I think the consensus answer here is "yes".

A2: Should that similarity be documented by having the data "channel" 
API implement the WebSockets API interface?

I don't have a consensus answer here yet.

B: Relationship between data "channels" and media stream tracks
B1: Should the data "channel" be similar to a MediaStreamTrack, 
including the ability to be part of one or more MediaStreams,, be 
connected to consumer entities, be muted, and so on?

The most common comment I've heard on this is "show me the use case 
where it makes sense". I'm not detecting consensus.

B2: If yes, should that similarity be documented by having hte dta 
"channel" API inherit from the MediaStreamTrack interface?

This only makes sense if question B1 is answered with "yes", of course.

Received on Sunday, 15 April 2012 13:42:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:17:27 UTC