View Single Post
  #21  
Old 04-26-2017, 02:17 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: Bongacams record in Away mode or PRVT?


Hi,

so about uid value of bonga in your playpath....so they get logged on the bonga site and if you call the same stream with same uid another time then you get rejected.All what you have to do is to change the uid value in playpath to any other which wasnt used yet.Just grab any bonga link via RtmpDumpHelper and now try to play it = rejected so the uid was already used in your browser.Now just change any value of the uid and try again = success but only one time of course.So for each new call you have to change the uid again.So for this you can also build any random MD5 hash for example (from local time or anything else).

@ tvgplayer

So about a batch script.Here I made a little one.Just enter your desired model name into model= variable below (SuleymaX8) and save it.Create one script for each model you want.You can also change rtmp timeout too if you want but 10 seconds are good instead of 30 seconds (rtmpdump default value).You can also change the timeout from 60 to a higher or lower value but 1 minute for each try should be also enough right.Oh,and dont forget to download the bonga script bongacams.py for streamlink so this you must have into your (Streamlink\pkgs\streamlink\plugins) folder.
Code:
@echo off
set /a counts=1
:main
for /f "tokens=2 delims==" %%a in ('wmic OS Get localdatetime /value') do set "dt=%%a"
set "YY=%dt:~2,2%" & set "YYYY=%dt:~0,4%" & set "MM=%dt:~4,2%" & set "DD=%dt:~6,2%"
set "HH=%dt:~8,2%" & set "Min=%dt:~10,2%" & set "Sec=%dt:~12,2%"
set "datestamp=%YYYY%%MM%%DD%" & set "timestamp=%HH%%Min%%Sec%"
set "fullstamp=(%DD%-%MM%-%YYYY%_%HH%-%Min%-%Sec%)"
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
set "model=SuleymaX8"
set "filename=%model%_%fullstamp%.mp4"
set "timeout=--rtmp-timeout 10"
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
echo===========================================================================
echo %filename% Stream Starts - try %counts%
echo===========================================================================
::echo %filename%
echo.

call streamlink https://bongacams.com/%model% best -o%filename% %timeout%

timeout /t 60
cls
set /a counts=counts+1
goto main
exit
As I said its just a simple script and not more to record your model/s automatically.

greetz
Reply With Quote