Ncast n-way reference manual, Rtsp m, Qtl f – NCast N-Way Server User Manual

Page 33: Asx f

Advertising
background image

NCast N-Way Reference Manual

If the client is using the NCast Windows Media Player plug-in, this is the required link:

nchttp://www.ncast.com/sdp-files/my-multicast-stream.sdp

7.4.RTSP M

OVIES

One simple method to deliver RTSP linkage information to a Quicktime player is through construction of a special
type of movie called an “RTSP Movie”. With a simple ASCII text editor, create a file “my-rtsp-movie.mov” with the
following single line of information:

rtsptext rtsp://nway-server.ncast.com/my-movies/my-archive.mp4

Then simply create a link to this movie on the web page:

http://www.ncast.com/movies/my-rtsp-movie.mov

The web browser will create a blank page and then will play the movie.

7.5.L

AUNCHING

Q

UICKTIME

P

LAYER

– QTL F

ILES

To launch a Quicktime Player as an independent entity apart from the web page, the web page must reference a
“.qtl” file containing the following text:

<?xml version="1.0"?>

<?quicktime type="application/x-quicktime-media-link"?>

<embed src="rtsp://nway-server.ncast.com:554/my-stream.sdp"

autoplay="true" quitwhendone="true" />

The Player will use the RTSP link information embedded in this file.

7.6.L

AUNCHING

W

INDOWS

M

EDIA

P

LAYER

– ASX F

ILES

To launch Windows Media Player as an independent entity apart from the web page, the web page must
reference a “.asx” file containing the following text:

<ASX version = "3.0">

<Entry>

<Ref href="ncrtsp://nway-server.ncast.com:554/my-stream.sdp" />

</Entry>

</ASX>

The Player will use the RTSP link information embedded in this file.

7.7.E

MBEDDING

Q

UICKTIME

P

LAYER

IN

A

W

EB

P

AGE

The following HTML code is used to embed a Quicktime movie in a web-page window:

<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="99%"

HEIGHT="99%" ALIGN="center" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">

<PARAM name="SRC" VALUE="http://www.ncast.com/movies/my-archive.mov">

<PARAM name="AUTOPLAY" VALUE="true">

NCast Corporation

Revision 1.3

Page 33

Advertising