diff options
author | jacko <jsamain+fdio@cisco.com> | 2017-06-08 19:54:24 +0200 |
---|---|---|
committer | jacko <jsamain+fdio@cisco.com> | 2017-06-08 19:59:02 +0200 |
commit | f8907f0a7a84928800adbbfd8e66e500794aa5d5 (patch) | |
tree | ad1565a5d9aabb3c699a80404f60aa68ea56d914 /Input/ICNConnectionConsumerApi.cpp | |
parent | e3bff273518853e34c86719ce86fa72f1b5ba3b1 (diff) |
Adding handling for different kind of MPDs (previously the front end could only handle MPD with SegmentList)
Now can handle:
MPD with SegmentTemplate in Representation (VOD)
MPD with SegmentTemplate and SegmentTimeline (live)
Change-Id: Ie32e0e1823c94b1412990192595b16d3e2df1cfd
Plus: removed some printf
Signed-off-by: jacko <jsamain+fdio@cisco.com>
Diffstat (limited to 'Input/ICNConnectionConsumerApi.cpp')
-rw-r--r-- | Input/ICNConnectionConsumerApi.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Input/ICNConnectionConsumerApi.cpp b/Input/ICNConnectionConsumerApi.cpp index 62e9ecdf..8f28e5ce 100644 --- a/Input/ICNConnectionConsumerApi.cpp +++ b/Input/ICNConnectionConsumerApi.cpp @@ -112,7 +112,6 @@ void ICNConnectionConsumerApi::InitForMPD(const std::string& url) { m_first = 1; sizeDownloaded = 0; - printf("initmpd %s\n", url.c_str()); m_name = url; m_isFinished = false; @@ -120,7 +119,6 @@ void ICNConnectionConsumerApi::InitForMPD(const std::string& url) dataPos = 0; datSize = 0; - printf("initiated for mpd\n"); Debug("ICN_Connection:\tINTIATED_for_mpd %s\n", m_name.c_str()); } @@ -147,7 +145,6 @@ int ICNConnectionConsumerApi::Read(uint8_t *data, size_t len) return len; } else { - printf("minore uguale\n"); memcpy(data, (char*)response.data() + this->dataPos, response.size() - this->dataPos); int length = response.size() - this->dataPos; if (length == 0) |