The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::SVT::Play::Video::Stream::HTTP, HTTP class representing a stream

SYNOPSIS

 use WWW::SVT::Play::Video;

 my $svtp = WWW::SVT::Play::Video->new($url);
 my $stream = $svtp->stream(protocol => 'HTTP');

DESCRIPTION

is_http

Is stream using HTTP protocol? Yes.

download

Download this stream using rtmpdump. This forks a new process and depends on the external program "rtmpdump". Takes the following named parameters:

  • output, filename to which the stream should be downloaded to

  • force, stream should be downloaded even if filename exists

bitrate

Get the bitrate information for this RTMP stream.

COPYRIGHT

Copyright (c) 2012 - Olof Johansson <olof@cpan.org> All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.