From: Andrew Wason <[EMAIL PROTECTED]>
Subject: Re: webcams in SMIL

At 04:49 PM 11/1/99 -0800, RealForum wrote:

 >I can't get a Java applet that normally does this to work in SMIL...and the
 >repeat tag will make the audio source (a live stream) reload itself as
 >well, right?


No, you can use repeat on only the <img>.  repeat="indefinite" is not
supported, but you could just use a big number.

Here is an example using a webcam that updates every 10 seconds while a
live audio stream plays in parallel.  This webcam updates every 10 seconds,
so I used dur="10s" on the <img>.  You should change that to match your webcam.

<smil>
    <head>
      <layout>
        <region id="camRegion" left="0" top="0" width="320" height="240"/>
      </layout>
    </head>
    <body>
      <par>
        <audio src="rtsp://blue.netradio.net/farm/*/encoder/hardrock.ra"/>
        <img
src="http://www.coolercam.com/scripts/webcam32/webcam32cgi.exe?coolercam.med
iaplan.com,80"
          dur="10s" repeat="30" region="camRegion"/>
      </par>
    </body>
</smil>


Andrew


--
Andrew Wason
softcom
[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]>

Reply via email to