Tamar Nemet wrote:
<I captured RTP packets with
the ethereal tool on my PC.
<How can I hear the RTP
stream using the ethreal or any other tool?
It depends what codec is
used.
If it is G.711 U-law (PCMU) or
G.711 A-law (PCMA) then you can save the RTP stream as an
au-file
directly from Ethereal, and
play the file with any program that supports au-files (there are a lot of
them).
You do this with the "Save
payload..." button in RTP Stream Analysis dialogue.
You select one RTP packet and
use the menu item "Statistic/RTP/Stream analysis..."
to get the RTP Stream
Analysis
OR
use menu item
"Statisics/RTP/Show all streams..." and then select one RTP stream and press
the
Analyse button to get to the
RTP Stream Analysis.
Another alternative that could
work also for other codecs than G.711 is to save the rtp-stream in
rtpdump format
and replay the stream with e.g.
rtpplay program.
You can save in rtpdump
format with the "Save As" button in the RTP Streams
dialogue.
Use menu item
"Statistics/RTP/Show all streams..." to get to the RTP Streams
dialogue.
But in order to listen/view the
stream you will need some program
that can handle the codec and
can be configured to listen to the RTP stream sent by
rtpplay.
I have got this to work for
some codecs, but not for other codecs.
If the codec is G.723, GSM,
PCMU, H.263-1998, H.261 and some other codecs then you might be able to
use JMF JMStudio (can be downloaded from java.sun.com) to listen to the RTP audio-stream or view
the RTP video-stream.
You will have to configure
JMStudio to listen to a certain port and then send the RTP stream
with rtpplay program towards the port you have configured in
JMStudio.
If the codec is PCMU, PCMA,
H.263-2000, H.261, AMR, MPEG-4 and some other codecs then you might be able to
use
QuickTime player to listen to
the RTP audio-stream or view the RTP video stream.
You need to use a sdp-file to
get QuickTime to listen for RTP packets on a specific port (and map payload type
to codec and so on) and then you use rtpplay to send the
RTP packets towards
that port.
Some more details can be found
in some of these messages:
Here is the link to rtpplay
program:
JMF can be found here (JMF
includes JMPlayer)
|