In my application I'm getting the video file as a byte[] from the database and my requirement is like to play that video file using WPF media Element.
One solution is like to convert the byte[] to memory stream and play the video, but I think it is not the correct way to do this coz it is not recommended to load the whole video into the memory stream. So what is the best and elegant way to achieve this?