From e9ed76d361afe8b307d5e96294e704897bd32c99 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Mon, 7 Dec 2020 20:23:10 +0100 Subject: [PATCH] USP CMAF push: Change to track identifier to allow for resuming --- src/output/output_cmaf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output/output_cmaf.cpp b/src/output/output_cmaf.cpp index db2d9a66..8321a95c 100644 --- a/src/output/output_cmaf.cpp +++ b/src/output/output_cmaf.cpp @@ -802,7 +802,7 @@ namespace Mist{ CMAFPushTrack & track = pushTracks[idx]; track.url = pushUrl; if (targetParams.count("usp") && targetParams["usp"] == "1"){ - std::string usp_path = "Streams(" + M.getType(idx) + + "_" + JSON::Value(idx).asString() + ")"; + std::string usp_path = "Streams(" + M.getTrackIdentifier(idx) + ")"; track.url = track.url.link(usp_path); }else{ track.url.path += "/";