Possibility to enable RTMPT at compile time

37 views
Skip to first unread message

solomax

unread,
Jul 4, 2013, 12:27:01 AM7/4/13
to red5in...@googlegroups.com
Hello Paul,

It would be very helpful to be able to enable RTMPT at compile time.
Currently we have copy of jee-container.xml with the only change: RTMPT section uncommented

Thanks in advance!

Mondain

unread,
Jul 4, 2013, 12:38:47 AM7/4/13
to red5in...@googlegroups.com
The RTMPT that is in the jee-container.xml is for a standalone internal service. This is not the way I recommend RTMPT usage; I suggest using the RTMPT servlet in your application instance instead. It saves resources, a port mapping, and probably other things as well. Look at the web.xml attached to see how to enable the RTMPT servlet.

Regards,
Paul


--
 
---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
http://gregoire.org/
http://code.google.com/p/red5/
web.xml

solomax

unread,
Jul 4, 2013, 12:54:41 AM7/4/13
to red5in...@googlegroups.com
Thanks a lot!

Unfortunately it seems to not working (or I'm doing something wrong :( )

flash reporting: error NetConnection.Connect.Failed rtmpt://localhost:8088/openmeetings/hibernate with RTMPT block commented in jee-container.xml

./webapps/root/WEB-INF/web.xml contains definition of "RTMPT servlet" (the only difference it have loadOnStartup = 2)

Will appreciate any help

Mondain

unread,
Jul 4, 2013, 1:25:21 AM7/4/13
to red5in...@googlegroups.com
You have to change the port to the default which is 5080, unless you updated your red5.properties file with another port. The 8088 port is the default for standalone RTMPT only, which is also configurable in the red5.properties file.

solomax

unread,
Jul 4, 2013, 1:45:02 AM7/4/13
to red5in...@googlegroups.com
It works flawlessly!
Thanks a lot!
Reply all
Reply to author
Forward
0 new messages