Quote:
Originally Posted by oelk
My old script is working with one little modification:
Code:
javascript:var raw=$('param[name="FlashVars"]').val().split('&');var fv={}; for(var i in raw) {var d=raw[i].split('='); fv[d[0]] = unescape(d[1]);} var swfu=$('#movie').attr('data'); swfv = swfu.substring(swfu.indexOf('_')+1,swfu.indexOf('.')).replace('p','.'); prompt('RTMPDumpCL','rtmpdump -v -r "rtmp://'+fv['address']+'/live-edge" -p "http://'+fv['dom']+'/'+fv['pid']+'" -C S:'+fv['uid']+' -C S:'+fv['pid']+' -C S:'+swfv+' -C S:'+fv['pw']+' -C S:'+fv['rp']+' -y "playpath" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"');
It reads all parameters from the active site. Most of them aren't really needed.
A stripped down call could look like this:
Code:
rtmpdump -v -r "rtmp://edge13-b.stream.highwebmedia.com/live-edge" -p "http://chaturbate.com/PERFORMERNAME" -C S:AnonymousUser -C S:PERFORMERNAME -C S:2.634 -C S:anonymous -y "playpath" -o "file.flv"
but I'm not sure, if the same server can be used for every performer every day.
Those who need to record many streams should replace AnonymousUser & anonymous by CB_USERNAME & PW_HASH as described above (or use the proposed script). (You'll get NetStream.Play.Failed otherwise)
|
Hello
I'm using this code for anonymous single streams just fine, but when I add my username and password hash to record multiple streams I get "Model status is error".
Really can't figure out what the problem is here. I put a ^ in front of all the $'s and replaced the \u003D with an =. My password hash has forward slashes in it, not sure that would be an issue though (I noticed the example above didn't have any).
I am on a Mac using Terminal. Using rtmpdump 2.4 KSV patch