unosquare / ffmediaelement

FFME: The Advanced WPF MediaElement (based on FFmpeg)
https://unosquare.github.io/ffmediaelement/
Other
1.17k stars 240 forks source link

Need a effective low latency optimizer #537

Open dingoberry opened 3 years ago

dingoberry commented 3 years ago

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...

stale[bot] commented 3 years ago

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.

Vasilich commented 3 years ago

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

stale[bot] commented 3 years ago

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] commented 3 years ago

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

Vasilich commented 3 years ago

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

stale[bot] commented 2 years ago

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

Vasilich commented 2 years ago

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