Neil Smith [MVP Digital M
Guest
|
Posted:
Mon Sep 06, 2004 1:12 pm Post subject:
Re: Live broadcasting from a network camera |
|
|
On Sun, 5 Sep 2004 17:01:03 -0700, Daniel
<Daniel@discussions.microsoft.com> wrote:
| Quote: | Is this a good solution?
I want to live broadcast a video inside through the intranet and I want to
have at least 10fps.
I don't have a network cameara yet. So I am testing it with a USB webcam.
What I do now is to broadcast the video captured by the webcam using Windows
Media Encoder.
The audience can watch the live video by inputting the URL (e.g.
http://123.123.123.123:1234) in Window Media Player by not IE. But how can I
publish / embed my video so that the audience can watch the video by visiting
a webpage?
|
You can add this code to your webpage which will do the trick :
<object id="wmvideo"
classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6"
type="application/x-oleobject" width="320" height="240">
<param name="url" value="http://123.123.123.123:1234)">
<param name="autostart" value="1">
<param name="showcontrols" value="1">
<param name="uimode" value="mini">
<param name="stretchtofit" value="1">
<param name="volume" value="80">
<param name="EnableContextMenu" value="0">
</object>
Change the url to whatever your real encoding IP and port is, and
change the width and height to match your video (or it will be scaled
to fit)
| Quote: | Is this method also applicable to a network camera?
|
Not unless the network camera provides windows media or an AVI stream,
or something in a format that windows media can play.
Cheers - Neil |
|