From: "Craig A. Schultz" <[EMAIL PROTECTED]>
Subject: Re: Saving a presentation.
Hello again All,
To save any one interested in replying their time, I discovered that
tricking the player into saving the file no matter what is not worth the
trouble. The player, when it does save the data only seems to handle
RealMedia Format and ignores any extra data added to stream headers or
packets. Although it is sort of interesting to play encrypted audio data,
it is of little value.
I did, however come up with a way to do what I want to do, save data
from multiply instantiated Rendering plugins using a smoother method.
Basically what I do is "compress" multi-stream files to a single stream in
my proxying FileFormat plug-in and then report to the Core that there is
only one stream. To "compress" the number of streams, I just save up stream
headers and add properties to the first one to store subsequent stream
header information. When my Proxying FileFormat plugin receives packets, it
changes the Stream number to 0 and then saves the original stream number by
OR-ing it with the ASM switch flag., sort of, for stream #1 I OR 4, with #2
I OR 8, with #3 I OR 16, etc. I don't know if there are presentations with
more than two streams possible but I'm not taking any chances.
In the Proxying Rendering plug-in I receive the stream headers and
iterate through all it's properties and construct new stream headers to be
used by the plugins that will be loaded by the sub-multiply instantiated
proxying plugins. This way the top level proxying plugin has access and
knows about all sub proxying plugins and then I just implement the
interfaces originally implemented by the Client/Core to support saving to
disk but in my case, I use my own format.
Anyone interested in more information, let me know.
Craig
Samurai Coder.
----- Original Message -----
From: "RealForum" <[EMAIL PROTECTED]>
To: <undisclosed-recipients:;>
Sent: Tuesday, February 01, 2000 2:55 AM
Subject: Saving a presentation.
> From: "Craig A. Schultz" <[EMAIL PROTECTED]>
> Subject: Saving a presentation.
>
> Hi all,
> I'm trying to save the presentation in my rendering plug-in. From =
> what I can tell, there are two requirements for this to happen; 1. The =
> client has to be told that the presentation can be saved to disk and 2. =
> The rendering plug-in has to support it. Implementing =
> IRMAPacketHookHelper is trivial but how do I tell the client that the =
> presentation can be saved in the first place. The only mention I see of =
> it is in the documentation regarding RMFF, or Real Media File Format. =
> In the specifications for RMFF, a flag parameter is available in the =
> Properties header that signals PN_SAVE_ENABLED, PN_PERFECT_PLAY_ENABLED =
> and PN_LIVE_BROADCAST.
> My application is a streaming container system that uses access =
> control through encryption and proprietary authentication. At present, =
> it will containerize all content I have tried so far, except =
> Sure-Stream, for obvious reasons and encrypt on the fly as it is =
> streamed out or encrypt it to disk in my FileFormat plug-in. This works =
> OK on the server, or containerizer side but doesn't work if I try to do =
> it in the Renderer on the client side. Reason being that there is only =
> one of my FileFormat plug-ins loaded for an entire presentation but =
> possible multiple Renderers loaded on the client side with no good =
> method for collecting the data from individual instances.
> Is there a way of my FileFormat plug-in turning recording on and off
=
> so that I can have the client side and it's IRMAPacketHook do all the =
> work?
>
> Craig A. Schultz
> Samurai Coder
*******************************************************
The RealForum is an email discussion group focused on using RealNetworks
products. The RealForum is a place to post messages about the best methods
for creating content using RealNetworks technologies and the planning and
implementation of streaming-media web sites. Archives of RealForum can
be found at http://realforum.real.com
If you ever want to remove yourself from this mailing list,
you can send mail to <[EMAIL PROTECTED]> with the following
command in the body of your email message:
unsubscribe realforum
or from another account, besides the address you subscribed with:
unsubscribe realforum <[EMAIL PROTECTED]>