Hi,

Let's consider the following sdp file:
------------
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 224.1.168.100
t=0 0
a=tool:libavformat 56.36.100
m=audio 5000 RTP/AVP 97
b=AS:256
a=rtpmap:97 L16/16000/1
-------------

The resulting MediaSubsession from the MediaSubsessionIterator, has lots of methods, like
->codecName()
->mediumName()
->numChannels()

.. that work nicely.

Is there any method in MediaSubsession that returns the sampling rate ? Tried "->speed()", but that does not seem to be the one.. (I am passing the frames to ffmpeg matroska muxer, that needs the sampling rate of the audio.)

Regards,

Sampsa







_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to