PDA

View Full Version : www.arab-channels.tv: I need help desperatly with ASX stream


BBARGOUTI
05-12-2011, 01:42 AM
I have been trying to get the source URL for this streaming channels but I know I will need the host and link of the video to make it work...I have tried all I can but no go...please, any some help. This is what I get when I run wireshark:
PLAY rtsp://88.191.61.100/channel03 RTSP/1.0

X-Playlist-Seek-Id: 7128

Referer: http://www.arab-channels.tv/asx/orangetv.asx

User-Agent: WMPlayer/11.0.6002.18005 guid/3300AD50-2C39-46C0-AE0A-6D089B58F311

Accept-Charset: UTF-8, *;q=0.1

X-Accept-Authentication: Negotiate, NTLM, Digest, Basic

Accept-Language: en-us, *;q=0.1

Session: 5196489320134433704

CSeq: 12

Range: npt=0.000-

Bandwidth: 2147483647

X-Accelerate-Streaming: AccelDuration=18000;AccelBandwidth=2147483647

X-RTP-Info: url=rtsp://88.191.61.100/channel03/audio, url=rtsp://88.191.61.100/channel03/video


I have tried the above the URL but I could not make it play it

Thanks in advance...

KSV
05-12-2011, 07:44 AM
I have tried the above the URL but I could not make it play it

if you are trying to play it directly from browser following link works fine
http://www.arab-channels.tv/asx/orangetv.asx

and actual url is rtsp://88.191.61.100/channel03 but if you try to play the same url with wmp or any other player directly they will fail because they are not sending referer header with rtsp PLAY command so server refuses to send data.

reply from server with referer:
RTSP/1.0 200 OK
Date: Thu, 12 May 2011 13:36:00 GMT
CSeq: 6
Session: 4532181684741337845;timeout=60
Server: WMServer/9.1.1.5001
Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.eosmsg, com.microsoft.wm.fastcache, com.microsoft.wm.packetpairssrc, com.microsoft.wm.startupprofile
Range: npt=0.000-5373295904553959.424
Scale: 1.000
X-Accelerate-Streaming: AccelBandwidth=204000;AccelDuration=22059
Speed: 1.000
X-StartupProfile: Rate=10,12,15,20,30;MaxBytes=5057,4784,4784,4784,4 784;Time=120,0,0,0,0;StartTime=2129332605;LastTime =23410;MaxDiffTime=18304;MaxDiffSndTime=2203;ByteR ate=11621,11610,11610,11610,11610;
RTP-Info: url=rtsp://88.191.61.100/channel03/audio;seq=26759;rtptime=0, url=rtsp://88.191.61.100/channel03/video;seq=43766;rtptime=0


without referer:
Session: 7991051104280657537
EOF: true
AdministrativeDisconnection: true

BBARGOUTI
05-13-2011, 07:26 AM
Thanks for your replay. so what do you think i should use then this URL in other players to make it play with the referrer code...:confused:

KSV
05-14-2011, 09:18 AM
if you are trying to watch this with VLC etc. then AFAIK no player will let you specify the referer parameter. however there is an open source project called Live555 which is related to rtsp streaming that you can try to modify for your requirements. however if you are trying to embed this stream into your website following code works fine
<html>
<body>
<object>
<embed height='350' width='400' type="application/x-mplayer2" src="http://www.arab-channels.tv/asx/orangetv.asx" name="MediaPlayer" </object>
</body>
</html>

BBARGOUTI
05-14-2011, 05:58 PM
Thank you KSV for your quick reply...so I take it that I can not stream the link through my own media player because of the referrer request....ok..can you show me in this below example

GET /baghdad HTTP/1.1

Accept: */*

User-Agent: NSPlayer/12.0.7600.16385

Host: 94.75.234.39

Referer: http://94.75.234.39/baghdad

X-Accept-Authentication: Negotiate, NTLM, Digest, Basic

Pragma: version11-enabled=1

Pragma: no-cache,rate=1.000,stream-time=0,stream-offset=4294967295:4294967295,packet-num=4294967295,max-duration=0

Pragma: xPlayStrm=1

Pragma: client-id=3719619557

Pragma: LinkBW=1306842, AccelBW=2147483647, AccelDuration=18000

Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.predstrm, com.microsoft.wm.startupprofile

Pragma: playlist-gen-id=23501

Pragma: xClientGUID={3300AD50-2C39-46c0-AE0A-FD9D505957C1}

Pragma: stream-switch-count=2

Pragma: stream-switch-entry=ffff:1:0 ffff:2:0

Accept-Language: en-us, *;q=0.1

Is it possible to make up the URL from the above information...

sorry, I am still learning....thanks again for great effort..

KSV
05-15-2011, 04:25 AM
mmsh://94.75.234.39/baghdad?MSWMExt=.asf
http://i.imgur.com/fuBMl.jpg