Implemented a feature to get partial data from a read stream.
Personally, I wrote this code to stream H.264 videos with Express web framework. To support H.264 video streaming in Google Chrome, I should have implemented HTTP 206 Partial Content response. This code fits nicely with that.
I changed inner mongodb module from 1.1.11 to 1.4.0. In previous version, data event is not called when using seek() function.
I solved the conflict with the latest commit of master branch - 3c73d2846ddd1d59c309903ecf97e417dfcd0786. You can merge this immediately to your master.
Implemented a feature to get partial data from a read stream.
Personally, I wrote this code to stream H.264 videos with Express web framework. To support H.264 video streaming in Google Chrome, I should have implemented HTTP
206 Partial Content
response. This code fits nicely with that.I changed inner
mongodb
module from1.1.11
to1.4.0
. In previous version,data
event is not called when usingseek()
function.