Closed sdrc2806 closed 3 years ago
answer one's own question
mFFmpegMSS = await FFmpegInteropMSS.CreateFromUriAsync(RtspUrl, mConfig);
**mFFmpegMSS.BufferTime = TimeSpan.Zero;**
var source = mFFmpegMSS.CreateMediaPlaybackItem();
buffertime set timespan zero
The rtsp live is output, but the screen is output about 5 seconds slowly. I want to slow it down for about a second. What should I do?
If you apply this code, the screen will still output slowly for about 5 seconds.
MediaPlayerElement mp = new MediaPlayerElement(); mp.MediaPlayer.RealTimePlayback = true;