Streaming H264 content via RTP/RTSP: VLC works, Quicktime doesn't
We are developping a DSP based system that streams H264 content using RTP/RTSP.
We are feeding Quicktime and VLC with a similar URL: rtsp://212.143.39.228:12654/stream/device 71_camera2.sdp
Both clients communicate with our server in the RTSP protocol. The following messages pass between Quicktime client and our server:
DESCRIBE rtsp://212.143.39.228:12654/stream/device 71_camera2.sdp RTSP/1.0
CSeq: 1
Accept: application/sdp
Bandwidth: 512000
Accept-Language: nl-NL
User-Agent: QuickTime/7.6.7 (qtver=7.6.7;os=Windows NT 5.1Service Pack 3)
RTSP/1.0 200 OK
CSeq: 1
Content-Type: application/sdp
Content-Length: 435
v=0
o=- 4 16975365 IN IP4 212.143.39.228
s=MRS
t=0 0
b=RS:0
b=RR:0
a=range:npt=now-
a=isma-compliance:2,2.0,2
a=control:rtsp://stream/device 71_camera2.sdp
m=video 5438 RTP/AVP 97
c=IN IP4 10.0.0.51
a=control:trackID=1
b=AS:250
a=rtpmap:97 H264/90000
a=fmtp:97 packetization-mode=1;profile-level-id=42801E;sprop-parameter-sets=Z0KAHomVQsEtA EA=,aFOAwGHI
a=mpeg4-esid:201
a=cliprect:0,0,288,352
a=framesize:97 352-288
SETUP rtsp://stream/trackID=1 RTSP/1.0
CSeq: 2
Transport: RTP/AVP;unicast;client_port=6970-6971
x-retransmit: our-retransmit
x-dynamic-rate: 1
x-transport-options: late-tolerance=2.900000
User-Agent: QuickTime/7.6.7 (qtver=7.6.7;os=Windows NT 5.1Service Pack 3)
Accept-Language: nl-NL
RTSP/1.0 200 OK
CSeq: 2
Session: 4
Transport: RTP/AVP;unicast;client port=6970-6971;serverport=12655-12656
PLAY rtsp://212.143.39.228:12654/stream/device 71_camera2.sdp RTSP/1.0
CSeq: 3
Range: npt=0.000000-
x-prebuffer: maxtime=2.000000
Session: 4
User-Agent: QuickTime/7.6.7 (qtver=7.6.7;os=Windows NT 5.1Service Pack 3)
RTSP/1.0 200 OK
CSeq: 3
At this stage our server starts sending H264 RTP frames to port 6970 of Quicktime's host machine. No firewall or NAT exists between the client and server machines. Sometimes it is the same machine.
Quicktime client says:
'Negotiating'
'Waiting for media...'
and after 10 seconds it says 'Not Found' and disconnects from the server.
VLC displays the video stream given the same URL.
Why is Quicktime not finding/displaying the stream?
Core 2 Duo, Windows XP Pro