[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] client command-line or library for streaming audio and v
From: |
Luke Kenneth Casson Leighton |
Subject: |
Re: [Gnash-dev] client command-line or library for streaming audio and video - does it exist? |
Date: |
Tue, 22 Jul 2008 09:44:27 +0000 (UTC) |
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.