Is there a way to buffer a video before playing it?
Posted: 04 Apr 2021 12:51
Is there any way to buffer a video before it plays?
My current play logic is implemented as follows:
Currently, buffering happens only when the Play() function is called.
In order to play videos more smoothly, I would like to buffer the video already when the user has selected a video.
Is there a way to start buffering before the play() function?
My current play logic is implemented as follows:
Code: Select all
media = new Media(vlc, nextMediaItem.FileNameWithPath);
videoClipMediaPlayer.Media = media;
this.videoClipMediaPlayer.Play();
In order to play videos more smoothly, I would like to buffer the video already when the user has selected a video.
Is there a way to start buffering before the play() function?