[Live-devel] live555MediaServer refresh
Gilles Chanteperdrix
gilles.chanteperdrix at xenomai.org
Wed Sep 10 14:28:53 PDT 2014
On 07/09/2014 06:00 AM, Ross Finlayson wrote:
> Actually, thinking about this a bit more - I'm going to include your
> 'hack' in the next release of the "LIVE555 Streaming Media" software,
> because it's generally useful - for any type of file - if the
> underlying file has changed since the last time that it was
> requested.
Hi Ross,
I believe this change causes the media clients to only be able to
receive the first track of a multi-track file, such as an mkv with
video and audio. The answer to SETUP of the second track and others is
a "400 Bad Request".
Please find a test file here:
http://www.xenomai.org/video-tests/elephant_dreams/ed_1024_512kb/ed_1024_512kb.mkv
This may be the same issue as the one reported by Thilina Jayanath.
Regards.
P.S: the entire conversation between client and server:
OPTIONS rtsp://192.168.0.1:8554/ed_1024_512kb.mkv RTSP/1.0
CSeq: 2
User-Agent: LibVLC/2.0.6 (LIVE555 Streaming Media v2013.01.15)
RTSP/1.0 200 OK
CSeq: 2
Date: Wed, Sep 10 2014 21:21:50 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER,
SET_PARAMETER
DESCRIBE rtsp://192.168.0.1:8554/ed_1024_512kb.mkv RTSP/1.0
CSeq: 3
User-Agent: LibVLC/2.0.6 (LIVE555 Streaming Media v2013.01.15)
Accept: application/sdp
RTSP/1.0 200 OK
CSeq: 3
Date: Wed, Sep 10 2014 21:21:50 GMT
Content-Base: rtsp://192.168.0.1:8554/ed_1024_512kb.mkv/
Content-Type: application/sdp
Content-Length: 815
v=0
o=- 1410384110913775 1 IN IP4 192.168.0.1
s=Matroska video+audio+(optional)subtitles, streamed by the LIVE555
Media Server
i=ed_1024_512kb.mkv
t=0 0
a=tool:LIVE555 Streaming Media v2014.08.26
a=type:broadcast
a=control:*
a=range:npt=0-653.792
a=x-qt-text-nam:Matroska video+audio+(optional)subtitles, streamed by
the LIVE555 Media Server
a=x-qt-text-inf:ed_1024_512kb.mkv
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:500
a=rtpmap:96 H264/90000
a=fmtp:96
packetization-mode=1;profile-level-id=42C00D;sprop-parameter-sets=Z0LADatA2P8ngIgAAAMACAAAAwGEeKFV,aM48gA==
a=control:track1
m=audio 0 RTP/AVP 97
c=IN IP4 0.0.0.0
b=AS:96
a=rtpmap:97 MPEG4-GENERIC/48000/2
a=fmtp:97
streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1190
a=control:track2
SETUP rtsp://192.168.0.1:8554/ed_1024_512kb.mkv/track1 RTSP/1.0
CSeq: 4
User-Agent: LibVLC/2.0.6 (LIVE555 Streaming Media v2013.01.15)
Transport: RTP/AVP;unicast;client_port=34620-34621
RTSP/1.0 200 OK
CSeq: 4
Date: Wed, Sep 10 2014 21:21:50 GMT
Transport:
RTP/AVP;unicast;destination=192.168.0.2;source=192.168.0.1;client_port=34620-34621;server_port=6970-6971
Session: D796241C;timeout=65
SETUP rtsp://192.168.0.1:8554/ed_1024_512kb.mkv/track2 RTSP/1.0
CSeq: 5
User-Agent: LibVLC/2.0.6 (LIVE555 Streaming Media v2013.01.15)
Transport: RTP/AVP;unicast;client_port=54846-54847
Session: D796241C
RTSP/1.0 400 Bad Request
Date: Wed, Sep 10 2014 21:21:50 GMT
Allow: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER,
SET_PARAMETER
PLAY rtsp://192.168.0.1:8554/ed_1024_512kb.mkv/ RTSP/1.0
CSeq: 6
User-Agent: LibVLC/2.0.6 (LIVE555 Streaming Media v2013.01.15)
Session: D796241C
Range: npt=0.000-
RTSP/1.0 200 OK
CSeq: 6
Date: Wed, Sep 10 2014 21:21:50 GMT
Range: npt=0.000-
Session: D796241C
RTP-Info:
url=rtsp://192.168.0.1:8554/ed_1024_512kb.mkv/track1;seq=6808;rtptime=2631818198,url=rtsp://192.168.0.1:8554/ed_1024_512kb.mkv/track2;seq=0;rtptime=0
--
Gilles.
More information about the live-devel
mailing list