W3C home > Mailing lists > Public > public-webrtc@w3.org > May 2014

Re: Sending very large chunks over the data channel

From: <piranna@gmail.com>
Date: Wed, 28 May 2014 11:36:28 +0200
Message-ID: <CAKfGGh311-Xqe5NUHpM7S94BZTWdP+fpCq6hPcW3Q1cgfKrsuQ@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: public-webrtc <public-webrtc@w3.org>
> If you have a suggestion to bridge the gap, please bring it forward.

What about a flag to allow to choose what mode to use, message-based
or streams-based? Something like the binaryType flag... I know that
the binaryType detect automatically when you are sending binary data
or text data and the strems-message should be done manually (maybe
not?), but would allow both to co-exist. Then, it's only up to modify
the WebSocket protocol to allow to send stream data, maybe it's just
enough by adding a new frame packet to the spec and send inside them
the stream data chunked at a frame level...

If you are interested, http://binaryjs.com allow to send stream data
over websockets, would be useful to take ideas...


-- 
"Si quieres viajar alrededor del mundo y ser invitado a hablar en un
monton de sitios diferentes, simplemente escribe un sistema operativo
Unix."
– Linus Tordvals, creador del sistema operativo Linux
Received on Wednesday, 28 May 2014 09:37:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:40 UTC