How to stream from the Firefox Plugin?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
TheGabbai
New Cone
New Cone
Posts: 2
Joined: 12 Nov 2006 12:27

How to stream from the Firefox Plugin?

Postby TheGabbai » 12 Nov 2006 12:45

Hi,

I am successfully using the plugin to open a VLC window and view input from a webcam.

Here's the HTML:

<body bgcolor="yellow">
<h1>Demo of VLC mozilla plugin - Example 1</h1>
<embed type="application/x-vlc-plugin"
name="video1"
id="VLCPlayer"
autoplay="yes" loop="no" width="400" height="300"
src="dshow:// :dshow-vdev="" :dshow-adev="" :dshow-size="" "
/>

<br>
<a href="#" onclick='document.video1.play()'>Play video1</a>
<a href="#" onclick='document.video1.pause()'>Pause video1</a>
<a href="#" onclick='document.video1.stop()'>Stop video1</a>
<a href="#" onclick='document.video1.fullscreen()'>Fullscreen</a>
</body>
</html>

What do I add to stream the output via UDP to (let's say) 11.22.33.44:1234 ?
The plugin help seems to only include input, but not output.

Thanks.

ecastsw
New Cone
New Cone
Posts: 7
Joined: 18 Dec 2006 22:47

Postby ecastsw » 01 Jan 2007 04:21

Did you figure this out?

I dont think this is supported -- perhaps has something to do with plugin creation.

I have seen several requests for this, but no responses.

Since I need this functionality pretty badly: I am toying with the idea of running vlc as a windows service, and then using the http interface to stream and view using the plugin.

I will let you know if I succeed.
In the meantime if you have figured out an easier way, do let me know.

:(


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 17 guests