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 14:43:06 +0200
Message-ID: <CAKfGGh2Bg3jVNB-7n++S19vhs1Ji1iSEEzMT9hNhn-c_WMLs6A@mail.gmail.com>
To: Iñaki Baz Castillo <ibc@aliax.net>
Cc: Harald Alvestrand <harald@alvestrand.no>, "public-webrtc@w3.org" <public-webrtc@w3.org>
>> Problem here would be if the connection gets clossed when
>> there are still some objects on that list, you wouldn't be sure if an
>> object has been send or not (send() returning a promise?)
> You need a callback for that (even for implement the promise). I don't
> think the JS API should include that. When you send a AJAX request or
> a WebSocket message you don't know when it has been seen, and I see no
> major problem with that. If you need ACK implement it as a custom
> protocol on top of DataChannel.

In that context, I intended send() == data has gone out of the machine, not ACK.

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

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