//重启后,控制台就没有再打印管道错误
java.io.IOException: Pipe closed
at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:260)
at java.io.PipedInputStream.receive(PipedInputStream.java:226)
at java.io.PipedOutputStream.write(PipedOutputStream.java:149)
at com.yangjie.JGB28181.media.server.remux.RtmpPusher.onMediaStream(RtmpPusher.java:48)
at com.yangjie.JGB28181.media.server.Server.onMediaStreamCallBack(Server.java:27)
at com.yangjie.JGB28181.media.codec.CommonParser.parseTcp(CommonParser.java:164)
at com.yangjie.JGB28181.media.server.handler.TCPHandler.channelRead(TCPHandler.java:123)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
//重启后,控制台就没有再打印管道错误 java.io.IOException: Pipe closed at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:260) at java.io.PipedInputStream.receive(PipedInputStream.java:226) at java.io.PipedOutputStream.write(PipedOutputStream.java:149) at com.yangjie.JGB28181.media.server.remux.RtmpPusher.onMediaStream(RtmpPusher.java:48) at com.yangjie.JGB28181.media.server.Server.onMediaStreamCallBack(Server.java:27) at com.yangjie.JGB28181.media.codec.CommonParser.parseTcp(CommonParser.java:164) at com.yangjie.JGB28181.media.server.handler.TCPHandler.channelRead(TCPHandler.java:123) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)