Wireshark-bugs: [Wireshark-bugs] [Bug 5648] New: RTMP dissector unknown audio codec

Date: Thu, 3 Feb 2011 01:33:59 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5648

           Summary: RTMP dissector unknown audio codec
           Product: Wireshark
           Version: 1.5.x (Experimental)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: wshark@xxxxxxxxxxxxxxxxxxx


Created an attachment (id=5868)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=5868)
Example RTMP capture.

Build Information:
Version 1.5.0 (SVN Rev 35637 from /trunk)

Copyright 1998-2011 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (32-bit) with GTK+ 2.16.6, with GLib 2.24.2, with WinPcap (version
unknown), with libz 1.2.3, without POSIX capabilities, without libpcre, with
SMI
0.4.8, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.8.5, with
Gcrypt 1.4.5, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built
Jan
24 2011), with AirPcap.

Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.1.2
(packet.dll version 4.1.0.2001), based on libpcap version 1.0 branch 1_0_rel0b
(20091008), GnuTLS 2.8.5, Gcrypt 1.4.5, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 30729
--
The RTMP dissector does not know the audio codec used in the attached capture
file.

See Frame 47: Control: 0xaf (Unknown codec 44 kHz 16 bit stereo).

The Wireshark source file epan\dissectors\packet-rtmpt.c, variable
rtmpt_audio_codecs should be enhanced.

According to
http://help.adobe.com/en_US/FlashMediaServer/3.5_Deving/WS5b3ccc516d4fbf351e63e3d11a0773d56e-7ff6.html
10 = HE-AAC and 11 = Speex are missing.

There is also
http://www.adobe.com/content/dam/Adobe/en/devnet/rtmp/pdf/rtmp_specification_1.0.pdf,
page 47, which additionally lists 3 = INTEL (not used), 7 = G711A, 8 = G711U
and 9 = NellyMoser 16kHz.

This PDF document also lists additional video codecs (variable
rtmpt_video_codecs):
0 = unused (obsolete) and 1 = JPEG (obsolete) but I'm not sure if it is worth
adding these.

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