Hi
I'm using v2.2 in my project, and I found that there are several FLV videos fails with ParserException as below.
com.google.android.exoplayer2.ParserException
at com.google.android.exoplayer2.extractor.flv.ScriptTagPayloadReader.parsePayload(ScriptTagPayloadReader.java:84)
at com.google.android.exoplayer2.extractor.flv.TagPayloadReader.consume(TagPayloadReader.java:65)
at com.google.android.exoplayer2.extractor.flv.FlvExtractor.readTagData(FlvExtractor.java:255)
at com.google.android.exoplayer2.extractor.flv.FlvExtractor.read(FlvExtractor.java:158)
The exception locate that line with notes says 'should never happen' when type is not AMF_TYPE_ECMA_ARRAY.
The type value is AMF_TYPE_OBJECT but not AMF_TYPE_ECMA_ARRAY when exception occurred.It seems that only metadata tag is illegal while audio tags and video tags are all right.And when I use some other player to play these video, there is no problem.
I believe that there must be some reason to check that type, but I don't know why.
So what should I do to avoid this exception ? And I hope to know the reason that why type can't be the object type.
Hi
I'm using v2.2 in my project, and I found that there are several FLV videos fails with ParserException as below.
The exception locate that line with notes says 'should never happen' when type is not AMF_TYPE_ECMA_ARRAY.
The type value is AMF_TYPE_OBJECT but not AMF_TYPE_ECMA_ARRAY when exception occurred.It seems that only metadata tag is illegal while audio tags and video tags are all right.And when I use some other player to play these video, there is no problem.
I believe that there must be some reason to check that type, but I don't know why.
So what should I do to avoid this exception ? And I hope to know the reason that why type can't be the object type.