View Single Post
  #280  
Old 05-27-2013, 02:25 PM
Edge Edge is offline
Smashing FMS
 
Join Date: Apr 2013
Posts: 18
Edge is on a distinguished road
Default

Re: www.myfreecams.com: How can I record free sex web-cam chat (rtmp:// .flv)


^^-- aren't you the one who wrote about how to fill in the videomap array some time ago? No need to investigate then is there =]

My method is slightly different, I connect to the chatserver, send hello, guest and wait for the giant videomap. The regex I use is /0\\[(.*?)\\]/ and then I split $1 with /,/ and end up with a giant array of numeric values. Even entries will be the cam server, odd entries the model ID, so if I have:

...79,1330746,80,10710877,81,13118455,82,3058461,8 3,1492467,84,11664080,85,10125943,86,10798883...

It means model ID 1330746 is video79. If this turns out to be a miss, I take camserv, subtract 500 if >500 and check with the preset videomap from the JS (104:64,109:69... etc).

This seems to work 90% of the time, the problem happens when the model is not in the first list received over the socket, ie. she's on page 2 or something. I have no idea how to keep receiving events or receive events for specific models so I don't know how to get around this.

If you come to any conclusions or figure out a fool-proof method of resolving model->real video server I would definitely like to hear about it, I'm starting to take an interest in MFC =]

Also the timestamp thing, might not be so easy to fix since all LibRTMP does is take whatever timestamp the server sends and stuff it into the outfile, it might just be better to let people fix the file post-download using whichever method they see fit. I am looking at a general patch/solution since this seems to affect pretty much all live streaming sites.

E.
Reply With Quote