Ditutup

Red5 Streaming Module

We need a custom module for Red5. It would implement IStreamPlaybackSecurity and IStreamFilenameGenerator so that the following conditions would be met.

1. Content would be streamed from a custom directory corresponding to a database key.

2. Only the first 2 minutes of the stream would be played if the user has not yet purchased access to the stream (this can be determined with a single database query.)

This system is the FMS solution we're migrating to as part of our online education site. The portion of the database schema which the project will need is as follows:

CREATE TABLE sessions (

nid CHAR(11) NOT NULL PRIMARY KEY DEFAULT '',

ip CHAR(15) NOT NULL DEFAULT '0.0.0.0',

id INT UNSIGNED NOT NULL DEFAULT 0,

loggedIn DATETIME,

stamp TIMESTAMP

);

CREATE TABLE paid (

did INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,

id INT UNSIGNED NOT NULL DEFAULT 0, -- users table key

cid INT UNSIGNED NOT NULL DEFAULT 0, -- class table key

yid INT UNSIGNED NOT NULL DEFAULT 0, -- paypal table key

exp DATETIME NOT NULL DEFAULT '1970-01-01 00:00:00',

stamp TIMESTAMP,

INDEX(id,cid,yid)

);

CREATE TABLE media (

pid CHAR(11) NOT NULL PRIMARY KEY DEFAULT '',

cid INT UNSIGNED NOT NULL DEFAULT 0,

title CHAR(100) NOT NULL DEFAULT '',

eid INT UNSIGNED NOT NULL DEFAULT 0,

thumbId CHAR(11) NOT NULL DEFAULT '',

thumbOffset CHAR(3) NOT NULL DEFAULT '',

width SMALLINT NOT NULL DEFAULT 0,

height SMALLINT NOT NULL DEFAULT 0,

contentLength INT UNSIGNED NOT NULL DEFAULT 0,

duration INT UNSIGNED NOT NULL DEFAULT 0,

-- Longest in /etc/apache/[url removed, login to view] is 55 chars:

-- application/vnd.llamagraphics.life-balance.exchange+xml

contentType CHAR(55) NOT NULL DEFAULT 'application/octet-stream',

uploadFileName CHAR(100) NOT NULL DEFAULT '',

-- Longest in /etc/apache/[url removed, login to view] is 7 chars:

-- sv4cpio

extension CHAR(7) NOT NULL DEFAULT 'dat',

reviewed CHAR(1) NOT NULL DEFAULT 'N',

status CHAR(150) NOT NULL DEFAULT 'Awaiting conversion.',

dispOrder INT UNSIGNED NOT NULL DEFAULT 0,

vtype CHAR(1) NOT NULL DEFAULT 'U', -- 'U' for undefined

stamp TIMESTAMP,

INDEX(cid)

);

The streams are located on the servers under the /video directory. They are indexed by the 11 character pid key in the media table. This works out so that the video files are spread across directories according to the following method. The key is broken down into subdirectory and file name such that a key of 'abcdefghijk' would refer to the FLV stream in the file '/video/a/b/cd/ef/[url removed, login to view]'.

The RTMP URL used to embed our JW FLV Media Player derived player contains the cid and the user's session id (nid in sessions.) So you only need to a single SQL query which will ask if the user has purchased the video. If the user has then begin streaming, if not then start a timer which will allow only the first two minutes of video to be delivered (and seeking past this point is not allowed.)

We're open to alternative suggestions for implementation. Security is an important aspect of this project. The following two tutorial pages detail the implementation of most of the project.

[url removed, login to view]

[url removed, login to view]

Kemahiran: Adobe Flash, J2EE, Java, Javascript, Perl

Lihat lebih lanjut: red5 security, red5 streaming, red5 howto, istreamfilenamegenerator, red5 tutorial, red5 stream, red5 secure, red5 stream security, red5 custom module, red5 session tutorial, red5 tutorial streaming, red5 streaming howto, red5 streaming tutorial, red5 stream access, red5 video player tutorial, howto stream red5, flv media player red5, streaming flv red5, red5 stream flv, red5 install howto, red5 tutorial directory, red5 secure streaming, red5 streaming custom directory, red5 stream custom directory, www red point

Tentang Majikan:
( 0 ulasan ) Fort Myers, United States

ID Projek: #283607

5 freelancers are bidding on average $228 for this job

DevDesk

Please see PMB for details

$250 USD dalam 5 hari
(2 Ulasan)
5.9
ranganathp

Can help... check my reviews... costs more...

$250 USD dalam 15 hari
(24 Ulasan)
5.9
netbabu

I and my team have red5 experience. Regards Babu

$250 USD dalam 10 hari
(9 Ulasan)
5.1
roseindia

Hi, Our team can develop the project for you. Have experience in red5. Thanks

$200 USD dalam 15 hari
(0 Ulasan)
0.0
arpan28

I believe I can provide you solution according to ur requirement within a shortest period and minimum cost I have 7+ yrs experiance in this work working as a freelancer Specialized in Website Designing , Developmen Lagi

$190 USD dalam 8 hari
(0 Ulasan)
0.0