我注意到我的应用程序出现了一个新问题,该问题与libstream库有关,它使用MediaRecorder或MediaCodec从相机资源生成一个包。
我在我的应用中使用了Dagger 2,Realm和ExoPlayer,但我不认为这些库存在问题...
但是我遇到了麻烦,当我开始尝试连接我的服务器时,这个库会返回它:
08-19 15:47:17.610 20235-23761/com.myhappyapp W/System.err﹕java.io.IOException: This InputStream was closed
08-19 15:47:17.610 20235-23761/com.myhappyapp W/System.err﹕ at net.majorkernelpanic.streaming.rtp.MediaCodecInputStream.read(MediaCodecInputStream.java:92)
08-19 15:47:17.610 20235-23761/com.myhappyapp W/System.err﹕ at net.majorkernelpanic.streaming.rtp.H264Packetizer.fill(H264Packetizer.java:245)
08-19 15:47:17.610 20235-23761/com.myhappyapp W/System.err﹕ at net.majorkernelpanic.streaming.rtp.H264Packetizer.send(H264Packetizer.java:156)
08-19 15:47:17.610 20235-23761/com.myhappyapp W/System.err﹕ at net.majorkernelpanic.streaming.rtp.H264Packetizer.run(H264Packetizer.java:122)
08-19 15:47:17.610 20235-23761/com.myhappyapp W/System.err﹕ at java.lang.Thread.run(Thread.java:841)
它突然开始,在应用程序的旧版本中没有发生。 :(