The way I've been going so far is to use the sample code for the
packetizer and reassembler and add my scrambling code: the packetizer
scrambles the video stream as it packetizes during the hinting process and
the reassembler does the opposite during the playing process. This is OK
except for a few problems:
+ the original video stream is not scrambled in the quicktime movie file,
the scrambled version is in fact stored in the hint track, so the movie can
be seen directly on the server using a regular client. I have to write my
own app to hint the movie and somehow erase or nullify the original video
track.
I've been thinking about another solution however, and this is where the
gurus come in: if I could replace the regular Packet Builder with my own
scrambling packet builder, my solution would be totally independant of the
media (huge plus) and I'm pretty sure I could do this by capturing the
Packet Builder component. But this leaves the problem of the unscrambler on
the client side. Is there an equivalent to the Packet Builder on the client?
That is, a generic component that handles the packets at some point before
they are passed on to the reassembler, a component that has methods that can
easily be rewritten to include the unscrambling treatment?
Or, is there another simpler solution???