Sachin123
Sachin123

Reputation: 251

Video Streaming in WPF Application

Video Streaming in WPF Application

I am developing an WPF application.I need to load encrypted videos stored in local folder.How can I decrypt it and play using streaming mechanism? MediaElement is the control that i am using for loading video. please help me.

Upvotes: 0

Views: 1455

Answers (1)

RQDQ
RQDQ

Reputation: 15569

My first thought was to just open the file using a decryption stream, but apparently MediaElement doesn't allow you to play a stream directly.

If having the unencrypted file left the user's file system isn't a problem, you could just decrypt the file as one step, then assign the source of the MediaElement to the decrypted file.

If leaving the unencrypted version laying around isn't an option, then you will likely need to investigate another playback component (some are outlined in the answer I referenced above).

Upvotes: 1

Related Questions