wathek / rtsplib-java

Automatically exported from code.google.com/p/rtsplib-java
GNU Lesser General Public License v3.0
0 stars 0 forks source link

playtest error #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I've tried to get a h264 video rtsp stream by running the playttest program, 
and I get the following message (below). It seems that Method method = 
Method.valueOf(line.substring(0, line.indexOf(' '))); in incomingmessage was bad
regards
Xavier

Session Descriptor
v=0
o=- 1284115067424162 1 IN IP4 0.0.0.0
s=Session streamed by "nessyMediaServer"
i=h264
t=0 0
a=tool:LIVE555 Streaming Media v2010.04.09_dyna_modi_2010.05.05
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Session streamed by "nessyMediaServer"
a=x-qt-text-inf:h264
m=video 0 RTP/AVP 99
c=IN IP4 0.0.0.0
a=rtpmap:99 H264/90000
a=fmtp:99 packetization-mode=28;profile-level-id=42E020.; 
sprop-parameter-sets=J0LgII1oBQBbsBbIAAADABAAAAMAyHnPUA==,KM4F8g==
a=control:track1
a=cliprect:0,0,1280,720
a=framerate:12.500000
m=audio 7878 RTP/AVP 0
a=rtpmap:0 PCMU/8000/1
a=control:track2

Got response: 
RTSP/1.0 200 OK
CSeq: 0
Date: Fri, Sep 10 2010 15:00:40 GMT
Content-Base: rtsp://192.168.2.236:8554/h264/
Content-Type: application/sdp
Content-Length: 613
x-Accept-Dynamic-Rate: 1

for the request: 
DESCRIBE rtsp://192.168.2.236:8554/h264 RTSP/1.0
CSeq: 0
Accept: application/sdp
User-Agent: RTSPClientLib/Java

[*, track1, track2]
Got response: 
RTSP/1.0 200 OK
CSeq: 1
Cache-Control: must-revalidate
Date: Fri, Sep 10 2010 15:00:40 GMT
Transport: 
RTP/AVP;unicast;destination=192.168.2.34;source=192.168.2.236;client_port=2000-2
001;server_port=6970-6971
Session: 18

for the request: 
SETUP rtsp://192.168.2.236:8554/h264/track1 RTSP/1.0
CSeq: 1
Transport: RTP/AVP;unicast;client_port=2000-2001
User-Agent: RTSPClientLib/Java

java.lang.IllegalArgumentException: No enum const class 
br.com.voicetechnology.rtspclient.concepts.Request$Method.x-Transport-Options:
    at java.lang.Enum.valueOf(Unknown Source)
    at br.com.voicetechnology.rtspclient.concepts.Request$Method.valueOf(Request.java:1)
    at br.com.voicetechnology.rtspclient.RTSPMessageFactory.incomingMessage(RTSPMessageFactory.java:103)
    at br.com.voicetechnology.rtspclient.RTSPClient.dataReceived(RTSPClient.java:235)
    at br.com.voicetechnology.rtspclient.transport.SafeTransportListener.dataReceived(SafeTransportListener.java:60)
    at br.com.voicetechnology.rtspclient.transport.TransportThread.run(PlainTCP.java:69)

Original issue reported on code.google.com by xavier.m...@gmail.com on 10 Sep 2010 at 2:07

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Just to make sure, this test has been done with openRTSP, right? I'll see if I 
can reproduce it.

Original comment by paulo.pa...@gmail.com on 24 Jan 2011 at 3:19

GoogleCodeExporter commented 8 years ago
if you want i can give you access to the stream which caused the pb.

Envoyé de mon iPhone

Le 24 janv. 2011 à 03:24, rtsplib-java@googlecode.com a écrit :

Original comment by xavier.m...@gmail.com on 24 Jan 2011 at 6:52