You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I‘d tried to play mp3 files by jwPlayer but encountered this error, and tried 3 different MP3 files none of them worked fine. No errors met when playing MP4/M4A files.
Environment
[] Operating system and version: Windows 7 and Linux Rehat 4.4.7
[] Java version: 13.0.2
[] Red5 version:1.2.3
Expected behavior
MP3 files should be played well.
Actual behavior
Error occurred when started to play.
Steps to reproduce
put a MP3 file into directory ../webapps/oflaDemo/streams
use html file below
<script type="text/javascript">
var param = window.location.search.substr(1);
var name = param.substr(param.indexOf("=")+1);
alert(name);
jwplayer("player").setup({
flashplayer:"player.swf",
image:"preview.jpg",
file:name,
//file:"thx_deep_note_360p.mp4",
streamer:"rtmp://10.108.130.222:1935/oflaDemo"
});
</script>
3. type line in browser :http://10.108.130.222:5080/oflaDemo/jwPlayer.html?name=test.mp3
4.click play button and show the error msg in console.
Logs
2020-02-26 14:36:34,083 [pool-1-thread-14] WARN o.r.s.net.rtmp.RTMPMinaConnection - Interrupted while waiting for write lock. State: connected
java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1367)
at java.base/java.util.concurrent.Semaphore.tryAcquire(Semaphore.java:415)
at org.red5.server.net.rtmp.RTMPMinaConnection.write(RTMPMinaConnection.java:331)
at org.red5.server.net.rtmp.Channel.write(Channel.java:128)
at org.red5.server.net.rtmp.Channel.write(Channel.java:100)
at org.red5.server.stream.consumer.ConnectionConsumer.pushMessage(ConnectionConsumer.java:195)
at org.red5.server.messaging.InMemoryPushPushPipe.pushMessage(InMemoryPushPushPipe.java:89)
at org.red5.server.stream.PlayEngine.doPushMessage(PlayEngine.java:975)
at org.red5.server.stream.PlayEngine.sendOnPlayStatus(PlayEngine.java:1182)
at org.red5.server.stream.PlayEngine.sendCompleteStatus(PlayEngine.java:1210)
at org.red5.server.stream.PlayEngine.stop(PlayEngine.java:779)
at org.red5.server.stream.PlayEngine$DeferredStopRunnable.execute(PlayEngine.java:1964)
at org.red5.server.scheduling.JDKSchedulingServiceJob.run(JDKSchedulingServiceJob.java:43)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:830)
2020-02-26 14:36:34,100 [pool-1-thread-14] INFO o.r.s.net.rtmp.RTMPMinaConnection - Session id: WO1KG1QUHPQ6T in queue size: 0 pending msgs: 1 last ping/pong: 0
2020-02-26 14:36:34,101 [pool-1-thread-14] INFO o.r.s.net.rtmp.RTMPMinaConnection - Available permits - decoder: 1 encoder: 1
2020-02-26 14:37:45,120 [pool-6-thread-1] INFO org.red5.server.tomcat.WarDeployer - Deploy wars with app start
oflaDemo
The text was updated successfully, but these errors were encountered:
Hi @michaelpetruzzellocivicom, I have the same problem as @Woodsus, running version 1.2.10 and 1.2.24. With the default libs folder he throws the exception:
org.red5.server.messaging.InMemoryPullPullPipe - exception when pulling message from provider
java.lang.NoClassDefFoundError: org/apache/tika/sax/BodyContentHandler
I have tried putting tika-core and tika-parsers (1.16 and 1.28.4) in the libs folder and that is when the exception referenced by @Woodsus
WARN o.r.s.net.rtmp.RTMPMinaConnection - Interrupted while waiting for write lock. State: connected
java.lang.InterruptedException: null
Would it have to be specifically with 1.2.3 release?
Issue
Short description
I‘d tried to play mp3 files by jwPlayer but encountered this error, and tried 3 different MP3 files none of them worked fine. No errors met when playing MP4/M4A files.
Environment
[] Operating system and version: Windows 7 and Linux Rehat 4.4.7
[] Java version: 13.0.2
[] Red5 version:1.2.3
Expected behavior
MP3 files should be played well.
Actual behavior
Error occurred when started to play.
Steps to reproduce
Logs
2020-02-26 14:36:34,083 [pool-1-thread-14] WARN o.r.s.net.rtmp.RTMPMinaConnection - Interrupted while waiting for write lock. State: connected
java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1367)
at java.base/java.util.concurrent.Semaphore.tryAcquire(Semaphore.java:415)
at org.red5.server.net.rtmp.RTMPMinaConnection.write(RTMPMinaConnection.java:331)
at org.red5.server.net.rtmp.Channel.write(Channel.java:128)
at org.red5.server.net.rtmp.Channel.write(Channel.java:100)
at org.red5.server.stream.consumer.ConnectionConsumer.pushMessage(ConnectionConsumer.java:195)
at org.red5.server.messaging.InMemoryPushPushPipe.pushMessage(InMemoryPushPushPipe.java:89)
at org.red5.server.stream.PlayEngine.doPushMessage(PlayEngine.java:975)
at org.red5.server.stream.PlayEngine.sendOnPlayStatus(PlayEngine.java:1182)
at org.red5.server.stream.PlayEngine.sendCompleteStatus(PlayEngine.java:1210)
at org.red5.server.stream.PlayEngine.stop(PlayEngine.java:779)
at org.red5.server.stream.PlayEngine$DeferredStopRunnable.execute(PlayEngine.java:1964)
at org.red5.server.scheduling.JDKSchedulingServiceJob.run(JDKSchedulingServiceJob.java:43)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:830)
2020-02-26 14:36:34,100 [pool-1-thread-14] INFO o.r.s.net.rtmp.RTMPMinaConnection - Session id: WO1KG1QUHPQ6T in queue size: 0 pending msgs: 1 last ping/pong: 0
2020-02-26 14:36:34,101 [pool-1-thread-14] INFO o.r.s.net.rtmp.RTMPMinaConnection - Available permits - decoder: 1 encoder: 1
2020-02-26 14:37:45,120 [pool-6-thread-1] INFO org.red5.server.tomcat.WarDeployer - Deploy wars with app start
oflaDemo
The text was updated successfully, but these errors were encountered: