Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0 Apache Incubator Release
-
None
-
None
Description
When you leave the conference by simply closing the browser or by republishing the stream with different parameters (same effect) the Listeners of a stream cannot be closed. Seems like the stream is already gone so no chance to get the Listeners inside to close them.
Exception looks like that:
ERROR 04-14 13:55:13.440 FLVRecorderService.java 73822 438 org.openmeetings.app.remote.FLVRecorderService [NioProcessor-5] - [stopRecordingShow]
java.lang.NullPointerException: null
at org.openmeetings.app.remote.FLVRecorderService.stopRecordingShow(FLVRecorderService.java:406) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.openmeetings.app.remote.FLVRecorderService.stopRecordingShowForClient(FLVRecorderService.java:625) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendClientBroadcastNotifications(ScopeApplicationAdapter.java:921) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.openmeetings.app.remote.red5.ScopeApplicationAdapter.streamBroadcastClose(ScopeApplicationAdapter.java:823) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.red5.server.stream.ClientBroadcastStream.notifyBroadcastClose(ClientBroadcastStream.java:525) [red5.jar:na]
at org.red5.server.stream.ClientBroadcastStream.close(ClientBroadcastStream.java:232) [red5.jar:na]
at org.red5.server.stream.StreamService.closeStream(StreamService.java:153) [red5.jar:na]
at org.red5.server.stream.StreamService.closeStream(StreamService.java:109) [red5.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_20]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_20]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_20]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_20]
at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:198) [red5.jar:na]
at org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:179) [red5.jar:na]
at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:381) [red5.jar:na]
...