Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2013-10-31 18:00:28

fitboy
Member
Registered: 2013-01-14
Posts: 123

video download for streaming server

Hi,

please add video download functionality for AMS streaming. This seems missing now.

Thanks!

Offline

#2 2013-10-31 23:53:09

xpornclub
Member
From: California
Registered: 2012-01-01
Posts: 445
Website

Re: video download for streaming server

Yeah also for rtmp streaming you can not download videos.  Maybe a way to make it work?

Offline

#3 2013-11-01 06:55:52

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: video download for streaming server

Yeah...will add in the next version. I know about this missing functionality. It will be using both rtmp and progressive/pseudo.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#4 2013-11-22 12:30:23

fitboy
Member
Registered: 2013-01-14
Posts: 123

Re: video download for streaming server

Hello :-)
Is there a quick fix for this issue until the next version comes out? We have quite a few paying customers who keep complaining and I don't know what to do to make download work with RTMP.

Best

Offline

#5 2013-11-22 18:40:02

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: video download for streaming server

Edit modules/video/components/download.php and replace:

VHelper::load('module.video.stream');
$video_url  = VHelper_video_stream::url(TRUE, $this->video_id, $video['ext'], $video['server']);

with:

$video_url = BASE_URL.'/media/videos/'.$video['ext'].'/'.$this->video_id.'.'.$video['ext'];

The above is for progressive. If you would like to use pseudostreaming for download, edit modules/video/components/download.php and after the
second line in the file add:

define('_PSEUDO', true);

after that edit modules/video/helpers/stream.php and find:

} elseif ($vcfg['streaming_method'] == 'pseudostreaming') {

and replace with:

} elseif (defined('_PSEUDO') OR $vcfg['streaming_method'] == 'pseudostreaming') {

Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#6 2013-11-26 14:42:15

fitboy
Member
Registered: 2013-01-14
Posts: 123

Re: video download for streaming server

Hi,

excellent, that did the trick!! Many thanks!

Offline

Board footer

Powered by FluxBB