Audio/video stream recording forums
|
| Attention Visitor: |
You may have to register or log in before you can post:
|
|
|||||||
|
|
|
Thread Tools | Display Modes |
|
#11
|
|||
|
|||
Re: SecureToken problemsThank you for that valuable contribution to this thread. I'm not asking anyway how to teach me to program. All I'm asking is for an example of a similar situation that I can look at and then I'll figure out how to modify it for this situation.
|
|
#12
|
|||
|
|||
Re: SecureToken problemsthe following code should be sufficient to accomplish this.
Code:
@@ -2426,6 +2501,45 @@
}
else
{
+ char *host = r->Link.hostname.av_len ? r->Link.hostname.av_val : "";
+ char *pageUrl = r->Link.pageUrl.av_len ? r->Link.pageUrl.av_val : "";
+ if (strstr(host, "chaturbate.com") || strstr(pageUrl, "chaturbate.com"))
+ {
+ char pbuf[256], *pend = pbuf + sizeof (pbuf);
+ char *enc = pbuf, **params = NULL;
+ AVal av_Command, av_ModelName;
+ AVal av_CheckPublicStatus = AVC("CheckPublicStatus");
+
+ strsplit(pageUrl + 7, FALSE, '/', ¶ms);
+ av_ModelName.av_val = params[1];
+ av_ModelName.av_len = strlen(params[1]);
+
+ enc = AMF_EncodeString(enc, pend, &av_CheckPublicStatus);
+ enc = AMF_EncodeNumber(enc, pend, 0);
+ *enc++ = AMF_NULL;
+ enc = AMF_EncodeString(enc, pend, &av_ModelName);
+ av_Command.av_val = pbuf;
+ av_Command.av_len = enc - pbuf;
+
+ SendCustomCommand(r, &av_Command);
+ }
if (r->Link.lFlags & RTMP_LF_PLST)
SendPlaylist(r);
SendPlay(r);
Code:
http://stream-recorder.com/forum/showpost.php?p=38157&postcount=63 Code:
rtmpdump -r "rtmpe://edge1-a.stream.chaturbate.com/live-edge" -a "live-edge" -f "WIN 11,1,102,55" -W "http://ccstatic.chaturbate.com/static/flash/CBV_2p51.swf" -p "http://chaturbate.com/reddiva/" -C S:AnonymousUser -C S:reddiva -T "m9z#$dO0qe34Rxe@sMYxx%" --live -y "mp4:public-reddiva" -o "mp4_public-reddiva.flv" Code:
RTMPDump v2.4 GIT-2011-12-22 (Compiled by KSV) (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... WARNING: Trying different position for server digest! INFO: Connected... Starting Live Stream 4363.373 kB / 83.33 sec |
|
#13
|
|||
|
|||
Re: SecureToken problemsQuote:
|
|
#14
|
|||
|
|||
Re: SecureToken problemsHi, KSV. I was wondering if you'd had a chance to look at the most recent updates implemented by chaturbate. Any luck getting rtmpdump to record since those were implemented?
I bow to your superior coding... Thanks! |
|
#15
|
|||
|
|||
Re: SecureToken problemsmodified rtmpdump works on those streams atm. get the modified version. release thread is down currently.
|
|
#16
|
|||
|
|||
Re: SecureToken problemsI can confirm KSV's modified rtmpdump works fine still. A shame you can't download private shows anymore =(
|
|
#17
|
|||
|
|||
Re: SecureToken problemsHi!
Someone willing to share KSV's build of rtmpdump? Thanks a lot! |
|
#18
|
|||
|
|||
Re: SecureToken problemshere is the latest build
Code:
http://www.mediafire.com/file/bwk1zv6j5vf25bd/rtmpdump-2.4.zip |
|
#19
|
|||
|
|||
Re: SecureToken problemsHi Can anyone help me to find the code that i'll put after the " -T '' here is the stream : http://www.en.aljazeerasport.tv/Live/channel/news
|
|
#20
|
|||
|
|||
Re: SecureToken problemsQuote:
![]() Also, you can use another links: Code:
http://www.en.aljazeerasport.tv/streaming/multiformat/streaminfo/index.html?eventId=704803&partnerId=1346&presentation=/InformAdaptiveXML.jsp×tamp=377 |
|
| Tags: chaturbate, securetoken |
| Thread Tools | |
| Display Modes | |
|
|