Skip to content

Commit 40770fe

Browse files
committed
save all byte_range audio to same file
1 parent e5ddbac commit 40770fe

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

config/configure.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
2-
"adapt" : "arbiter",
2+
"adapt" : "conventional",
33
"codec" : "h264",
44
"debug" : "on",
55
"initBuffer" : 2,
66
"maxBuffer" : 60,
7-
"maxHeight" : 3000,
8-
"streamDuration" : 4,
7+
"maxHeight" : 1080,
8+
"streamDuration" : 8,
99
"storeDash" : "on",
1010
"outputFolder" : "123456",
1111
"logFile" : "log_file_2",
12-
"getHeaders" : "off",
12+
"getHeaders" : "on",
1313
"terminalPrint" : "on",
1414
"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\"}",
1515
"expRatio": 0.2,
1616
"quic" : "off",
1717
"useTestbed" : "off",
18-
"url" : "[http://cs1dev.ucc.ie/misl/4K_non_copyright_dataset/2_sec/x264/bbb/DASH_Files/full/bbb_enc_x264_dash.mpd]",
18+
"url" : "[http://cs1dev.ucc.ie/misl/4K_non_copyright_dataset/4_sec/x264/bbb/DASH_Files/full/dash_video_audio.mpd]",
1919
"QoE" : "on"
2020
}

http/urlParsing.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,6 @@ func GetFile(currentURL string, fileBaseURL string, fileLocation string, isByteR
511511
// we only want the base file of the url (sometimes the segment media url has multiple folders)
512512
base := path.Base(fileBaseURL)
513513

514-
fmt.Println(base)
515-
516514
// we need to create a file to save for the byte-range content
517515
if isByteRangeMPD && !AudioByteRange {
518516
s := strings.Split(base, ".")

0 commit comments

Comments
 (0)