USP CMAF push: Change to track identifier to allow for resuming
This commit is contained in:
parent
c95ab07e04
commit
e9ed76d361
1 changed files with 1 additions and 1 deletions
|
@ -802,7 +802,7 @@ namespace Mist{
|
||||||
CMAFPushTrack & track = pushTracks[idx];
|
CMAFPushTrack & track = pushTracks[idx];
|
||||||
track.url = pushUrl;
|
track.url = pushUrl;
|
||||||
if (targetParams.count("usp") && targetParams["usp"] == "1"){
|
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);
|
track.url = track.url.link(usp_path);
|
||||||
}else{
|
}else{
|
||||||
track.url.path += "/";
|
track.url.path += "/";
|
||||||
|
|
Loading…
Add table
Reference in a new issue