Skip to content

Commit

Permalink
For #299, write fMP4 for DASH.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Jun 4, 2017
1 parent baed1cc commit 0e9e179
Show file tree
Hide file tree
Showing 12 changed files with 834 additions and 381 deletions.
4 changes: 2 additions & 2 deletions trunk/conf/full.conf
Original file line number Diff line number Diff line change
Expand Up @@ -951,8 +951,8 @@ vhost dash.srs.com {
# Default: off
enabled on;
# The duration of segment in seconds.
# Default: 10
dash_fragment 10;
# Default: 3
dash_fragment 3;
# The period to update the MPD in seconds.
# Default: 30
dash_update_period 30;
Expand Down
2 changes: 1 addition & 1 deletion trunk/src/app/srs_app_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6013,7 +6013,7 @@ bool SrsConfig::get_dash_enabled(string vhost)

int SrsConfig::get_dash_fragment(string vhost)
{
static int DEFAULT = 10 * 1000;
static int DEFAULT = 3 * 1000;

SrsConfDirective* conf = get_dash(vhost);
if (!conf) {
Expand Down
Loading

0 comments on commit 0e9e179

Please sign in to comment.