[Bug 661624] flvmux overstates the number of metadata elements when 'streamable=true'

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Oct 26 05:34:51 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=661624
  GStreamer | gst-plugins-good | git

C++ RTMP Server <crtmpserver> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |crtmpserver at gmail.com

--- Comment #4 from C++ RTMP Server <crtmpserver at gmail.com> 2011-10-26 12:34:45 UTC ---
Thank your for the time invested into this issue and for the patch. However, I
don't agree with you. According to amf0_spec_121207.pdf, here is the definition
of ECMA Array:

------------begin copy-paste-------------
An ECMA Array or 'associative' Array is used when an ActionScript Array
contains non- ordinal indices. This type is considered a complex type and thus
reoccurring instances can be sent by reference. All indices, ordinal or
otherwise, are treated as string 'keys' instead of integers. For the purposes
of serialization this type is very similar to an anonymous Object.

associative-count = U32
ecma-array-type = associative-count *(object-property)
------------end copy-paste-------------

So, it is what it is: we must have exactly that number of elements, not more,
not less.

I know that those 2 pieces of documentation collide, but the code responsible
for parsing AMF0 in normal conditions (RTMP connections) is also responsible
for parsing arbitrary AMF0 data from various sources (including FLV files). I
also believe that is the case with many other RTMP projects.

Best regards,
Andrei

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list