Skip to content

Commit

Permalink
save all byte_range audio to same file
Browse files Browse the repository at this point in the history
  • Loading branch information
jq5 committed May 23, 2020
1 parent e5ddbac commit 40770fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 5 additions & 5 deletions config/configure.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"adapt" : "arbiter",
"adapt" : "conventional",
"codec" : "h264",
"debug" : "on",
"initBuffer" : 2,
"maxBuffer" : 60,
"maxHeight" : 3000,
"streamDuration" : 4,
"maxHeight" : 1080,
"streamDuration" : 8,
"storeDash" : "on",
"outputFolder" : "123456",
"logFile" : "log_file_2",
"getHeaders" : "off",
"getHeaders" : "on",
"terminalPrint" : "on",
"printHeader" : "{\"Algorithm\":\"off\",\"Seg_Dur\":\"off\",\"Codec\":\"off\",\"Width\":\"on\",\"Height\":\"on\",\"FPS\":\"off\",\"Play_Pos\":\"off\",\"RTT\":\"off\",\"Seg_Repl\":\"off\",\"Protocol\":\"on\",\"P.1203\":\"on\",\"Clae\":\"on\",\"Duanmu\":\"on\",\"Yin\":\"on\",\"Yu\":\"on\"}",
"expRatio": 0.2,
"quic" : "off",
"useTestbed" : "off",
"url" : "[http://cs1dev.ucc.ie/misl/4K_non_copyright_dataset/2_sec/x264/bbb/DASH_Files/full/bbb_enc_x264_dash.mpd]",
"url" : "[http://cs1dev.ucc.ie/misl/4K_non_copyright_dataset/4_sec/x264/bbb/DASH_Files/full/dash_video_audio.mpd]",
"QoE" : "on"
}
2 changes: 0 additions & 2 deletions http/urlParsing.go
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,6 @@ func GetFile(currentURL string, fileBaseURL string, fileLocation string, isByteR
// we only want the base file of the url (sometimes the segment media url has multiple folders)
base := path.Base(fileBaseURL)

fmt.Println(base)

// we need to create a file to save for the byte-range content
if isByteRangeMPD && !AudioByteRange {
s := strings.Split(base, ".")
Expand Down

0 comments on commit 40770fe

Please sign in to comment.