aboutsummaryrefslogtreecommitdiffstats
path: root/http-server/icn_response.cc
diff options
context:
space:
mode:
authorMauro Sardara <msardara+fdio@cisco.com>2017-07-28 19:38:23 +0200
committerMauro Sardara <msardara+fdio@cisco.com>2017-07-31 08:13:34 +0000
commit582ac1576f63554bf5af0f28c8b12ab5f25854ef (patch)
treeefb9f0e2e0edc3c097bde2171f28182cca75d1e3 /http-server/icn_response.cc
parenta848fab5fec3e313e1bf94dffd79561677a18892 (diff)
Adding possibility to stream live video by avoiding to cache mpd. The mpd is always fresh.
Change-Id: I8573b0a25bc2cea4f6a3193b0048433e12119306 Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'http-server/icn_response.cc')
-rw-r--r--http-server/icn_response.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/http-server/icn_response.cc b/http-server/icn_response.cc
index 241eda51..9741556b 100644
--- a/http-server/icn_response.cc
+++ b/http-server/icn_response.cc
@@ -32,6 +32,7 @@ void IcnResponse::send(const SendCallback &callback) {
this->publisher_->publishContent(boost::asio::buffer_cast<const uint8_t *>(this->streambuf_.data()),
buffer_size,
+ this->response_lifetime_,
this->response_id_,
this->is_last_);