Projects

Ticket #11 (new defect report)

Opened 2 years ago

Last modified 23 months ago

linux: http request don't work. rtsp works fine

Reported by: gerbrand@… Owned by:
Priority: blocker Version: All platforms
Keywords: Cc:

Description

Hi,

I use DSS mostly for automatic unicast live broadcasts, using wirecast as encoder and DSS (so far 5.5.5) on an Ubuntu server.

I have now installed DSS 6.0.3 on a seperate ubuntu 8.04 box. For some reason, rtsp urls to the streams work fine, but http urls to the same stream (using sdp) don't work on this DSS 6.0.3 installation.

I have added port 80 to the list of ports in streamingserver.xml. I've also tried  http://....:514/file.sdp and other ports.

Any suggestions? Gerbrand

Change History

Changed 2 years ago by gerbrand@…

examples:

 rtsp://darwinlive.debalie.engagetv.com/sample_300kbit.mov works fine but  http://darwinlive.debalie.engagetv.com/sample_300kbit.mov gives nothing (not even an error) in quicktime player

but it does work on my DSS 5.5.5:  http://darwin02.engagetv.com/sample_300kbit.mov

i can also telnet to port 80 of the streaming server:

gerbrand@balielive:~$ telnet darwinlive.debalie.engagetv.com 80
Trying 82.94.213.26...
Connected to darwinlive.debalie.engagetv.com.
Escape character is '^]'.

RTSP/1.0 400 Bad Request
Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
Cseq: 
Connection: Close

Connection closed by foreign host.

Changed 23 months ago by konfoo@…

I can verify that HTTP streaming does *not* work. The headers appear to be valid, and the port is available with no conflicting services (Apache, etc.). This is with the latest patches to get DSS to build on Linux (ticket #6).

Changed 23 months ago by horace.hsieh@…

Sorry, In my environment, the patches under ticket #6 work well.

1. telnet

horace@hxie:/tmp$ telnet localhost 80 Trying 127.0.0.1... Connected to localhost. Escape character is ']'. qtss OK qtss OK GET

2. openRTSP -T 80

horace@hxie:/tmp$ openRTSP -T 80  rtsp://localhost/sample0.sdp Requesting RTSP-over-HTTP tunneling (on port 80)

Sending request: GET /sample0.sdp HTTP/1.0 User-Agent: openRTSP (LIVE555 Streaming Media v2008.07.24) x-sessioncookie: 8f18548ca5a6a0d094fb56c Accept: application/x-rtsp-tunnelled Pragma: no-cache Cache-Control: no-cache

Received HTTP GET response: HTTP/1.0 200 OK Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; ) Connection: close Date: Thu, 19 Aug 1982 18:30:00 GMT Cache-Control: no-store Pragma: no-cache Content-Type: application/x-rtsp-tunnelled

Sending request: POST /sample0.sdp HTTP/1.0 User-Agent: openRTSP (LIVE555 Streaming Media v2008.07.24) x-sessioncookie: 8f18548ca5a6a0d094fb56c Content-Type: application/x-rtsp-tunnelled Pragma: no-cache Cache-Control: no-cache Content-Length: 32767 Expires: Sun, 9 Jan 1972 00:00:00 GMT

...

Received PLAY response: RTSP/1.0 200 OK Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; ) Cseq: 5 Session: 5560762088758375694 Range: npt=now- RTP-Info: url= rtsp://localhost/sample0.sdp/trackID=1,url=rtsp://localhost/sample0.sdp/trackID=2

Started playing session Receiving streamed data (signal with "kill -HUP 7454" or "kill -USR1 7454" to terminate)...

Changed 23 months ago by konfoo@…

Note: See TracTickets for help on using tickets.