Hi, I am trying to stream real time audio data (usual length will be < 30 seconds) using http chunking. Specifially, the client will do a Post request with TransferEncoding set as chunked in http 1.1. - I have a thread which reads data from the codec and puts it into a shared buffer. - Another thread will read the data from the shared buffer and writes it in the http chunk. I have successfully done above using Java HttpUrlConnection class. However, now we need to do above using https and I started looking at the HttpClient classes. I have read all the documentation etc but am not clear how in real time I can send data. Specifically, - RequestEntity should not be buffered and cannot be repeatable. Also. RequestEntity.getContentLength is not known. - HttpClient.Execute looks a synchronous call which writes data all at one. It does not help since I write data only when its available.
Has anyone done this before using HttpClient? Thanks in advance! N
