maybe you would want to contribute to the existing sound file vlc module and expand it to have endpoint functionality. On Mon, Mar 12, 2012 at 11:26 AM, Seven Du <dujinfang@gmail.com> wrote:
Hi,
I'm working on a mod_rtsp endpoint the idea is to stream sip video to a rtsp client such as VLC and also a sip client could "call" a rtsp camera later. I copied some codes from mod_sofia and it is too long to understand for me so I'd like to get some inputs either highlight me how to do or point out where to read from mod_sofia.
1) VLC "calls" in as a-leg and bridge to a sip client with video(or play_fsv), I made it sort of working now, but
- How to disable the read_frame and read_video frame io_routine ? I set them to NULL and it fails on read, so I made a fake read function there, kind of ugly.
- I hard coded to H264 and I can see video on VLC, I'd like to do like sip later negotiation then when b-leg sip client offers SDP and offer to a-leg when DESCRIBE
- looks like switch_io complains when no audio codec, is it possible to do video only calls? or is it possible to set audio and video rtp to a different path ?
2) Call a rtsp camera would be easy later
3) Maybe a client can call in and record? I don't have such a client.
I would like to share the code later if others interested on this.
Thanks, Seven.
-- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn
Sent with Sparrow
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900