[Live-devel] Best way to get video width and height?

Erlandsson, Claes P (CERLANDS) CERLANDS at arinc.com
Mon May 20 11:41:58 PDT 2013


 

I receive a mjpeg stream from a Cisco server. In the SDP I see this line:

 

a=fmtp:26 width=704;height=480;4CIF=1

 

When looking at fVideoWidth & fVideoHeight in MediaSubsession they are
always 0 and it looks like they're only populated if "a=x-dimensions:%d,%d"
is found in the SDP.

 

 

Is there another reliable way to grab the video resolution or would you need
to "manually" parse the SDP line above?

 

 

/Claes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130520/7e4136e2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5739 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130520/7e4136e2/attachment-0001.bin>


More information about the live-devel mailing list