[Red5devs] flvreader
Balage
dev at 1101.hu
Fri Mar 21 00:54:43 PST 2008
hi
iam using flvreader, but my flv source is tcp socket. using
FLVReader(ByteBuffer buffer, boolean generateMetadata) constructor filling
buffer with a mina StreamIoHandler implementation. the flvreader.channel and
channelSize is null (constructor not init them), throws exception:
java.lang.NullPointerException
at org.red5.io.flv.impl.FLVReader.fillBuffer(FLVReader.java:301)
at org.red5.io.flv.impl.FLVReader.fillBuffer(FLVReader.java:282)
at org.red5.io.flv.impl.FLVReader.readTagHeader(FLVReader.java:788)
at org.red5.io.flv.impl.FLVReader.analyzeKeyFrames(FLVReader.java
:680)
at org.red5.io.flv.impl.FLVReader.postInitialize(FLVReader.java:357)
at org.red5.io.flv.impl.FLVReader.<init>(FLVReader.java:173)
[...]
is there any other flvreader implementation for socket input?
thanks,
B
ps: sorry for my english :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20080321/ced6503b/attachment.html
More information about the Red5devs
mailing list