From: "Sean Mollit" <[EMAIL PROTECTED]>
Subject: GetPosition() in live stream
Rather than embed events directly into a realmedia file via the rmmerge
function I use a script that polls the player every X seconds using the
GetPosition() function. I use an array that contains time-stamped
events. When the poll routine finds a match between the player time and
an event from the array it executes the event (load image, load html
file, jump to new rm file, call a function etc...)
This has the advantage of not "hardcoding" your events into the rm file,
event information can be quickly changed in a simple js script.
This works great with a prerecorded realmedia file. (here comes the
question...patience)
This would work wonderfully with a live stream except the GetPosition()
function returns the time since the user's player started playing the
live stream and not when the stream actually started.
QUESTION:
Is there a way to access a CONSTANT time that's relative to the LIVE
STREAM and NOT the PLAYER?
Can this be done via javascript, java or ActiveX?
ex:
if a broadcast started at 4:00 pm and a user loaded the page that
launched his embeded player at 4:05 pm,
the poll function would return 30,000 milliseconds (5 mins) on it's
first pass and NOT 0 milliseconds
Does a "time code" exist as part of the streaming protocol?
An answer to this would be EXTREMELY USEFUL!!!!
Sean Mollitt
VP, Product Development
Conceptis Technologies Inc.
[EMAIL PROTECTED]
*******************************************************
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]>