Could someone tell me if this SDP looks correct? I was under the impression that you couldn't have more than one a=rtpmap within a m= media tag?<div><br></div><div>Note that I've taken the capture through WireShark and omitted the top parts<br>
<div><br></div><div><div>    Session Description Protocol</div><div>        ......</div>
<div>        ......</div><div>        Media Description, name and address (m): video 0 RTP/AVP 26 96 </div><div>        Media Attribute (a): rtpmap:26 JPEG/90000</div><div>        Media Title (i): video stream 1 in camera 1</div>
<div>
        Media Attribute (a): control:rtsp://<a href="http://74.112.34.42:554/media/1/video/1" target="_blank">74.112.34.42:554/media/1/video/1</a></div><div>        Media Attribute (a): x-bufferdelay:0.050000</div><div>        Media Attribute (a): mimetype:string;"video/JPEG"</div>

<div>        Media Attribute (a): rtpmap:96 H264/90000</div><div>        Media Attribute (a): fmtp:96 packetization-mode=1; profile-level-id=420029; config=0000000167420029e2900800c3602dc0404069078911500000000168ce3c80; sprop-parameter-sets=Z0IAKeKQCADDYC3AQEBpB4kRUA==,aM48gA==;</div>

<div>        Media Title (i): video stream 1 in camera 1</div><div>        Media Attribute (a): control:rtsp://<a href="http://74.112.34.42:554/media/1/video/1" target="_blank">74.112.34.42:554/media/1/video/1</a></div><div>
        Media Attribute (a): x-bufferdelay:0.050000</div>
<div>        Media Attribute (a): mimetype:string;"video/H264"</div><div><br></div><div><br></div><div>It looks as if this SDK is trying to say that the media track could be MJPEG or h264. FFmpeg is reading the codec as MJPEG and then failing when the media data delivered is actually h264. I just need to know if this is a valid SDP and whether there could be a bug in FFMpeg.</div>
<div><br></div><div>Thanks,</div><div>Mark.</div><div><br></div>
</div></div>