ffmediaelement icon indicating copy to clipboard operation
ffmediaelement copied to clipboard

Need a effective low latency optimizer

Open dingoberry opened this issue 3 years ago • 7 comments

Hello, Sorry to say that, I have used this project, and config the flowing parameters for my rtmp play:

OnMediaInitializing => e.Configuration.GlobalOptions.FlagNoBuffer = true; e.Configuration.GlobalOptions.ProbeSize = 8192; e.Configuration.GlobalOptions.MaxAnalyzeDuration = TimeSpan.Zero;

OnMediaOpening=> e.Options.IsTimeSyncDisabled = true;

e.Options.MinimumPlaybackBufferPercent = 0.01; e.Options.AudioBlockCache = 1; e.Options.VideoBlockCache = 1;

e.Options.DecoderParams.EnableFastDecoding = true; e.Options.DecoderParams.EnableLowDelayDecoding = true;

media.RendererOptions.AudioDisableSync = true;

THEN, it is really works, the delay latency reduce within 1s(because i establish wlan rtmp server), but sometime it will unstabitily increase to 2-3s delay, may be more.

I analyze the BufferingProgress and DownloadProgress is increasing which cause the delay.

I find a way to refresh is "ChangeMedia", but the video will stuck a little while if use the way. Not feeling good.

The I read the ur framework inner code, then modify and bridge the ClearQueuedPackets code to upper level use, but still not work well.

Any ideals, need ur help, sir...

dingoberry avatar Dec 01 '20 09:12 dingoberry

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 24 '21 21:02 stale[bot]

unstale this in hope that this project isn't abandoned yet..

Vasilich avatar Feb 25 '21 13:02 Vasilich

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 02 '21 17:06 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

stale[bot] avatar Aug 21 '21 04:08 stale[bot]

noone is working on it, but this is not the reason to delete it

Vasilich avatar Aug 22 '21 12:08 Vasilich

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

stale[bot] avatar Apr 16 '22 19:04 stale[bot]

i lost the hope for this to be fixed, as seemingly this project is abandoned :(

Vasilich avatar Apr 16 '22 20:04 Vasilich