Depending on the format you're streaming, you can directly send your video
to the browser with setting the content-type
(response.setContentType(String) ) and then flushing the data :
ServletOutputStream stream = response.getOutputStream();

I've never done this with streaming videos, but I did it with JPEG and GIF
files stored in a DB, without generating a physical file.

Best regards.

----- Original Message -----
From: "bogdan sava" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 17, 2001 9:26 AM
Subject: Re: streaming video from a servlet to an IE browser using jmf


> U need applet on client side, to handle data stream from the servlet !
>
> Yazdi Farzad wrote:
>
> > hi, we are developing a video application using Sun's JMF and a servlet
on the server side and pure html on the client. What we're trying to do is
use a servlet to receive video from a network broadcast and present it to
the user's browser. What I want to know is whether the servlet can send out
streaming video that it's picking up from the network, in reply to a single
request coming from the user?
> >
> > Can a servlet create and send out data as it creates it and carry on
until told to stop by the client? If someone could shine some light on this
or suggest a site/sample code I'd be most grateful.
> >
> > Best regards
> >
> >
___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to