html5 - html stream chunking file unknown size -


hi stream data webserver. here catch. data not exist on server retrieve live content server. not have size of file. how stream data.?

i read pcm in chunks (of different sizes) convert ogg. send ogg header , ogg content down html5 audio tag or @ least want do.

recap : server "a",

there server "b" servers pcm data.

client request comes audio tag html5 server data in server b( data not have size,constant streaming).

a recieves pcm b converts ogg. sends along http response object binary data.

any ideas.

http/1.1 supports chunked encoding use case.


Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -