Openmeetings
  1. Openmeetings
  2. OPENMEETINGS-165

Video freezes as soon as two people have audio/video turned on and you start to record the meeting => Convert FLV writers to act async

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0 Apache Incubator Release
    • Component/s: None
    • Labels:
      None

      Description

      When you have two participents in the conference room, both with a/v turned on, everything is ok.

      Then one participant starts recording the show.

      Effect: Video of the remote participent on each others screen does freeze.

        Activity

        SebastianWagner created issue -
        SebastianWagner made changes -
        Field Original Value New Value
        Description When you have two participents in the conference room, both with a/v turned on, everything is ok.

        Then one participant starts recording the show.

        Effect: Video of the remote participent on each others screen does freeze.

        You can see in the server log file a number of exceptions like (however not sure if those are connected to the problem or not)+

        ERROR 04-13 16:53:16.048 StreamAudioListener.java 235552 350 org.openmeetings.app.data.flvrecord.listener.StreamAudioListener [NioProcessor-12] - [packetReceived]
        java.nio.channels.ClosedChannelException: null
        at sun.nio.ch.FileChannelImpl.ensureOpen(FileChannelImpl.java:88) ~[na:1.6.0_20]
        at sun.nio.ch.FileChannelImpl.position(FileChannelImpl.java:253) ~[na:1.6.0_20]
        at org.red5.io.flv.impl.FLVWriter.writeTag(FLVWriter.java:234) ~[red5.jar:na]
        at org.openmeetings.app.data.flvrecord.listener.StreamAudioListener.packetReceived(StreamAudioListener.java:345) ~[openmeetings-2.0.0-SNAPSHOT.jar:na]
        at org.red5.server.stream.ClientBroadcastStream.dispatchEvent(ClientBroadcastStream.java:407) [red5.jar:na]
        at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:171) [red5.jar:na]
        at org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.java:206) [red5.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:716) [mina-core-2.0.4.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.4.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) [mina-core-2.0.4.jar:na]
        at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:427) [mina-core-2.0.4.jar:na]
        at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:245) [mina-core-2.0.4.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.4.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) [mina-core-2.0.4.jar:na]
        at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:124) [red5.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.4.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) [mina-core-2.0.4.jar:na]
        at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119) [mina-core-2.0.4.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426) [mina-core-2.0.4.jar:na]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:715) [mina-core-2.0.4.jar:na]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:668) [mina-core-2.0.4.jar:na]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:657) [mina-core-2.0.4.jar:na]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68) [mina-core-2.0.4.jar:na]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1141) [mina-core-2.0.4.jar:na]
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [mina-core-2.0.4.jar:na]
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_20]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_20]
        at java.lang.Thread.run(Thread.java:619) [na:1.6.0_20]
        When you have two participents in the conference room, both with a/v turned on, everything is ok.

        Then one participant starts recording the show.

        Effect: Video of the remote participent on each others screen does freeze.
        SebastianWagner made changes -
        Summary Video freezes as soon as two people have audio/video turned on and you start to record the meeting Video freezes as soon as two people have audio/video turned on and you start to record the meeting => Convert FLV writers to act async
        SebastianWagner made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Maxim Solodovnik made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee SebastianWagner [ swagner ] Maxim Solodovnik [ solomax ]

          People

          • Assignee:
            Maxim Solodovnik
            Reporter:
            SebastianWagner
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development