[Swfdec] [Gnash-dev] client command-line or library for streaming audio and video - does it exist?
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Tue Jul 22 02:44:27 PDT 2008
oh - just one other thing: the prs_xxxx functions which you will
see in the mapi code have a "debug" mode. consequently, as the data
is being marshalled (or unmarshalled), the auto-generated code
automatically outputs a human-readable dump of the data.
so you get sniffing and decoding - like ethereal/wireshark - "for free".
and, i made sure that the templates performed "indentation" of
structs. so, when you identified a struct correctly, it would be
tab-indented.
i read the wiki page on SOL on gnashdev - the lovely comments about
how to use gdb to do binary dumps - it looks like _real_ hard work :)
make life easier for yourself: integrate a tab-indented debug-dump into
the marshalling code. that way, when things "go wrong", and you encounter
some packets which don't "fit", it's blindingly obvious, because the
indentation goes absolutely nuts.
l.
More information about the Swfdec
mailing list