hasomaso
01-08-2012, 10:57 AM
hy @all,
i have to insert access request parameter but how?
can someone please help me
thanks
hasomaso
What this kind gentleman wants to say is this:
There are some servers that require an extra string parameter "requestAccess" appended to the secureToken response. So the transaction instead of the traditional:
Server > secureToken one-random-string
Client > secureToken Response decoded-string
happens like this:
Server > secureToken one-random-string
Client > secureToken Response decoded-string ...... ......requestAccess.............secret-static-string
Note: the "requestAccess" parameter must be sent together with the secureToken Response and not earlier (as in an "-C O:0 object" way).
Bahman
01-08-2012, 02:44 PM
Edited!! :D
you have to add the code to handle this. there is no magical switch which will do this.
Bahman
01-09-2012, 01:23 AM
So, How to add the code? is there a way?:)
try this:
http://www.mediafire.com/?j0eqeel1v24qb1p
Bahman
01-09-2012, 04:19 AM
Thanks so much, KSV!! You rock!!
BTW, Why it doesn't need request access string anymore? I mean, it can be downloaded with out adding that Request Access string: muuuh!! How it's possible?
try this:
http://www.mediafire.com/?j0eqeel1v24qb1p
Since the official rtmpdump project is infamously reluctant to accept "every day" patches, is there by any chance a git repository for the "KSV" rtmpdump source code? One that hopefully includes the vast majority of patches that are posted on the mailing list....
BTW, Why it doesn't need request access string anymore? I mean, it can be downloaded with out adding that Request Access string: muuuh!! How it's possible?
because it's now handled by rtmpdump.
Since the official rtmpdump project is infamously reluctant to accept "every day" patches, is there by any chance a git repository for the "KSV" rtmpdump source code? One that hopefully includes the vast majority of patches that are posted on the mailing list....
in the package posted in sticky thread there is a Patch.diff file which contains all of my patches.
Bahman
01-09-2012, 09:04 AM
because it's now handled by rtmpdump.
Thank you once again for your helps, KSV!! I don't know what we could do without you!! And is possible that I ask this question: When rtmpdump can handle Handshake 10? I'm so looking forward for that!! and others!!:o
because it's now handled by rtmpdump.
in the package posted in sticky thread there is a Patch.diff file which contains all of my patches.
I think you mean this post:
http://stream-recorder.com/forum/showpost.php?p=36441&postcount=54
If you have time could you please incorporate the "requestAccess" parameter as a user-controlled command-line option?
For example:
rtmpdump -r....... --extra-string-for-securetoken "requestAccess=some-secret-string"
When rtmpdump can handle Handshake 10?
we need to reverse the flash client first to know which encryption algorithm and keys they are using for handshake 10. after that writing code isn't that difficult.
I think you mean this post:
http://stream-recorder.com/forum/showpost.php?p=36441&postcount=54
yeah
If you have time could you please incorporate the "requestAccess" parameter as a user-controlled command-line option?
For example:
rtmpdump -r....... --extra-string-for-securetoken "requestAccess=some-secret-string"
currently busy with other stuff. may write at later date. probably like -C switch where you can encode any custom data you want.
PS: it's not an extra string for SecureToken. it's separate invoke command.
Bahman
01-09-2012, 01:05 PM
we need to reverse the flash client first to know which encryption algorithm and keys they are using for handshake 10. after that writing code isn't that difficult.
Thanks for this good explain!! :)
just I'm wondering how getflv team could reverse it and we still couldn't after 5 months!! :confused:
currently busy with other stuff. may write at later date. probably like -C switch where you can encode any custom data you want.
OK, thanks! Just till then could you please post the diff for this custom modification of rtmpdump in this thread?
Thanks for this good explain!! :)
just I'm wondering how getflv team could reverse it and we still couldn't after 5 months!! :confused:
getflv team doesn't reverse anything. they are hooking the flash plugin to sign the handshake response.
OK, thanks! Just till then could you please post the diff for this custom modification of rtmpdump in this thread?
i will post soon.
Bahman
01-09-2012, 02:13 PM
They are hooking the flash plugin to sign the handshake response.
Thanks for the reply, I'm bothering you with my questions!!
and This is my last question: So, Why rtmpdump can't do this work like getflv? Why rtmpdump must have the encryption keys in order to be able to record?
and Thank you very much for putting time on my questions!!:)
OK, thanks! Just till then could you please post the diff for this custom modification of rtmpdump in this thread?
i have updated the package to include new changes.
http://stream-recorder.com/forum/showpost.php?p=36441&postcount=54
Thanks for the reply, I'm bothering you with my questions!!
and This is my last question: So, Why rtmpdump can't do this work like getflv? Why rtmpdump must have the encryption keys in order to be able to record?
and Thank you very much for putting time on my questions!!:)
what about other users and devices where there is no flash plugin available?
Bahman
01-11-2012, 11:13 AM
aha, I got it right now!!
rtmpdump -r "rtmp://srv2.tv-stream.to/live/eurosport" -W "http://player.tv-stream.to/cplayer.swf" -p "http://tv-stream.to" -T "58=rA#TV26" --live -o 1.flv
RTMPDump v2.4 GIT-2011-12-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO: duration 0.00
INFO: width 768.00
INFO: height 432.00
INFO: videodatarate 0.00
INFO: framerate 12.50
INFO: videocodecid 7.00
INFO: audiodatarate 0.00
INFO: audiosamplerate 48000.00
INFO: audiosamplesize 16.00
INFO: stereo TRUE
INFO: audiocodecid 10.00
INFO: encoder Lavf52.111.0
INFO: filesize 0.00
3747.744 kB / 54.37 sec
Bahman
01-19-2012, 07:37 AM
You got "Read access denied for stream eurosport" because you are using old version that can't handle request access!! I got this error too before KSV's change on rtmpdump!!
Try this version (http://www.mediafire.com/?h25gbbpe175zkab)!!
karlo2105
01-19-2012, 08:57 AM
Thank you very much it's working now.
It should be useful to edit messages with command line to avoid security enforcement.
Bahman
01-24-2012, 12:57 PM
KSV, Is there any chance to create a parameter/option for input "requestaccess" manually? (they have changed it)
Another problem:
Seems they have used a letter that is not English!! That appears on each PC different (It depends on PC languages, I think). For example, I got this:
http://www.hostpic.org/images/92dump.jpg
but in another pc is diff:
http://www.hostpic.org/images/467715460980.png
How we can fix it?
and how to use that letter in command?because Win doesn't support anything except English letters in command!!
Thank you!!
i will be out of station for next 3-4 days. will check it out later.
Bahman
01-24-2012, 01:14 PM
I appreciate your help!! so kind!! ;)
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.