View Single Post
  #12  
Old 01-17-2011, 05:42 AM
itsme itsme is offline
Member
 
Join Date: Jan 2011
Posts: 38
itsme is on a distinguished road
Default

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


to summarize the process:

connect to chatxx.myfreecams.com (where xx is a random number between 1 and 28) on port 8100 or 5001.
listen to the socket
send the connect packet (hello fcserver) and then your username and passcode (or use guest:guest) in the login packet (1)
handle the different packet types sent in json. (20 is join/state change, 43 is shared cam slave server, 15 is model leaves, check the source for more).
the session id is unique and sequential. the room id is userid (sent in 20) + 100000000. Private and group room ids are userid + 200000000.


you can get a part of the mfc source here, its the core part showing you how to manage the user list and how to transform the internet camserverid to the real ones (Check MapServer function)
http://pastebin.com/vhcDnSpE.

Quote:
The password is never check in Public, I don't know for private or group.
It's used in the login process and its used in the rtmp connection if you connect to groups and privates (you have to send your passcode and DOWNLOAD:xxxxxx where xxxxxx is the GRP/PVT session id, sent in the 16er packet (after you sent the 34 request join grp).

if you have more questions, go ahead

btw you probably want to change to an actual good streaming recorder, if you want to start multiple downloads at once,
rtmpdump is badly coded and wastes alot of CPU. more than 10 downloads on your machine and it slows down, also there are STILL a crazy amount of bugs in.
Reply With Quote