google-code-export / red5

Automatically exported from code.google.com/p/red5
0 stars 0 forks source link

red5 1.0.0 is't stability,can't play flv video #487

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
when the red5 is working about one day, sometime it can not play video,but can 
record it .

if red5 isn't to play ,can put the error like:

 [INFO] [NioProcessor-14] org.red5.server.adapter.ApplicationAdapter - W3C x-category:session x-event:connect c-ip:58.216.220.149 c-client-id:891
INFO   | jvm 1    | 2014/02/15 13:32:13 | [INFO] [NioProcessor-14] 
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action _result
INFO   | jvm 1    | 2014/02/15 13:32:13 | [INFO] [NioProcessor-14] 
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action createStream
INFO   | jvm 1    | 2014/02/15 13:32:13 | [INFO] [NioProcessor-14] 
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action getStreamLength
INFO   | jvm 1    | 2014/02/15 13:32:13 | [INFO] [NioProcessor-14] 
org.red5.server.net.rtmp.RTMPHandler - Remembering client buffer on stream: 4000
INFO   | jvm 1    | 2014/02/15 13:32:13 | [ERROR] [NioProcessor-14] 
org.red5.server.stream.ProviderService - Problem getting file: videoName
INFO   | jvm 1    | 2014/02/15 13:32:13 | java.io.FileNotFoundException: 
ServletContext resource [/streams/videoName.flv] cannot be resolved to URL 
because it does not exist
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.springframework.web.context.support.ServletContextResource.getURL(ServletCon
textResource.java:154) ~[spring-web-3.1.1.RELEASE.jar:3.1.1.RELEASE]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.springframework.web.context.support.ServletContextResource.getFile(ServletCo
ntextResource.java:169) ~[spring-web-3.1.1.RELEASE.jar:3.1.1.RELEASE]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.red5.server.stream.ProviderService.getStreamFile(ProviderService.java:212) 
~[red5.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.red5.server.stream.ProviderService.getVODProviderFile(ProviderService.java:1
26) ~[red5.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.red5.server.adapter.MultiThreadedApplicationAdapter.getStreamLength(MultiThr
eadedApplicationAdapter.java:1051) [red5.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) ~[na:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25) ~[na:1.6.0_38-ea]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_38-ea]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:198) 
[red5.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:115) 
[red5.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:157) 
[red5.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:394) 
[red5.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:13
0) [red5.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.jav
a:164) [red5.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived
(DefaultIoFilterChain.java:716) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(De
faultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilte
rChain.java:46) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceive
d(DefaultIoFilterChain.java:796) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush
(ProtocolCodecFilter.java:427) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFi
lter.java:245) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(De
faultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilte
rChain.java:46) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceive
d(DefaultIoFilterChain.java:796) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:124) 
[red5.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(De
faultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilte
rChain.java:46) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceive
d(DefaultIoFilterChain.java:796) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter
.java:119) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(De
faultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(Defaul
tIoFilterChain.java:426) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoPr
ocessor.java:715) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingI
oProcessor.java:668) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingI
oProcessor.java:657) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPolli
ngIoProcessor.java:68) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPo
llingIoProcessor.java:1141) [mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) 
[mina-core-2.0.4.jar:na]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:8
86) [na:1.6.0_38-ea]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 
[na:1.6.0_38-ea]
INFO   | jvm 1    | 2014/02/15 13:32:13 |   at 
java.lang.Thread.run(Thread.java:662) [na:1.6.0_38-ea]

so i don't know what is it . someone can help

Original issue reported on code.google.com by kvs...@gmail.com on 27 Feb 2014 at 2:51

GoogleCodeExporter commented 9 years ago
This entry pretty much sums up this issue:
java.io.FileNotFoundException: ServletContext resource [/streams/videoName.flv] 
cannot be resolved to URL because it does not exist

The file you are requesting does not exist.

Original comment by mondain on 2 Apr 2014 at 3:38

GoogleCodeExporter commented 9 years ago
I have the same issue, and I can verify that the file exists. It only happens 
with flv-files, not mp3-files. It is very strange. 

Original comment by hol...@zetta.no on 8 Apr 2014 at 12:30

GoogleCodeExporter commented 9 years ago
The server says it cant find the file, check your app, check permissions, etc.. 
its something other than the server.

Original comment by mondain on 11 Apr 2014 at 1:30

GoogleCodeExporter commented 9 years ago
I've spent a week looking for the reason. There are exactly the same 
permissions on the folders. There are both mp3-files and flv-files in the same 
folders. mp3-files work. flv-files do not. Both worked fine two weeks ago. No 
changes was made on the server. I have no clue, and will have to abandon Red5 
if I don't get it to work today. 

Original comment by mrlocker...@gmail.com on 11 Apr 2014 at 6:14

GoogleCodeExporter commented 9 years ago
During said week did you install the server on another box and try your files 
there? Also did you try a version of Red5 that is not few years old? 

Original comment by mondain on 11 Apr 2014 at 2:43

GoogleCodeExporter commented 9 years ago
I hijacked this post, and do not use Red 5 1.0.0. My server is the latest 
build. It was installed on a fresh server in january, and worked fine until 
recently. It still works fine with mp3-files, but gives an error on flv-files. 

Original comment by mrlocker...@gmail.com on 12 Apr 2014 at 6:59