Roman Bialach wrote:
> I understand that the player will handle the rtsp commands (pause,play,...),
> but mozilla needs to establish the connection if the player is to be a
> plugin.  I have a player that uses rtsp, I'm using plugger to make it a
> plugin, but when an rtsp request comes in, mozilla tells me that the rtsp
> protocol is not supported.  So, my understanding is that I need to write an
> rtsp protocol handler and put it in the netwerk package.
> 
> I've gone through "Writing A Mozilla Protocol Handler" but I can't figure
> out the missing code (the finger code just won't do).  Can I change the http
> handler to do rtsp as well?  They are very similar (for the connection
> anyways


yeah, unfortunately the "Writing A Mozilla Protocol Handler" docs are 
out-dated.  you might want to look at the finger source code in mozilla 
instead.  it is a very simple protocol handler (unlike http which is 
quite complicated by http protocol specific details).

http://lxr.mozilla.org/seamonkey/source/netwerk/protocol/finger/src/

also, you might want to ask on n.p.m.plugins for more help.  it might 
not be necessary for you to implement a protocol handler.

darin




).
> 
> Thanks,
> Roman
> 
> -----Original Message-----
> From: Henrik Gemal [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 20, 2002 2:20 AM
> To: [EMAIL PROTECTED]
> Subject: Re: rtsp support
> 
> 
> Roman Bialach wrote:
> 
> 
>>Has anyone encountered code to support rtsp protocol?
>>
>>
> There's currently no code (should there be, since it's normally a
> plugin?) but there's two bugs:
> http://bugzilla.mozilla.org/show_bug.cgi?id=82776
> http://bugzilla.mozilla.org/show_bug.cgi?id=103775
> 
> 
> --
> Henrik Gemal
> Mozilla Evangelist
> 
> Get Java working in Mozilla:
> http://gemal.dk/mozilla/java.html
> 
> Description of profile files:
> http://gemal.dk/mozilla/files.html
> 
> 
> 
> 
> 



Reply via email to