Skip to content

Commit 0e9e179

Browse files
committed
For #299, write fMP4 for DASH.
1 parent baed1cc commit 0e9e179

12 files changed

+834
-381
lines changed

trunk/conf/full.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -951,8 +951,8 @@ vhost dash.srs.com {
951951
# Default: off
952952
enabled on;
953953
# The duration of segment in seconds.
954-
# Default: 10
955-
dash_fragment 10;
954+
# Default: 3
955+
dash_fragment 3;
956956
# The period to update the MPD in seconds.
957957
# Default: 30
958958
dash_update_period 30;

trunk/src/app/srs_app_config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6013,7 +6013,7 @@ bool SrsConfig::get_dash_enabled(string vhost)
60136013

60146014
int SrsConfig::get_dash_fragment(string vhost)
60156015
{
6016-
static int DEFAULT = 10 * 1000;
6016+
static int DEFAULT = 3 * 1000;
60176017

60186018
SrsConfDirective* conf = get_dash(vhost);
60196019
if (!conf) {

0 commit comments

Comments
 (0)