Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cf-dev] Streaming from COAP Resources

In general, there are two ways to achieve a streaming-like behavior (the question if CoAP is the right protocol for that is out of scope..).

 

1)      Observe
Simply send lots of notifications with CONs (“P frames”) far apart. Make sure to hook in a proper congestion control mechanism!

2)      Blockwise Trasfer
For this the current BlockwiseLayer must be circumvented and Block control must happen in the resource handler and client response handler.

 

The second case is interesting for large resources that should not be cached in the CoAP stack (as currently done by BlockwiseLayer). An idea is to mark such exchanges through a flag and then bypass the BlockwiseLayer functionality. Pull requests welcome ;)

 

Ciao

Matthias

 

From: cf-dev-bounces@xxxxxxxxxxx [mailto:cf-dev-bounces@xxxxxxxxxxx] On Behalf Of Hudalla Kai (INST/ESY1)
Sent: Mittwoch, 20. Januar 2016 13:35
To: Californium (Cf) developer discussions <cf-dev@xxxxxxxxxxx>
Subject: Re: [cf-dev] Streaming from COAP Resources

 

Hi Charitha,

 

I am not sure what you mean by „COAP Streaming Java client”. Are you referring to the continuous transfer of e.g. a video stream using CoAP as a transport protocol?

Can you please provide some more details regarding your use case and what you want to achieve?

 

Kai

 

 

From: cf-dev-bounces@xxxxxxxxxxx [mailto:cf-dev-bounces@xxxxxxxxxxx] On Behalf Of Charitha Madusanka Elvitigala
Sent: Wednesday, January 20, 2016 12:03 PM
To:
cf-dev@xxxxxxxxxxx
Subject: [cf-dev] Streaming from COAP Resources

 

Hi all,

 

I want to create COAP Streaming Java client. Is it possible?

 

Thanks,

 

Charith

RE @ SCoRe Lab


Back to the top