[Live-devel] Re :: initialize with URL

vikas srivastava vikasjkmcs2005 at yahoo.co.in
Wed Mar 24 23:43:53 PDT 2010


Hi Ross,

Thanks a ton for your reply.

ys,i also thought and have done that but that was not working as a whole.Actually my requirement is to stream live source in H.264 and as you said in FAQ ,i am making a subclass of OnDemandMediaSubsession where i have to redefine virtual function CreateNewStreamSource() and have to return FramedSource * from inside this. For this i have followed openRTSP 
1) Created RTSPClient then provide URL with describeURL() method
2) Created MediaSession 
3) Iterated through MediaSession and from Video subsession (i have just one SubSession Video) returned rtpSource as mediaSubsessoin->rtpSource() (after initializing) 

But i was getting error , is this method is correct to do such type of thing inside createNewStreamSource() or i have to do StreamFramer type of thing.
Just hint will help me a lot to go in right direction.

Thanks
Vikas

**************
>         I have to define H264VideoRTPSource from URL instead of 
>groupSock , ip/port , is it possible to do this.

If the URL is a "rtsp://" URL, then just use "openRTSP".
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/



      Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100325/ae3b2ac2/attachment.html>


More information about the live-devel mailing list