[Red5] can red5 run in port 80?
Alessandra
alessandra.bilardi at gmail.com
Fri Sep 24 02:01:44 PDT 2010
RED5_ROOT/webapps/oflaDemo/streams/asdasd.flv does not exist.
I try this URL in FF http://IP.de.di.ca.ted:1935/oflaDemo/asdasd.flv
and I get asdasd.flv with 0 bytes.
Summary, I install red5 and:
1) I modify http.conf:
* Listen 80 -> Listen IP.ser.ver:80
2) I modify RED5_ROOT/conf/red5.properties:
* 0.0.0.0 -> IP.de.di.ca.ted
* http.port = 5080 -> 80
3) with http://IP.de.di.ca.ted/demos/port_tester.html, all ports have
SUCCESS status except:
* RTMP 80
* RTMP 443
* RTMPT 443
* RTMPT 1935
4) it run only rtmp://IP.de.di.ca.ted/oflaDemo/avatar.flv by:
* http://IP.de.di.ca.ted/demos/ofla_demo.html
* http://IP.de.di.ca.ted/demos/publisher.html
5) with http://IP.de.di.ca.ted/demos/echo_test.html, test is ok
without username and password:
* rtmp://IP.de.di.ca.ted/echo/oflaDemo (RTMP AMF[03])
* http://IP.de.di.ca.ted/echo/gateway (HTTP AMF[03])
6) with http://IP.de.di.ca.ted/demos/echo_test.html, test is failed
without username and password:
* http://IP.de.di.ca.ted:1935/echo/gateway (HTTP AMF[03])
* http://IP.de.di.ca.ted/echo/oflaDemo (HTTP AMF[03])
* http://IP.de.di.ca.ted:1935/echo/oflaDemo (HTTP AMF[03])
I would like to use rtmp://IP.de.di.ca.ted/oflaDemo/avatar.flv and/or
http://IP.de.di.ca.ted/oflaDemo/avatar.flv with player.swf in html
page about other servers/domains.
Summary about my goal:
* I know how I could use http://IP.de.di.ca.ted/oflaDemo/avatar.flv
with player.swf but it does not run
http://IP.de.di.ca.ted/oflaDemo/avatar.flv
* rtmp://IP.de.di.ca.ted/oflaDemo/avatar.flv runs but I don't know how
could use with player.swf
Alessandra.
On Thu, Sep 23, 2010 at 8:48 PM, Atulesh MORE <atuleshrao at gmail.com> wrote:
> one more thing
>
> Try this URL in FF http://localhost:1935/oflaDemo/imhero.flv .
> Of course you will get imhero.flv with 0 bytes . And yes you can put
> any name instead of avatar.flv.
>
> On Fri, Sep 24, 2010 at 12:15 AM, Atulesh MORE <atuleshrao at gmail.com> wrote:
>> When I try this URL http://localhost:1935/oflaDemo/avatar.flv
>> (1) in FF I get ZERO BYTE file.
>> (2) in IE I get Page not found
>> (3) in Chrome I get The web page at
>> http://localhost:1935/oflaDemo/avatar.flv might be temporarily down or
>> it may have moved permanently to a new web address.
>>
>> You understood ?
>>
>>
>> On Thu, Sep 23, 2010 at 10:43 PM, Dominick Accattato
>> <daccattato at gmail.com> wrote:
>>> I know you said you changed the port from 5080, but what happen when you do
>>> this:
>>>
>>> http://IP.de.di.ca.ted:5080/oflaDemo/avatar.flv
>>>
>>> Also, if you're on a local network, you need to use your LAN IP Adress
>>>
>>> On Thu, Sep 23, 2010 at 12:56 PM, Alessandra <alessandra.bilardi at gmail.com>
>>> wrote:
>>>>
>>>> file RED5_ROOT/webapps/oflaDemo/streams/avatar.flv exists
>>>> into http://IP.de.di.ca.ted/demos/ofla_demo.html I run avatar.flv and
>>>> I see avatar trailer.
>>>> into browser (firefox), if I digit url
>>>> http://IP.de.di.ca.ted:1935/oflaDemo/avatar.flv, I download avatar.flv
>>>> with size: 0
>>>> into browser, if I digit url
>>>> http://IP.de.di.ca.ted/oflaDemo/avatar.flv, I see HTTP Status 404
>>>> (Apache Tomcat/6.0.26 page)
>>>>
>>>> My goal is to use same html code like:
>>>>
>>>> <object>
>>>> <param name='allowFullScreen' value='true'>
>>>> <param name='movie'
>>>> value='player.swf?movie=http://IP.de.di.ca.ted/oflaDemo/avatar.flv'>
>>>> <embed src='player.swf?movie=http://IP.de.di.ca.ted/oflaDemo/avatar.flv'
>>>> allowFullScreen='true' type='application/x-shockwave-flash'
>>>> movie="player.swf?movie=http://IP.de.di.ca.ted/oflaDemo/avatar.flv">
>>>> </object>
>>>>
>>>> or
>>>>
>>>> <embed type="application/x-shockwave-flash" src="player.swf"
>>>> allowfullscreen="true" allowscriptaccess="always" wmode="opaque"
>>>> flashvars="http://IP.de.di.ca.ted/oflaDemo/avatar.flv" />
>>>>
>>>> now, this code does not run with:
>>>> * rtmp://IP.de.di.ca.ted/oflaDemo/avatar.flv
>>>> * http://IP.de.di.ca.ted:1935/oflaDemo/avatar.flv
>>>> * http://IP.de.di.ca.ted/oflaDemo/avatar.flv
>>>>
>>>> this code run with other server stream (seeweb).
>>>> Is it possible to use same code with red5?
>>>>
>>>>
>>>> On Thu, Sep 23, 2010 at 6:01 PM, Dominick Accattato
>>>> <daccattato at gmail.com> wrote:
>>>> > do you have avatar inside the oflaDemo directory?
>>>> >
>>>> > On Thu, Sep 23, 2010 at 11:47 AM, Alessandra
>>>> > <alessandra.bilardi at gmail.com>
>>>> > wrote:
>>>> >>
>>>> >> I install red5 in a server with two IP: IP.ser.ver and IP.de.di.ca.ted
>>>> >> for
>>>> >> red5
>>>> >> Apache, Listen:IP.ser.ver:80
>>>> >> Red5, http.host=IP.de.di.ca.ted and http.port:80
>>>> >> and (now I check control) there is not a firewall.
>>>> >>
>>>> >> I see red5 index page on port 80: http://IP.de.di.ca.ted/
>>>> >> it run http://IP.de.di.ca.ted/demos/echo_test.html and
>>>> >> http://IP.de.di.ca.ted/echo/gateway
>>>> >> it run http://IP.de.di.ca.ted:1935/oflaDemo/avatar.flv but it is HTTP
>>>> >> Status 404 (Apache Tomcat/6.0.26 page) with
>>>> >> http://IP.de.di.ca.ted/oflaDemo/avatar.flv
>>>> >>
>>>> >> there is not apache error log about
>>>> >> http://IP.de.di.ca.ted/oflaDemo/avatar.flv
>>>> >>
>>>> >> On Thu, Sep 23, 2010 at 5:04 PM, Atulesh MORE <atuleshrao at gmail.com>
>>>> >> wrote:
>>>> >> > Because of IIS or Apache is running on server so they will hold it
>>>> >> > until they live :) . Remember it is port 80 that firewall love .
>>>> >> > However
>>>> >> > if you do not have firewall on than you should be able to see index
>>>> >> > page on port 5080 . Or please have a look on log file for error
>>>> >> > message :)
>>>> >> >
>>>> >> > On Thu, Sep 23, 2010 at 8:25 PM, Alessandra
>>>> >> > <alessandra.bilardi at gmail.com> wrote:
>>>> >> >> I'm sorry, probably I have not explained everything.
>>>> >> >>
>>>> >> >> into RED5_ROOT/conf/red5.properties, I change http.port value: 5080
>>>> >> >> with 80 and I restart the server (your suggestion).
>>>> >> >> in http://IP.de.di.ca.ted/demos/port_tester.html, now, all ports
>>>> >> >> have
>>>> >> >> SUCCESS status except RTMP 80 (FAILED status) and RTMPT 1935 (FAILED
>>>> >> >> status).
>>>> >> >> when I use http://IP.de.di.ca.ted:1935/oflaDemo/avatar.flv, I
>>>> >> >> download
>>>> >> >> this file: RED5_ROOT/webapps/oflaDemo/streams/avatar.flv
>>>> >> >>
>>>> >> >> I would like know configuration to download
>>>> >> >> RED5_ROOT/webapps/oflaDemo/streams/avatar.flv from this url:
>>>> >> >> http://IP.de.di.ca.ted/oflaDemo/avatar.flv
>>>> >> >>
>>>> >> >> If it was firewall problem, then I don't see default red 5 index
>>>> >> >> page
>>>> >> >> into http://IP.de.di.ca.ted/ or see
>>>> >> >> http://IP.de.di.ca.ted/demos/port_tester.html, it doesn't?
>>>> >> >>
>>>> >> >> Alessandra
>>>> >> >>
>>>> >> >> On Thu, Sep 23, 2010 at 3:37 PM, Atulesh MORE <atuleshrao at gmail.com>
>>>> >> >>>
>>>> >> >>> Do you have Firewall on ??? If Apache or IIS is running than red5
>>>> >> >>> would be blocked by them (to access port 80) .... Otherwise it
>>>> >> >>> should
>>>> >> >>> be run with no problem. Please open red5 's port testing sample
>>>> >> >>> first.
>>>> >> >>>
>>>> >> >> On Thu, Sep 23, 2010 at 3:31 PM, Dominick Accattato
>>>> >> >> <daccattato at gmail.com> wrote:
>>>> >> >>>> Hello,
>>>> >> >>>>
>>>> >> >>>> I have a slight confusion as to what you need. For instance, if
>>>> >> >>>> you
>>>> >> >>>> place
>>>> >> >>>> your FLV files inside of a web accessible directory, you could
>>>> >> >>>> access
>>>> >> >>>> them
>>>> >> >>>> using progressive delivery. As an example, placing the FLV inside:
>>>> >> >>>>
>>>> >> >>>> RED5_ROOT/webapps/oflaDemo/avatar.flv
>>>> >> >>>>
>>>> >> >>>> you could then stream that progressively via:
>>>> >> >>>>
>>>> >> >>>> var conn:NetConnection = new NetConnection(null);
>>>> >> >>>> var ns:NetStream = new NetStream(conn);
>>>> >> >>>> ns.play("http://IP.de.di.ca.ted/oflaDemo/avatar.flv");
>>>> >> >>>>
>>>> >> >>>> However, if you are looking to stream that via RTMP, then you
>>>> >> >>>> would
>>>> >> >>>> place it
>>>> >> >>>> in the following directory (assuming your not using custom
>>>> >> >>>> directories)
>>>> >> >>>>
>>>> >> >>>> RED5_ROOT/webapps/oflaDemo/streams/avatar.flv
>>>> >> >>>>
>>>> >> >>>> In regards to running RTMP over port 80, you can change
>>>> >> >>>> red5.properties and
>>>> >> >>>> restart the server.
>>>> >> >>>> RED5_ROOT/conf/red5.properties
>>>> >> >>>>
>>>> >> >>>> If you're new to Red5, please check out my youtube developer
>>>> >> >>>> series
>>>> >> >>>> and
>>>> >> >>>> please subscribe. Thanks
>>>> >> >>>> http://www.youtube.com/dominickaccattato
>>>> >> >>>>
>>>> >> >>>> Dominick Accattato
>>>> >> >>>>
>>>> >> >>> On Thu, Sep 23, 2010 at 8:55 AM, Alessandra
>>>> >> >>> <alessandra.bilardi at gmail.com>
>>>> >> >>> wrote:
>>>> >> >>>>
>>>> >> >>>> Hi all,
>>>> >> >>>>
>>>> >> >>>> I'm newbie and I installed red5 today on Centos 5.
>>>> >> >>>> I used these steps:
>>>> >> >>>> * yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel
>>>> >> >>>> * cd /usr/src
>>>> >> >>>> * wget
>>>> >> >>>>
>>>> >> >>>>
>>>> >> >>>> http://mirrors.kahuki.com/apache/ant/binaries/apache-ant-1.8.1-bin.tar.bz2
>>>> >> >>>> * tar jxvf apache-ant-1.8.1-bin.tar.bz2
>>>> >> >>>> * mv apache-ant-1.8.1 /usr/local/ant
>>>> >> >>>> * export ANT_HOME=/usr/local/ant
>>>> >> >>>> * export JAVA_HOME=/usr/lib/jvm/java
>>>> >> >>>> * export PATH=$PATH:/usr/local/ant/bin
>>>> >> >>>> * export CLASSPATH=.:$JAVA_HOME/lib/classes.zip
>>>> >> >>>> * svn checkout http://red5.googlecode.com/svn/java/server/trunk/
>>>> >> >>>> red5
>>>> >> >>>> * mv red5 /usr/local/
>>>> >> >>>> * cd /usr/local/red5
>>>> >> >>>> * ant prepare
>>>> >> >>>> * ant dist
>>>> >> >>>> * cp -r dist/conf .
>>>> >> >>>> * ./red5.sh
>>>> >> >>>> * wget http://www.sohailriaz.com/downloads/red5.txt
>>>> >> >>>> * mv red5.txt /etc/init.d/red5
>>>> >> >>>> * /etc/init.d/red5 start
>>>> >> >>>>
>>>> >> >>>> red5 runs in http://IP:5080/ and I installed all applications by
>>>> >> >>>> http://IP:5080/installer/.
>>>> >> >>>> I observed by http://IP:5080/demos/port_tester.html that only two
>>>> >> >>>> RTMP
>>>> >> >>>> ports have SUCCESS status (Default and 1935), other ports have
>>>> >> >>>> FAILED
>>>> >> >>>> status.
>>>> >> >>>>
>>>> >> >>>> I replaced 0.0.0.0 with IP.de.di.ce.ted into
>>>> >> >>>> /red5/conf/red5.properties and when I run
>>>> >> >>>> http://IP.de.di.ca.ted:1935/oflaDemo/avatar.flv, I download file.
>>>> >> >>>>
>>>> >> >>>> I would like download file with this url:
>>>> >> >>>> http://IP.de.di.ca.ted/oflaDemo/avatar.flv
>>>> >> >>>>
>>>> >> >>>> How can I active RTMP port 80? What do I do to obtain SUCCESS
>>>> >> >>>> status
>>>> >> >>>> on RTMP port 80?
>>>> >> >>>> How can I download file with url
>>>> >> >>>> http://IP.de.di.ca.ted/oflaDemo/avatar.flv?
>>>> >> >>>>
>>>> >> >>>> Best,
>>>> >> >>>>
>>>> >> >>>> --
>>>> >> >>>> Alessandra Bilardi, Ph. D.
>>>> >> >>>> ----
>>>> >> >>>> http://www.linkedin.com/in/bilardi
>>>> >> >>>> ----
>>>> >> >>>> La semplicità è la più alta forma di perfezione (Leonardo Da
>>>> >> >>>> Vinci)
>>>> >> >>>> Keep it simple, stupid (KISS, IT)
>>>> >> >>>> ----
>>>> >> >>>>
>>>> >> >>>> _______________________________________________
>>>> >> >>>> Red5 mailing list
>>>> >> >>>> Red5 at osflash.org
>>>> >> >>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>> >> >>>
>>>> >> >>>
>>>> >> >>> _______________________________________________
>>>> >> >>> Red5 mailing list
>>>> >> >>> Red5 at osflash.org
>>>> >> >>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>> >> >>>
>>>> >> >>>
>>>> >> >>
>>>> >> >>
>>>> >> >>
>>>> >> >> --
>>>> >> >> Alessandra Bilardi, Ph. D.
>>>> >> >> ----
>>>> >> >> http://www.linkedin.com/in/bilardi
>>>> >> >> ----
>>>> >> >> La semplicità è la più alta forma di perfezione (Leonardo Da Vinci)
>>>> >> >> Keep it simple, stupid (KISS, IT)
>>>> >> >> ----
>>>> >> >>
>>>> >> >> _______________________________________________
>>>> >> >> Red5 mailing list
>>>> >> >> Red5 at osflash.org
>>>> >> >> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>> >> >>
>>>> >> >
>>>> >> > _______________________________________________
>>>> >> > Red5 mailing list
>>>> >> > Red5 at osflash.org
>>>> >> > http://osflash.org/mailman/listinfo/red5_osflash.org
>>>> >> >
>>>> >>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> Alessandra Bilardi, Ph. D.
>>>> >> ----
>>>> >> http://www.linkedin.com/in/bilardi
>>>> >> ----
>>>> >> La semplicità è la più alta forma di perfezione (Leonardo Da Vinci)
>>>> >> Keep it simple, stupid (KISS, IT)
>>>> >> ----
>>>> >>
>>>> >> _______________________________________________
>>>> >> Red5 mailing list
>>>> >> Red5 at osflash.org
>>>> >> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>> >
>>>> >
>>>> > _______________________________________________
>>>> > Red5 mailing list
>>>> > Red5 at osflash.org
>>>> > http://osflash.org/mailman/listinfo/red5_osflash.org
>>>> >
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Alessandra Bilardi, Ph. D.
>>>> ----
>>>> http://www.linkedin.com/in/bilardi
>>>> ----
>>>> La semplicità è la più alta forma di perfezione (Leonardo Da Vinci)
>>>> Keep it simple, stupid (KISS, IT)
>>>> ----
>>>>
>>>> _______________________________________________
>>>> Red5 mailing list
>>>> Red5 at osflash.org
>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>
>>>
>>> _______________________________________________
>>> Red5 mailing list
>>> Red5 at osflash.org
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>
>>>
>>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
--
Alessandra Bilardi, Ph. D.
----
http://www.linkedin.com/in/bilardi
----
La semplicità è la più alta forma di perfezione (Leonardo Da Vinci)
Keep it simple, stupid (KISS, IT)
----
More information about the Red5
mailing list