jbwyatt4 / openmeetings

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

recording two times in the same session and user does not work #404

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
seems like red5 does not allow to record the same stream several times, at
the moment.
You can re-produce the Exception if you:
goto a conference room (no matter if its Conference or Event) and strat
recording, then stop recording and restart again without re-syncing or
re-entering the room.

This Exception is shown in the Log:
DEBUG 04-14 17:11:26.527  ? 154462 ? org.xmlcrm.app.remote.Application
[pool-3-thread-13] - start streamBroadcastClose broadcast close: 2
DEBUG 04-14 17:11:26.528  ? 154463 ? org.xmlcrm.app.remote.Application
[pool-3-thread-13] - sendClientBroadcastNotifications: 2
DEBUG 04-14 17:11:26.528  ? 154463 ? org.xmlcrm.app.remote.Application
[pool-3-thread-13] - sendClientBroadcastNotifications :
org.xmlcrm.app.conference.videobeans.RoomClient@705502 8
DEBUG 04-14 17:11:27.541  ? 155476 ? org.xmlcrm.app.remote.StreamService
[pool-3-thread-16] - cons Host: RTMPMinaConnection from 192.168.2.107:1555
to 192.168.2.102 (in: 115321, out: 10821)
DEBUG 04-14 17:11:30.197  ? 158132 ? org.xmlcrm.app.remote.StreamService
[pool-3-thread-1] - cons Host: RTMPMinaConnection from 192.168.2.107:1555
to 192.168.2.102 (in: 115369, out: 10850)
ERROR 04-14 17:11:30.260  ? 158195 ? org.xmlcrm.app.remote.StreamService
[pool-3-thread-2] - is this users still alive?
:org.xmlcrm.app.conference.videobeans.RoomClient@705502
DEBUG 04-14 17:11:30.262  ? 158197 ? org.xmlcrm.app.remote.StreamService
[pool-3-thread-2] - Recording show for: /hibernate
DEBUG 04-14 17:11:30.263  ? 158198 ? org.xmlcrm.app.remote.StreamService
[pool-3-thread-2] - Name of CLient and Stream to be recorded: 2
DEBUG 04-14 17:11:30.263  ? 158198 ? org.xmlcrm.app.remote.StreamService
[pool-3-thread-2] -
Application.getInstance()org.xmlcrm.app.remote.Application@e09add
DEBUG 04-14 17:11:30.263  ? 158198 ? org.xmlcrm.app.remote.StreamService
[pool-3-thread-2] - Scope RTMPMinaConnection from 192.168.2.107:1555 to
192.168.2.102 (in: 115479, out: 11644)
DEBUG 04-14 17:11:30.264  ? 158199 ? org.xmlcrm.app.remote.StreamService
[pool-3-thread-2] - Scope [Scope@7d8fc1 Depth = 2, Path =
'/default/openmeetings', Name = 'hibernate']
ERROR 04-14 17:11:30.266  ? 158201 ? org.xmlcrm.app.remote.StreamService
[pool-3-thread-2] - [recordMeetingStream]
java.lang.NullPointerException
    at
org.red5.server.adapter.ApplicationAdapter.getBroadcastStream(ApplicationAdapter
.java:778)
    at org.xmlcrm.app.remote.StreamService.recordShow(Unknown Source)
    at org.xmlcrm.app.remote.StreamService.recordMeetingStream(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:217)
    at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:123)
    at org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:163)
    at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:435)
    at
org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:14
3)
    at
org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.jav
a:120)
    at
org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(
AbstractIoFilterChain.java:570)
    at
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Abs
tractIoFilterChain.java:299)
    at
org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilte
rChain.java:53)
    at
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived
(AbstractIoFilterChain.java:648)
    at
org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:
220)
    at
org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Executo
rFilter.java:264)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:6
50)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:613)

Original issue reported on code.google.com by seba.wag...@gmail.com on 14 Apr 2008 at 3:12

GoogleCodeExporter commented 9 years ago
for the moment as workaround you can re-sync a stream

Original comment by seba.wag...@gmail.com on 14 Apr 2008 at 3:12

GoogleCodeExporter commented 9 years ago
this should be tested with red5-0.7.1

Original comment by seba.wag...@gmail.com on 14 Apr 2008 at 3:20

GoogleCodeExporter commented 9 years ago
Outdated or possible needs verification on latest Version

Original comment by seba.wag...@gmail.com on 30 Jun 2009 at 2:45