encrypted stream

Feb 19, 2010 at 12:06 AM

HI,

Is possible to  make  a filter to play an  encrypted h264 stream  ?

media player does not support h264 but  silverlight 3 is able to play h264 on windows and mac.

i have  compiled salsa win  dll and os x  dylib  following this guide.

http://www.seanet.com/~bugbee/crypto/salsa20/

 Attilio.

 

Feb 25, 2010 at 9:42 PM

There are no problems to play encrypted stream. You have to implement your custom MediaStreamSource and implement the GetSampleSync. The main difficult is to read the stream and decrypt using your alghorytm, because to the ReportGetSampleCompleted method you have to pass the decrypter mp4 stream.

Try to see my code if you want an example. Hope it can help you