From: Prabhakaran Selvadurai <[EMAIL PROTECTED]>
Subject: Keyboard control
Hello,
Thanks for the message. I just have a quick questions. In any top level
client (player) we have the following sceneraio:
If (PNR_OK ==pPlayer->OpenURL(pszURL)
{
pPlayer->Begin();
while(!pPlayer->IsDone())
{
pEngine->EventOccured(pNothing);
}
pPlayer->Stop();
}
The above code will continously play the presentation until the end of the
stream. How do I make the player to listen to some keys (may be via
getchaar or similar) from the keyboard and act to that. For example if I
want to press 's' to stop or 't' to pause while playing how do I do that.
i.e. how do I break or insert anything while playing (i.e. breaking
pEngine ->EventOccured(pNothing)
Thanks for your help...
Prabha
*******************************************************
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]>