View Single Post
  #2  
Old 07-20-2014, 06:49 PM
darbie193 darbie193 is offline
Junior Member
 
Join Date: Feb 2014
Posts: 6
darbie193 is on a distinguished road
Default

Re: rtmpdump - xlovecam


Quote:
Originally Posted by forlan38 View Post
Guys, i have 2 questions.

Code:
C:\Users\osstation>C:\rtmpdump\rtmpdump -r "rtmp://91.208.175.163/xlovecam_dev"
-a "xlovecam_dev" -f "WIN 14,0,0,145" -W "http://new.xlovecam.com/streamPlayer/s
wf/StreamPlayer.swf" -p "http://new.xlovecam.com/en#Desila" -C O:1 -C NS:idcnx:0
 -C NS:spoken:en -C NS:pseudo:Guest -C NS:monid:702b439978b982388076c99315f05798
 -C NN:idc:0.000000 -C NN:nbct:0.000000 -C NS:status:free -C NO:infos:1 -C NS:ut
ype:client -C NS:display:flash -C NS:client:flash -C NS:type_ua:Windows -C NS:pa
ys:TR -C NS:device:newweb -C O:0 -C NS:uida:1405848792442178 -C NS:xtype:visiteu
r -C O:0 -y "video_118760_1405848792442178" -o "2014-07-20_12-36-07_video_118760
_1405848792442178.flv"
RTMPDump v2.4 GIT-2012-12-30 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
8587.719 kB / 32.29 sec
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
8591.419 kB / 32.58 sec
Download complete
1. How can I avoid this error?

2. Is there any parameter to record continuously even the model is offline or in pvt and get online back?
1. unsure. it seems the session is only live for a certain amount of time before it needs a new secure token.
2. probably not. the playpath changes anytime the model changes between private/free or goes offline. example: -y "video_118760_1405848792442178" the first part is the model ID and second part is the exact time the session was created. other sites use a similar time stamp system.

technically you could write a fancy script that could read page source's and adjust accordingly but that's beyond my know-how, sorry.
Reply With Quote