Hi,
In case Miha's changes got lost in the server crash hubub I'm resending the
message
I have extracted the diffs from the original message
http://www.ethereal.com/lists/ethereal-dev/200305/msg00106.html and put them
into files
which are included, hope that helps.
Best regards
Anders Broman
Miha Jemec wrote :
>Hi!
>
>I would like to do some further improvents on tap_rtp.c (add some new
>features). To make all new changes easier, I made some modifications to
>the existing tap_rtp.c first.
>
>Instead of 6 very similar parts of code in the rtp_packet() routine (for
>forward and reversed direction each with three cases: first packet,
>packet with mark bit set and normal packet) I replaced this part with
>the do_calculation() routine that does the same job for all cases. And
>now there are some 400 lines of code less. This will hopefully make any
>other changes much easier, since everything is now only in one place.
>
>There was also a problem that existing RTP analysis couldn't save voice
>in a file when there were padding, extension or CSRC fields enabled.
>This works now, but I had to do some minor changes to packet-rtp.c and
>.h.
>Attached are diffs for:
>tap_rtp.c
>packet-rtp.c
>packet-rtp.h
>Attached is also a sample RTP conversation (1 kHz, 3s), where the RTP
>packets have all the three options enabled: rtp_options.raw
>Hope the changes are acceptable, since this would make my further work
>much easier. Thanks and regards,
>Miha
Attachment:
packet-rtp.c.diff
Description: Binary data
Attachment:
packet-rtp.h.diff
Description: Binary data
Attachment:
tap_rtp.c.diff
Description: Binary data