Skip to content

Commit

Permalink
Fix the stream latency sample settings (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
zgabi authored and mariodivece committed Nov 16, 2019
1 parent 5c408ac commit 8ca9891
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Unosquare.FFME.Windows.Sample/MainWindow.MediaEvents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ private void OnMediaInitializing(object sender, MediaInitializingEventArgs e)
}

// In realtime streams these settings can be used to reduce latency (see example from issue #152)
// e.Options.GlobalOptions.FlagNoBuffer = true;
// e.Options.GlobalOptions.ProbeSize = 8192;
// e.Options.GlobalOptions.MaxAnalyzeDuration = System.TimeSpan.FromSeconds(1);
// e.Configuration.GlobalOptions.FlagNoBuffer = true;
// e.Configuration.GlobalOptions.ProbeSize = 8192;
// e.Configuration.GlobalOptions.MaxAnalyzeDuration = TimeSpan.FromSeconds(1);
}

/// <summary>
Expand Down Expand Up @@ -507,4 +507,4 @@ private VideoSeekIndex LoadOrCreateVideoSeekIndex(string mediaFilePath, int stre

#endregion
}
}
}

0 comments on commit 8ca9891

Please sign in to comment.