在使用海康回放流时出现空指针异常,url(rtsp://192.168.1.220:554/Streaming/tracks/201?starttime=20231106t063812z&endtime=20231106t064816z)
使用iot-communication运行DemoRtspFMp4ProxyTcpSync
Exception in thread "main" java.lang.NullPointerException: Cannot read the array length because "this.data" is null
at com.github.xingshuangs.iot.common.buff.ByteReadBuff.checkCondition(ByteReadBuff.java:130)
at com.github.xingshuangs.iot.common.buff.ByteReadBuff.getBytes(ByteReadBuff.java:325)
at com.github.xingshuangs.iot.protocol.rtsp.model.sdp.RtspTrackInfo.createTrackInfo(RtspTrackInfo.java:84)
at com.github.xingshuangs.iot.protocol.rtsp.service.RtspNetwork.describe(RtspNetwork.java:328)
at com.github.xingshuangs.iot.protocol.rtsp.service.RtspNetwork.doAfterConnected(RtspNetwork.java:175)
at com.github.xingshuangs.iot.net.client.TcpClientBasic.getAvailableSocket(TcpClientBasic.java:168)
at com.github.xingshuangs.iot.net.client.TcpClientBasic.connect(TcpClientBasic.java:140)
at com.github.xingshuangs.iot.protocol.rtsp.service.RtspClient.start(RtspClient.java:78)
at com.github.xingshuangs.iot.protocol.rtsp.service.DemoRtspTcpAuthenticator.main(DemoRtspTcpAuthenticator.java:68)
在使用海康回放流时出现空指针异常,url(rtsp://192.168.1.220:554/Streaming/tracks/201?starttime=20231106t063812z&endtime=20231106t064816z) 使用iot-communication运行DemoRtspFMp4ProxyTcpSync Exception in thread "main" java.lang.NullPointerException: Cannot read the array length because "this.data" is null at com.github.xingshuangs.iot.common.buff.ByteReadBuff.checkCondition(ByteReadBuff.java:130) at com.github.xingshuangs.iot.common.buff.ByteReadBuff.getBytes(ByteReadBuff.java:325) at com.github.xingshuangs.iot.protocol.rtsp.model.sdp.RtspTrackInfo.createTrackInfo(RtspTrackInfo.java:84) at com.github.xingshuangs.iot.protocol.rtsp.service.RtspNetwork.describe(RtspNetwork.java:328) at com.github.xingshuangs.iot.protocol.rtsp.service.RtspNetwork.doAfterConnected(RtspNetwork.java:175) at com.github.xingshuangs.iot.net.client.TcpClientBasic.getAvailableSocket(TcpClientBasic.java:168) at com.github.xingshuangs.iot.net.client.TcpClientBasic.connect(TcpClientBasic.java:140) at com.github.xingshuangs.iot.protocol.rtsp.service.RtspClient.start(RtspClient.java:78) at com.github.xingshuangs.iot.protocol.rtsp.service.DemoRtspTcpAuthenticator.main(DemoRtspTcpAuthenticator.java:68)