Hi, I'm trying to add RTMP to my freeswitch server. I compiled mod_rtmp.so, mod_rtmp.la and put it under freeswitch/mod/. My freeswitch version is FreeSWITCH version: 1.0.head (git-c8c94f0 2011-08-19 11-52-40 -0500) My rtmp.conf.xml is <configuration name="rtmp.conf" description="RTMP Endpoint"> <profiles> <profile name="default"> <settings> <param name="bind-address" value="0.0.0.0:1935" /> <param name="context" value="public" /> <param name="dialplan" value="XML" /> <!-- If this is set to true, no unauthenticated inbound calls will be allowed --> <param name="auth-calls" value="true" /> <!-- How much time should the clients buffer the media stream (miliseconds) --> <param name="buffer-len" value="50" /> <!-- Sets the maximum size of outbound RTMP chunks --> <param name="chunksize" value="512" /> </settings> </profile> </profiles> </configuration> However, I didn't see freeswitch listening on 1935 port and in fs_cli when I run freeswitch > rtmp status It's showing unknown command. My question is, is there anything else needed to get RTMP working? How to know which modules are loaded? Thanks.
make mod_rtmp-install do not copy the .so or .la yourself, chances are you copied the bash script wrapper the real .so is in .libs/mod_rtmp.so Secondly did you put it in modules.conf.xml? /b On Dec 28, 2011, at 5:10 PM, RuiQiang Huang wrote:
I'm trying to add RTMP to my freeswitch server. I compiled mod_rtmp.so, mod_rtmp.la and put it under freeswitch/mod/. My freeswitch version is FreeSWITCH version: 1.0.head (git-c8c94f0 2011-08-19 11-52-40 -0500) My rtmp.conf.xml is
-- Brian West FreeSWITCH Solutions, LLC Phone: +1 (918) 420-9266 Fax: +1 (918) 420-9267 brian@freeswitch.org http://www.freeswitch.org
Thanks Brian. It's working now. On Wed, Dec 28, 2011 at 3:13 PM, Brian West <brian@freeswitch.org> wrote:
make mod_rtmp-install
do not copy the .so or .la yourself, chances are you copied the bash script wrapper the real .so is in .libs/mod_rtmp.so
Secondly did you put it in modules.conf.xml?
/b
On Dec 28, 2011, at 5:10 PM, RuiQiang Huang wrote:
I'm trying to add RTMP to my freeswitch server. I compiled mod_rtmp.so, mod_rtmp.la and put it under freeswitch/mod/. My freeswitch version is FreeSWITCH version: 1.0.head (git-c8c94f0 2011-08-19 11-52-40 -0500) My rtmp.conf.xml is
-- Brian West FreeSWITCH Solutions, LLC Phone: +1 (918) 420-9266 Fax: +1 (918) 420-9267 brian@freeswitch.org http://www.freeswitch.org
_________________________________________________________________________ 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-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
My RTMP is running now. However, I still cannot get it authenticated. I change rtmp.conf.xml to ... <param name="context" value="default" /> and I have <variable name="user_context" value="default"/> for user id 1015 in directory/default/v_1015.xml. I can authenticate SIP user 1015. But while I'm trying to login from Flex, it's showing authentication error. How to solve this? Thanks. On Wed, Dec 28, 2011 at 3:44 PM, RuiQiang Huang <hrqiang@gmail.com> wrote:
Thanks Brian.
It's working now.
On Wed, Dec 28, 2011 at 3:13 PM, Brian West <brian@freeswitch.org> wrote:
make mod_rtmp-install
do not copy the .so or .la yourself, chances are you copied the bash script wrapper the real .so is in .libs/mod_rtmp.so
Secondly did you put it in modules.conf.xml?
/b
On Dec 28, 2011, at 5:10 PM, RuiQiang Huang wrote:
I'm trying to add RTMP to my freeswitch server. I compiled mod_rtmp.so, mod_rtmp.la and put it under freeswitch/mod/. My freeswitch version is FreeSWITCH version: 1.0.head (git-c8c94f0 2011-08-19 11-52-40 -0500) My rtmp.conf.xml is
-- Brian West FreeSWITCH Solutions, LLC Phone: +1 (918) 420-9266 Fax: +1 (918) 420-9267 brian@freeswitch.org http://www.freeswitch.org
_________________________________________________________________________ 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-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
What are you passing in as the user? I found it needs to be user@ip_address. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Help-on-RTMP-tp7134331p7158479... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (3)
-
Brian West
-
peely
-
RuiQiang Huang