unosquare / ffmediaelement

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

the best way to stream multiple rtsp #566

Open jeff9571 opened 3 years ago

jeff9571 commented 3 years ago

the best way to stream multiple rtsp

i have a group of radiobuttons, each of them bind a rtsp address, and i want to check one of them to stream corresponding rtsp.But it seems slow to display(about 6 or more seconds), even sometimes the iamge was stuck.

Issue Categories

Version Information

4.4.350

Steps to Reproduce

1 bind rtsp to radiobutton 2 check the radiobutton to stream the corresponding address

Expected Results

Sample Code

i do the init like this Media_MediaInitializing
e.Configuration.PrivateOptions["buffer_size"] = "256k"; e.Configuration.PrivateOptions["rtsp_transport"] = "tcp"; e.Configuration.PrivateOptions["fflags"] = "nobuffer"; e.Configuration.PrivateOptions["flags"] = "low_delay"; e.Configuration.PrivateOptions["probesize"] = "32"; Media_MediaOpening e.Options.IsTimeSyncDisabled = true; e.Options.DecoderParams.EnableFastDecoding = true; e.Options.DecoderParams.EnableLowDelayDecoding = true; e.Options.IsAudioDisabled = true; e.Options.IsSubtitleDisabled = true;
e.Options.MinimumPlaybackBufferPercent = 0; e.Options.UseParallelDecoding = true; e.Options.UseParallelRendering = true;

C

System.Console.WriteLine("Change Me Please!");
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.