Kamaitachi
view release on metacpan or search on metacpan
Changes
example/client/chat/chat.as
example/client/chat/chat.mxml
example/client/chat/chat.swf
example/client/echo/echo.as
example/client/echo/echo.mxml
example/client/echo/echo.swf
example/client/live_streaming/play.as
example/client/live_streaming/play.mxml
example/client/live_streaming/play.swf
example/client/live_streaming/publish.as
example/client/live_streaming/publish.mxml
example/client/live_streaming/publish.swf
example/client/live_streaming_rec/publish.as
example/client/live_streaming_rec/publish.mxml
example/client/live_streaming_rec/publish.swf
example/lib/Service/Chat.pm
example/lib/Service/Echo.pm
example/lib/Service/LiveStreaming.pm
example/lib/Service/LiveStreamingRecorder.pm
example/server.pl
inc/Module/Install.pm
inc/Module/Install/Base.pm
inc/Module/Install/Can.pm
inc/Module/Install/Fetch.pm
inc/Module/Install/Include.pm
lib/Kamaitachi/Service/StreamAudienceCounter.pm view on Meta::CPAN
};
1;
__END__
=encoding utf8
=head1 NAME
Kamaitachi::Service::StreamAudienceCounter - service role to count and broadcast streaming audience
=head1 SYNOPSIS
=head1 DESCRIPTION
=head1 METHODS
=head2 get_stream_audience_count
L<Kamaitachi>,
lib/Kamaitachi/Service/Streaming.pm view on Meta::CPAN
$self->send_clear($session);
$self->send_status( $session, 'NetStream.Play.Reset' );
$self->send_status( $session, 'NetStream.Play.Start' );
}
sub on_invoke_pause {
my ( $self, $session, $req ) = @_;
my $is_pause = $req->args->[1];
my $position = $req->args->[2]; # ignore when live streaming
my $stream_info = $self->get_stream_info($session) or return;
if ($is_pause) {
delete $stream_info->{child}{ $session->id };
$self->send_status( $session, 'NetStream.Pause.Notify' );
}
else {
$self->send_status( $session, 'NetStream.Unpause.Notify' );
lib/Kamaitachi/Service/Streaming.pm view on Meta::CPAN
}
1;
__END__
=encoding utf8
=head1 NAME
Kamaitachi::Service::Streaming - service role to handle media streaming
=head1 SYNOPSIS
=head1 DESCRIPTION
=head1 METHODS
=head2 on_invoke_createStream
=head2 on_invoke_deleteStream
( run in 0.280 second using v1.01-cache-2.11-cpan-4d50c553e7e )