D I G I T A L V I S U A L C O M M U N I C A T I O N S TurboCast SE Training.

90
D I G I T A L V I S U A L C O M M U N I C A T I O N S TurboCast SE Training

Transcript of D I G I T A L V I S U A L C O M M U N I C A T I O N S TurboCast SE Training.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

TurboCast SE Training

D I G I T A L V I S U A L C O M M U N I C A T I O N S

System Overview

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Simple Scenario

CapturePC

ReflectorWeb Server

ClientsUDPTCP

• Capture PC performs real-time encoding of audio and/or video data• The encoded stream is forwarded to the Reflector over UDP• Data is sent out and received in a specified UDP port number• Reflector streams the data to clients over TCP• Data is sent out and received in a specified TCP port number• Clients access the webcast via a Java applet• The Java applet is located on the web server• HTML page user clicks on to view the webcast has the applet embedded

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Secondary Input

CapturePC

ReflectorWeb Server

ClientsUDPTCP

BackupCapturePC

UDP

Reflector has the capability to accept a secondary input.This input is used as a backup to the main input. Reflectorwill switch over to the secondary input if the data stream islost on the main input. Clients cannot view the secondaryinput unless the reflector switches over to it.

Maximum UDP port is 65535Maximum UDP port is 65535

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Daisy Chaining

The main reflector forwards the data stream to two down streamreflectors via UDP. For every down stream reflector connected to the main reflector, the main reflector will send out the stream overdifferent UDP ports.

CapturePC

ReflectorWeb Server

ClientsUDPTCP

BackupCapturePC

UDP

ReflectorWeb Server

ReflectorWeb Server

TCPTCP

UDP

There is no limit to the number of reflectors that are betweenthe source (capture PC) and the client.

There is no limit to the number of reflectors that are betweenthe source (capture PC) and the client.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Concurrent Instances

CapturePC

ReflectorWeb Server

ClientsUDPTCP

BackupCapturePC

UDP

ReflectorWeb Server

ReflectorWeb Server TCP

TCP

UDP

CapturePC

Concurrent instances of the reflector can be started. The key point to understand is the UDP and TCP ports must be different. All reflector UDPinput ports must be different. If the reflector is streaming out to clients,each concurrent instance must stream to a different TCP port.

TCP

UDP

UDP

The limitation on the number of instances that can be run is bound by the compute power of the server, amount of memory and server load.

The limitation on the number of instances that can be run is bound by the compute power of the server, amount of memory and server load.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

TCP/IP Information

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Data PackagesData

Network Access Layer

Internet Layer

Transport Layer

Application Layer

• Application Layer data package is called a message.• Transport Layer data package is called a segment if it comes from the TCPprotocol. It is called a datagram if it comes from the UDP protocol.• Internet Layer data package is called a datagram.• Network Access Layer data package is called a frame.

Headers

D I G I T A L V I S U A L C O M M U N I C A T I O N S

TCP/IP NetworkingApplicationLayer

TransportLayer

InternetLayer

Network AccessLayer

TCP UDP

IP ARP/RARP

Physical Network

Ethernet

PPP (Modem)

Token Ring

Network Applications

Either

?

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Transport Layer• Transport Control Protocol (TCP)

– TCP provides extensive error checking and flow control to ensure the successful delivery of data. TCP is a connection-oriented protocol.

• User Datagram Protocol (UDP)– UDP provides extremely rudimentary error

checking and is designed when TCP’s extensive control features are not required. UDP is a connectionless protocol.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Connection-oriented Protocol

Establishes and maintains a connection between communicating computers and monitors the state of that connection over the course of the transmission. Each package of data sent across the network receives an acknowledgement, and the sending machine records status information to ensure that each package is received without errors.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Connectionless Protocol

Sends a one-way datagram to the destination anddoesn’t worry about officially notifying thedestination machine that data is on the way. Thedestination machine receives the data and doesn’tworry about returning status information to thesource computer.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Ports and Sockets

Transport layer serves as an interface between network applications and the network. This is accomplished through a system of logical channels called ports. Each port has a port number to identify the port.

TCP and UDP data is actually addressed to what is called a socket. A socket is an address formed by concatenating the IP address and port number. For instance, the socket number 10.11.11.129.21 refers toport 21 on the computer with IP address 10.11.11.129

FTP

UDP

Internet Layer

Network Access Layer

… 20 21 22...

TCP

From Computer A

Example: A client computer connecting to a server’s FTP application through TCP port 21.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Well-known TCP portsService TCP Port Number Descriptiontcpmux 1 TCP Port Service Multiplexorcompressnet 2 Management Utilitycompressnet 3 Compression Utilityecho 7 Echodiscard 9 Discard or Nullsystat 11 Usersdaytime 13 Daytimenetstat 15 Network statusqotd 17 Quote of the Daychargen 19 Character generatorftp-data 20 File Transfer Protocol Dataftp 21 File Transfer Protocol Controltelnet 23 Terminal Network Connectionsmtp 25 Simple Mail Transfer Protocolnsw-fe 27 NSW User Systemtime 37 Time servername 42 Host name serverwhois 43 NIC namedomain 53 Domain name server (DNS)nameserver 53 Domain name server (DNS)gopher 70 Gopher Service

D I G I T A L V I S U A L C O M M U N I C A T I O N S

TCP Ports (cont.)Service UDP Port Number Descriptionrje 77 Remote Job Entryfinger 79 Fingerhttp 80 WWW servicelink 87 TTY linksupdup 95 SUPDUP Protocolhostnames 101 SRI-NIC host name serveriso-tsap 102 ISO-TSAPx400 103 X.400 Mail Servicex400-snd 104 X.400 Mail Sendpop 109 Post Office Protocolpop2 109 Post Office Protocol 2pop3 110 Post Office Protocol 3sunrpc 111 SUN RPC serviceauth 113 Authentication servicesftp 115 Secure FTPpath 117 UUCP Path serviceuucp-path 117 UUCP Path servicenntp 119 USENET Network News Transfer Protocolnbsession 139 NetBIOS Session servicenews 144 Newstcprepo 148 TCP repository

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Well-known UDP PortsService UDP Port Number Descriptionecho 7 Echodiscard 9 Discard or Nullsystat 11 Usersdaytime 13 Daytimenetstat 15 Network statusqotd 17 Quote of the Daychargen 19 Character generatortime 37 Time servername 42 Host name serverwhois 43 NIC namedomain 53 Domain name server (DNS)nameserver 53 Domain name server (DNS)bootps 67 Bootstrap Protocol Service/DHCPbootpc 68 Bootstrap Protocol Service/DHCPtftp 69 Trivial File Transfer Protocolsunrpc 111 SUN RPC servicentp 123 Network Time Protocolnbname 137 NetBIOS namenbdatagram 148 NetBIOS datagramsnmp 161 Simple Network Management Protocolsnmp-trap 162 Simple Network Management Protocol trap

D I G I T A L V I S U A L C O M M U N I C A T I O N S

TCP/UDP• TCP

– Built for reliability– Extensive error checking and flow control

• UDP– Built for speed– Simple control mechanisms

UDP’s lean connectionless design makes it the choicewhen sending out real-time video and/or audio streams.If the source computer had to simultaneously open aTCP-style connection with every client in order to send asingle broadcast, the result could be significant erosionof network performance.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Benefits• UDP provides a fast, efficient

transport mechanism without incurring TCP overhead

• Reflector provides the ability to determine where loading on the network will occur

• Client TCP access provides easy access to stream via HTTP. Using HTTP addresses firewall issues.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

License Key

D I G I T A L V I S U A L C O M M U N I C A T I O N S

License Key Format Format

The license key is an alphanumeric string. The string is made up of 8 sets of 8 characters separated by a colon.

Example

12S45R7A:AFE456B8:12WEF6RG:SVPG5EF8:1SW3QA6F:A2A4D6E8:1H34FR5E8:QWS45KIL

Key Points

User must enter in license key, otherwise software will not run.

Keys are software specific. For example, you cannot use a Vrecorder key in place of an Arecorder key.

Keys will expire. The expiration date is set based on when the user purchased the software and the length of service contract.

Keys have a maximum number of clients it will allow.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

License Key ContentsVrecorder and Arecorder Key Contents

Information within the key license: Customer ID Major Version Minor Version Maximum number of streams: This is set to 5 Expiration Date

Reflector Key Contents

Information within the key license: Customer ID Platform: Any, Unix or Win32 Major Version Minor Version Maximum number of streams UDP forward Secondary Backup Expiration Date

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Arecorder

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Spec Sheet• GSM audio encoding• Minimum modem connection: 28.8 kbps• Ability to store webcast to file for time-

shifted playback• Supports UDP or TCP streaming• UDP streaming to a reflector• TCP streaming allows up to 5 clients to

hear webcast

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Minimum Requirements• Operating System

– Windows 98 or NT 4.0 with OSR 3

• 200 MHz Pentium• 32 MB RAM• 5 MB disk space• Audio Capture Hardware

– Any Windows sound card capable of recording 8 kHz, 16 bits

– Recommended: Creative Labs Soundblaster

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Installation• setup.exe is located on the CD-ROM in

folder Arecorder • User must enter in a valid serial

number and license key• Install only checks license key format• User must restart PC

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Arecorder UIStop - stops Arecorder from streaming audio data.

Broadcast - starts streaming audio data. Use Play when you do not want to record the webcast.

Broadcast and save to file - starts streaming audio data and saves the webcast to a file. Record is used when you want to save the webcast for later playback. Record will also send the audio stream out to a reflector or attached clients, depending on how

Arecorder is configured.

Time - displays length of time for live webcast

D I G I T A L V I S U A L C O M M U N I C A T I O N S

ConfigurationBroadcastHTTP Max Clients - Enter in the number of clients that can connect to Arecorder. The maximum number of clients is 5. When HTTP Max Clients is selected the system will broadcast the live webcast via HTTP. In this configuration the system will become a capture station/reflector. The system will only stream the data over HTTP. Streaming via UDP is disabled. See Serving Clients from Arecorder for additional details.

Reflector URL - Enter in the URL or IP address of the reflector to which the live webcast will be sent. In this configuration Arecorder will send the live webcast to the reflector via UDP. HTTP streaming is disabled.

Port - Required information for the system to stream the live webcast. - When HTTP Max Clients is selected, Port must be set to the HTTP port being used to accept new client connections. - When Reflector URL is selected, Port must be set to the input UDP port the reflector will be receiving the live webcast stream.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Configuration

Record Always save to... - When recording an audio broadcast, you can specify the directory and file name for the recording to go to. This configuration will always store a recording to this setting. Any previous saved recording will be overwritten.

Ask every time - Arecorder will ask you for the location and file name to save the recording to. It will ask every time a new recording is made.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Arecorder Key ScreenTo Edit or Delete a key, select the desired key so it is highlighted.

If all the license keys are deleted or have expired, Arecorder will prompt you to enter in a license key when the application is started. If you do not enter in a valid license key, Arecorder will

not run.

Add - allows you to add in a new key. Enter in the new license key in the Add Key dialog box. Select OK to add the new key.

Edit - opens the Edit Key dialog box. Make the required changes and select OK to save the changes.

Delete - removes the highlighted license key.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

HelpHelp About screenFrom the Arecorder menu, select Help, About Arecorder...

Help Files

Help files are formatted in HTML. The user can access this information in two ways:

From the Arecorder menu, select Help, Arecorder Help

From the Windows Start menu, select Programs, Arecorder, Help Files

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Recording a webcast• In the record section of the Configuration screen, select

Always save to… or Ask every time• Select the Broadcast and Save to File button on the

Arecorder screen. Arecorder will begin to webcast the event and record the webcast to the designated file.

• Select Stop to stop the webcast and recording of the webcast.

• The file extension is .gsm• The file size is approximately 99k/60 seconds.• The data is written to a file as the event occurs.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Invalid/expired key

• This screen will appear when the key has expiredor is invalid.• After selecting OK, the Arecorder Key screen willappear• The user will need to enter in a valid key• Once a valid key is entered, Arecorder will start

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Vrecorder

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Spec Sheet• H.263 video encoding• GSM audio encoding• 28.8 to 128 kbps transfer rate• Ability to store webcast to file for

time-shifted playback• Supports UDP or TCP streaming• UDP streaming to a reflector• TCP streaming allows up to 5 clients

to view webcast

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Minimum Requirements• Operating System

– Windows 98 or NT 4.0 with OSR 3

• 200 MHz Pentium• 32 MB RAM• 5 MB disk space• Audio/Video Capture Hardware

– Recommended:• Video Capture: Viewcast.com Osprey-100• Audio Capture: Creative Labs Soundblaster

– Others:• Audio/Video capture: Winnov Videum A/V

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Installation• setup.exe is located on the CD-ROM in

folder Vrecorder • User must enter in a valid serial

number and license key• Install only checks license key format• User must restart PC

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Vrecorder UI

Stop - stops Vrecorder from streaming audio and video data.

Broadcast Only - starts streaming audio and video data. Use Broadcast when you do not want to record the webcast for later playback.

Broadcast and Save To File - starts streaming audio and video data and saves the webcast to a file. Use this when you want to broadcast and save the webcast for later playback.

Time - displays length of time for live webcast

kbps - displays the current transfer rate

fps - displays the current frames per second

Video window - displays encoded video

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Configure - Movie Quality

• Frame Rate - sets the encoded frame rate

• Image Quality - sets the picture resolution

• Refresh Interval - sets how often the entire picture is refreshed

•Synch Skew - May be used to fine tune audio/video synchronization (Lip Synch).

•Total Bit Rate - Used to limit the total average bit rate of the output streamNote that to maintain the selected average bit rate, the actual frame rate may be lower than set with the Frame Rate slider.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Configure - Transfer ModeBroadcastHTTP Max Clients - Enter in the number of clients that can connect to Vrecorder. The maximum number of clients is 5. When HTTP Max Clients is selected the system will broadcast the live webcast via HTTP. In this configuration the system will become a capture station/reflector. The system will only stream the data over HTTP. Streaming via UDP is disabled. See Serving Clients from Vrecorder for additional details.

Reflector URL - Enter in the URL or IP address of the reflector to which the live webcast will be sent. In this configuration Vrecorder will send the live webcast to the reflector via UDP. HTTP streaming is disabled.

Port - Required information for the system to stream the live webcast. - When HTTP Max Clients is selected, Port must be set to the HTTP port being used to accept new client connections. - When Reflector URL is selected, Port must be set to the input UDP port the reflector will be receiving the live webcast stream. Record File Name

When recording a video broadcast, you can specify the directory and file name for the recording to go to. This configuration will always store a recording to this setting. Any previous

saved recording will be overwritten.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Configure - Configuration

Video Device - select the video device that will be used to capture the live video. Video Format - select Software H263 Audio Device - select the audio device that will be used to capture the live audio. Audio Format - select Software GSM

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Vrecorder Key ScreenTo Edit or Delete a key, select the desired key so it is highlighted.

If all the license keys are deleted or have expired, Vrecorder will prompt you to enter in a license key when the application is started. If you do not enter in a valid license key, Vrecorder will

not run.

Add - allows you to add in a new key. Enter in the new license key in the Add Key dialog box. Select OK to add the new key.

Edit - opens the Edit Key dialog box. Make the required changes and select OK to save the changes.

Delete - removes the highlighted license key.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

HelpHelp About screenFrom the Vrecorder menu, select Help, About Vrecorder...

Help Files

Help files are formatted in HTML. The user can access this information in two ways:

From the Vrecorder menu, select Help, Vrecorder Help

From the Windows Start menu, select Programs, Vrecorder, Help Files

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Recording a webcast• In the Record section of the Configuration screen, select

the Transfer Mode tab.• Enter in the file name and location the recorded file will be

saved to.• Select the Broadcast and Save to file button.• Vrecorder will begin to webcast the event and record the

webcast to the designated file.• Select the Stop button to stop the webcast and recording

to file.• The file extension is .vtv• File size is dependent upon the bit rate. To estimate the

required disk space, for a sequence of S seconds, at a bit rate of R, then the amount of disk space needed is S*R.

• The data is stored to the file as the event occurs.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Invalid/expired key• This screen will appear when the key has expiredor is invalid.• After selecting OK, the Vrecorder Key screen willappear• The user will need to enter in a valid key• Once a valid key is entered, Vrecorder will start

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Reflector

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Spec Sheet• Windows NT or Sun Solaris• Receives input stream via UDP• Outputs stream via UDP and TCP

– UDP to downstream Reflectors– TCP to attached clients

• Secondary Input backup support• Supports concurrent instances for

multiple broadcasts

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Minimum Requirements• Operating System

– Windows 98 or NT 4.0 with OSR 3– Sun Solaris 2.6

• 266 MHz Pentium• 32 MB RAM• 1 MB disk space• Web Server

– Windows 98: Personal Web Server– Windows NT: IIS– Sun Solaris: Apache or Netscape

Enterprise Standard Edition

D I G I T A L V I S U A L C O M M U N I C A T I O N S

98/NT Installation• setup.exe is located on the CD-ROM in

folder reflector\reflector98NT • User must enter in a valid serial

number and license key• Install only checks license key format• reflector.exe can be installed

anywhere on the server• Applets must be installed below the

web server root.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Solaris Install• Perl must be installed• Located on the CD-Rom in Reflector\ReflectorSol is rfsol.pl and

reflector.tar• Type perl rfsol.pl to run the install script• Users must enter in a directory for software installation.• User must enter in a valid serial number and license key• Install only checks license key format• Source directory prompt is looking for the location of the reflector.tar file

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Solaris Created Directories• Installation create four subdirectories:

– vapplet contains the Vviewer Java applet files. This directory must be moved to be within the web root

– rapplet contains the Aplayer Java applet files. This directory must be moved to be within the web root.

– help contains all the HTML help files. Select reflector.html to view the files.

– Rfsol contains the following files: reflector.exe, reflector.key and serial.no. If this directory is moved, all three files must be moved to the same location.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

System Information• Serial Number

– Contained in text file called serial.no– File is located in installed directory

• License Key– Contained in text file called reflector.key– File is located in installed directory– File must be in the same directory as the executable

(reflector.exe)

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Invoking Reflector• Command line executable• Windows 98 and NT you cannot close

the DOS window after you have invoked the software.

• Go to installed directory and type in reflector -arguments

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Invalid Key• Invalid license key or key that is not

formatted correctly will product this output:

VTEL Reflector, Version 2.0 Copyright (c) 1997-1999 VTEL Invalid key was found. Exiting...

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Missing key file• The following will be seen if

reflector.key is not in the directory where the executable is:

VTEL Reflector, Version 2.0 Copyright (c) 1997-1999 VTEL Could not read key file: Reflector.key Exiting...

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Expired key• Following will be seen if the license

has expired:

VTEL Reflector, Version 2.0 Copyright (c) 1997-1999 VTEL Expired key was found. Exiting...

D I G I T A L V I S U A L C O M M U N I C A T I O N S

No Arguments• Invoking reflector without any

arguments will display:VTEL Reflector, Version 2.0 Copyright (c) 1997-1998 VTEL Key Information:

Program Expires: 6/8/99 Key File: Reflector.key Max Streams: 500 UDP Forwarding: Yes Second Input: Yes Multicast: No Everything fine… Reflector now active.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

HelpVTEL Reflector, Version 2.0 Copyright (c) 1997-1999 VTEL Key Information:

Program Expires: 6/8/99 Key File: Reflector.key Max Streams: 500 UDP Forwarding: Yes Second Input: Yes Multicast: No Reflector -file configuration_file_name or Reflector -keyfile file [ -in1|-in host port ] | [ -input1|-input port ] [ -in2 host port ] | [ -input2 port ] [ [ -full host_n port_n ] ...] [ -acceptnew none | http] [ -output http_server_port ] [ -help ] [ -silent ] [ -verbose] [ -max MaxClients] [ -maxtime MaxSeconds ] [ -maxerrortime MaxErrorSeconds ] [ -maxsilence MaxSourceSilenceTime ] [ -detach ]

Default maxtime: 0 secondsDefault maxerrortime: 300 secondsDefault max: 500 (max key will allow)Default maxsilence: 5 secondsDefault acceptnew: httpNOTE: Some of these options require activation in the key

reflector -help produces this output:

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Input Arguments–input1 port

The Reflector accepts input from either the capture station, or from another upstream Reflector on a UDP input port. This specifies the UDP port number. Thus, specifying –input1 3000 means to receive data on the input UDP port #3000. Note: If no secondary inputs are used, the Reflector can be given this argument instead: –input port

Example: -input 3000 or -input1 3000

–in1 host port This is similar to the –input1 argument, except that data must be received from the specified host at the specified UDP port. This provides a measure of security. UDP data sent to the reflector from other hosts to the input port will not be accepted. Note: If no secondary inputs are used, the Reflector can be given this argument instead: –in host port

Example: -in host1.com 3000 or -in1 host1.com 3000

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Input Arguments–input2 port

The Reflector is capable of receiving data from a second input port. If there has been no data received on the primary input port as specified in the –input1 parameter, the program will choose to start forwarding data it receives from this secondary input port. See –maxsourcesilence for information on setting the time length for switching over to the secondary input port.

Example: -input2 3000

–in2 host port This is similar to the input2 argument, except that data must be received from the specified host at the specified UDP port. This provides a measure of security. UDP data sent to the reflector from hosts other than the one specified to the input port will not be accepted.

Example: -in2 host2.com 3434

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Forward Data Arguments–acceptnew none | http

This specifies whether the Reflector should accept new client connections. None means not to accept any new connections. Http means to accept client HTTP connections. The default is to always accept HTTP.

Example: -acceptnew none

–full host port This arguments means that the reflector should forward any data it receives on the input port to the given host at the given port.

Example: -full host1.com 5645

–output httpserverport This means the reflector will accept new client HTTP connections at the given port. Edge reflectors that serve clients always have this argument.

Example: -output 3444

D I G I T A L V I S U A L C O M M U N I C A T I O N S

General Arguments–detach

UNIX only. This causes the program to detach from the console and run in the background. It is a good way to use when running it as a daemon.

Example: –detach

–help This prints a help message.

Example: –help

–silent Operate silently. Default mode.

Example: –silent

–verbose Operate the opposite of silently, by printing to the terminal a spinning icon each time data is received on the input. This is a good way to check and see if an input connection is actually receiving data.

Example: –verbose

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Max Arguments–max maxClients

Specifies the maximum number of clients to accept. It cannot exceed the number in the license key. Default is the maximum number allowed by the license key.

Example: –max 100

–maxerrortime timeinseconds The max error time is the time in seconds during which a reflector will try to send data to a client. If the client does not accept the data within that time period, the reflector will terminate the connection to the client. Default is 300 seconds.

Example: –maxerrortime 120

–maxsourcesilence timeinseconds This is the maximum amount of time an input source can be silent before the reflector switches to the secondary input. See –input1 and –input2 for an explanation of primary and secondary input sources. Default is 5 seconds.

Example: –maxsourcesilence 10

–maxtime timeinseconds This stipulates the maximum amount of time in seconds that a client can be attached to the reflector. This is useful when implementing a system where people can only watch X seconds of a broadcast. If maxtime is set to 0, the reflector will not force the client off. Default is 0 seconds.

Example: –maxtime 30

D I G I T A L V I S U A L C O M M U N I C A T I O N S

File Argument–file configuration_file_name

The Reflector program can read its input arguments from a file. Thus, arguments such as –input 3000 can be placed in a file, and the name of the file given to the program through this argument. There is a sample file, arg_file.txt, located in the installed directory.

Example: –file arg_file.txt

Sample file content:

-input 3333

-output 3334

-verbose

D I G I T A L V I S U A L C O M M U N I C A T I O N S

ExamplesA Reflector receives input on port 6000, forwards to another reflector at address 198.16.7.22 at port 6700, while also serving data to applet clients at port 5000:

reflector –input 6000 –full 198.16.7.22 6700 –output 5000 –verbose

An internal reflector reflects to two hosts, host1.com at port 3000 andhost2.com at port 4000, while receiving data on input port 3456. This internal reflector does not accept any HTTP client requests.

reflector –input 3456 –full host1.com 3000 –full host2.com 4000 –acceptnew none

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Number of clientsThe number of clients can be calculated using Stan’s Equation.

If the transfer rate is R, the bandwidth available to TurboCast is B, then

# of clients = C * B / R, where 0 > C > 1

C is Stan’s Constant, and the suggest value is 0.7. This value is based on thetheory that things state to erode after 70% utilization. To be conservative, use 0.3 to 0.5.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Applets

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Applet FYIThe Applet tag will attach a Java applet to the html page created. The applet tag is used for live and recorded video and audio webcasts. There are two applets available, the Vrecorder Vviewer applet and the Arecorder Aplayer applet. The applet tag is inserted between the <BODY></BODY> HTML tags.

The default directory for the Vviewer applet is webroot/vapplet. Contained in this directory is the Vviewer.jar and a number of gif images. This directory can be placed anywhere within the web server. All files, Vviewer.jar and the gif images, must be located within the same directory.

The default directory for the Aplayer applet is webroot/rapplet. Contained in this directory is the Aplayer.jar and a number of gif images. This directory can be placed anywhere within the web server. All files, Aplayer.jar and the gif images, must be located within the same directory.

The resolution of Vviewer is QCIF (144x177)

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Syntax<APPLET

archive=archive_jar code=applet_type codebase=“URL” name=applet_name height=background_height width=background_width vspace=vspace_value hspace=vsapce_value align=align_value>

<PARAM NAME="background" VALUE="color_value"> <PARAM NAME="AUTOSTART" VALUE="TRUE/FALSE"> <PARAM NAME="srcport" VALUE="http_output_port"> <PARAM NAME="src" VALUE="file_name">

</APPLET>

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Applet ArgumentsArchive

Required. Based on the applet being loaded setting will be:

Vviewer applet - Vviewer.jar Aplayer applet - Aplayer.jar

Code

Required. Based on the applet being loaded the setting will be:

Vviewer applet - VviewerApplet.class Aplayer applet - Aplayer.class

Codebase

Optional. Defines the directory where the classes for the applet are stored. If this attribute is not specified, the

directory of the HTML page is searched. An example is "http://host1.com/vapplet" Name

Optional. User defined. Provides a name for the applet being loaded into the browser.

Height

Required. Defines the height of the area the applet will cover. The minimum requirements are listed below. If the value is set higher than the minimum, the BACKGROUND PARAM can be used to change the background color.

Vviewer applet - 240 Aplayer applet - 175

Width

Required. Defines the width of the area the applet will cover. The minimum requirements are listed below. If the value is set higher than the minimum, the BACKGROUND PARAM can be used to change the background color.

Vviewer applet - 220 Aplayer applet - 300

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Applet Arguments (cont.)Align

Optional. Defines how the applet is aligned in the HTML page. Any of the ALIGN options are valid.

vspace

Optional. Defines how many pixels of space are reserved above and below the applet. hspace

Optional. Defines how many pixels of space are reserved on either side ofthe applet.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

PARAM ArgumentsBackground

Optional. Establishes the background color of the applet. If the HEIGHT or WIDTH setting is higher than the minimum, the color of the area around the applet will be set the value entered. Colors are specified as a hexadecimal number.

Autostart

Optional. Used only when streaming a stored Arecorder file. Default is FALSE

TRUE - the stored Arecorder file will automatically start playing when after the Aplayer applet is loaded. FALSE - the Aplayer applet will load and the client has to press the PLAY button to hear the file.

Srcport

Required when streaming a live webcast. The value is set to the http output port to which the reflector is streaming. The reflector must be configured to allow http clients to attach, and the http port must be specified as a command line argument.

Src

Required when streaming a stored file. The value is set to the file name. The file must be placed in the webserver root or lower. It is not necessary to install Reflector software on the webserver to stream stored files.

Extensions: Vrecorder file - .vtv Arecorder file - .gsm

File Size:Vrecorder - the file size is dependent upon the movie quality settings. The default settings will produce a file size approximately 450k/60 seconds. Setting the frame rate at 10 will produce a file size approximately 675k/60 seconds. Arecorded - approximately 99k/60 seconds

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Live Video ExampleLive Video Webcast Example

<html> <head><title>Live Video Webcast</title></head> <body>

<APPLET

archive=Vviewer.jar code=VviewerApplet.class name=LiveVideo height=240 width=220>

<PARAM NAME="srcport" VALUE=3334>

</APPLET> </body>

</html>

A sample file, LiveVideo.html, can be found where the Vviewer applet code is installed.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Live Audio ExampleLive Audio Webcast Applet Example

<html> <head><title>Live Audio Webcast</title></head> <body>

<APPLET

archive=Aplayer.jar code=Aplayer.class name=LiveAudio height=175 width=300>

<PARAM NAME="srcport" VALUE=3334>

</APPLET> </body>

</html>

A sample file, LiveAudio.html, can be found where the Aplayer applet code is installed.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Time-shifted playback

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Overview

To playback a recorded Vrecorder or Arecorder webcast:

The recorded file(s), filename.vtv or filename.gsm, must reside on a web server. Clients access the recorded webcast file via a Java client that is embedded into a HTML file.

To playback recorded webcast files, it is not necessary to have the Reflector software installed on the web server.

File reads are handled via standard TCP. (To put it in a known context, it is the same as when a file is accessed via FTP.)

Sample files, RecordedVideo.html and commercial.vtv, can be found where the Vviewer applet code is installed.

A sample file, RecordedAudio.html and commercial.gsm, can be found where the Aplayer applet code is installed.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Recorded Video ExamplesRecorded Video Webcast Example

<html> <head><title>Recorded Video Webcast</title></head> <body>

<APPLET

archive=Vviewer.jar code=VviewerApplet.class name=RecordedVideo height=300 width=300>

<PARAM NAME="src" VALUE="commercial.vtv">

</APPLET> </body>

</html> A sample file html, RecordedVideo.html, and vtv file, commercial.vtv, can be found where the Vviewer applet code is installed.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Recorded Audio ExamplesRecorded Audio Webcast Example

<html> <head><title>Recorded Audio Webcast</title></head> <body>

<APPLET

archive=Aplayer.jar code=Aplayer.class name=RecordedAudio height=550 width=320>

<PARAM NAME="src" VALUE="commercial.gsm"> <PARAM NAME="autostart" VALUE="TRUE"> <PARAM NAME="background" VALUE="008080">

</APPLET> </body>

</html> A sample html file, RecordedAudio.html, and gsm file, commercial.gsm, can be found where the Aplayer applet code is installed.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Serving Clients from Arecorder or Vrecorder

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Things to know• Intended for demo capability• Limited reflector capability built-in• License key limits support to 5 clients• Only available on Windows 98/NT• Must be installed on a PC with a web

server• Data will stream to clients over TCP• UDP streaming is disabled

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Minimum Requirements• Operating System/Web Server

– Windows 98 with Personal Web Server– NT 4.0/OSR 3 with IIS

• 200 MHz Pentium• 32 MB RAM• 5 MB disk space• Vrecorder Audio/Video Capture Hardware

– Recommended:• Video Capture: Viewcast.com Osprey-100• Audio Capture: Creative Labs Soundblaster

– Others:• Audio/Video capture: Winnov Videum A/V

• Arecorder Audio Capture Hardware– Any Windows sound card capable of recording 8 kHz, 16 bits– Recommended: Creative Labs Soundblaster

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Installation• Install the capture software, Vrecorder

or Arecorder• Install the Java applets. Run setup.exe

located in the applets folder on the TurboCast CD-ROM

• Select the applet to be installed• By default, applets will be installed in

webroot\vapplet and webroot\rapplet

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Configuration• Select HTTP Max Clients.

– A maximum of 5 clients are allowed– Data will stream to clients via TCP

• Port must be set to the HTTP port the clients will attach to– The port number must match the srcport

setting in the HTML file that contains the Java applet

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Troubleshooting

D I G I T A L V I S U A L C O M M U N I C A T I O N S

SystemThere are 3 components that are involved in a webcast:

The capture station that connects to the video/audio source and performs multimedia encoding. The station transmits its data stream to the network of reflectors.

The reflector receives input streams of data and forwards the data to other reflectors. It also can serve the video data to the client applet.

The applet which plays back multimedia data. The applet

connects to a reflector in order to receive the data for playback. Because the VTEL Turbocast software is made up of 3 components, the user has to set up each of the components with the correct parameters to ensure that the whole system operates properly. In most cases, these simple techniques will solve problems where the user has either entered the wrong port number, or wrong host name, or some other problem involving interconnecting the pieces.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

System• The capture piece streams data to the first "root" reflector. Make sure that the output host address and output port number of the root reflector is properly specified. For example, if the capture station is sending to reflector.customer.com at port 3444, then the reflector on that machine must be run with a -input 3444 argument.

• Reflectors may not get data if the capture station is not sending to it. It is easy to tell if a reflector is getting any data. Run the reflector with a -verbose argument. If a reflector is receiving data from its source (either the capture station itself, or another upstream reflector), the reflector will print a twirly series of characters to indicate data reception.

• It is also easy to tell if a reflector is getting any data if it is run without the verbose argument, or if there is no access to the console where the reflector is being run. This method will also allow one to verify that an applet can connect to the reflector. Since reflectors serve data through HTTP, one can simply connect to the reflector with telnet. For example, if the reflector at reflector.customer.com serves output on HTTP port 6576, one can connect to it by using this command: telnet reflector.customer.com 6576. If the connection is successful, the reflector is accepting connections on that port. If there is data, the reflector will forward data and the telnet program will print a stream of binary characters.

• If the Arecorder or Vrecorder capture program is configured for HTTP Max Clients, where there is no reflector and the capture program functions as a server to clients also, one can use the same technique to check that the capture program is both accepting connections and outputting data. Simply telnet to the capture station at the HTTP port specified using the command line: telnet capture-station.customer.com port number. One additional step is required: enter GET /media HTTP/1.0 followed by hitting ENTER twice. This sends a HTTP GET command to the capture station and will induce it to begin sending data out.

• Make sure that the applet's parameters refer to the output port on which the reflector is serving data. For example, if the reflector is serving data at HTTP port 8976, the reflector must have <param name=srcport

value=8976> in the HTML file including the applet.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

ReflectorThe reflector is run as a command line application on all platforms.

• Multiple reflectors can be run if there is more than one concurrent broadcast. When running multiple reflectors on one computer, the -input and -output port argument must be different for each occurrence of the reflector software.

• When running a reflector on Unix, the -detach argument can be used to run it in the background. When running a reflector on Windows, one must take care not to close the DOS window in which the reflector is executed. If you are using PCAnywhere to manage a PC remotely, the DOS window must be configured not to be automatically closed by PCAnywhere.

• If the Vviewer applet is seeing multiple streams, check the reflector input and output ports. When running multiple instances of the reflector each instance must use different UDP and TCP ports.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Capture• Winnov Videum cards in release 2.7.2 have a problem switching video input sources from Composite to S-video. The choice made in the initial configuration of the driver software forces that input source to be chosen for Vrecorder.

• Winnov Videum cards in release 2.7.2 also have a problem with the audio input. When using this card, take the audio input from another audio source, otherwise the video frame rate will fall.

• When streaming to a reflector, make sure that UDP mode is chosen instead of HTTP mode. In HTTP mode, the capture station becomes a server.

• No audio is being played back by the applet.

Check to make sure the cable on the sound card is connected to the sound input.

Ensure the proper input on the sound properties control panel is selected. Check using the sound properties control panel that the correct input is selected for recording.

Check with the Sound Recorder application that comes with Windows that the audio can be recorded to a file. The Sound Recorder gives good visual indication of the volume levels when it is recording. If the Sound Recorder

works, Vrecorder and Arecorder should also.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Vviewer Applet• The message "Cannot find class" or "Cannot load applet" indicates that the applet file, Vviewer.jar, included in the distribution was not referenced properly in the HTML. The applet file holds the Java code that make up the client applet. It's location must be specified in the initial applet tag through the use of the codebase and archive statements. Please refer to your Java/HTML manual for further details.

• If the browser displays a gray square, it is likely the archive or code setting was not referenced properly in the HTML.

• If the GUI frame surrounding the applet does not appear, it is likely that the GIF files included in the distribution are not resident together with the .jar file.

• Vviewer error message "Vviewer could not contact the server. It may be out of connections. Please try again later." This could be due to one of the following problems.

•The reflector is not running or not receiving a video stream from the Vrecorder capture application.

•The applet HTML file has the incorrect HTTP port.For example, if the reflector is serving data at HTTP port 8976, the HTML file must have <param name=srcport value=8976>. If the port value is set incorrectly the applet will not be able to connect to the server.

•If this message is seen when trying to view a recorded webcast, check to see if the file being referenced in the HTML file is correct. Please note that the recorded file must be placed at the web server root or lower.

• A sound card is needed. If there is no sound card, the applet will not play.

• Video starts and stops. Data overload problem. Reduce the bit rate the Vrecorder is sending.

• Audio cuts in and out. Data overload problem. Reduce the bit rate the Vrecorder is sending.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

Aplayer Applet• The message "Cannot find class" or "Cannot load applet" indicates that the applet file, Aplayer.jar, included in the distribution was not referenced properly in the HTML. The applet file holds the Java code that make up the client applet. It's location must be specified in the initial applet tag through the use of the codebase and archive statements. Please refer to your Java/HTML manual for further details.

• If the browser displays a gray square, it is likely the archive or code setting was not referenced properly in the HTML.

• If the GUI frame surrounding the applet does not appear, it is likely that the GIF files included in the distribution are not resident together with the .jar file.

• Vplayer error message "Vplayer cannot connect to the audio server. The server is out of connections. Please try again later." This could be due to one of the following problems.

•The reflector is not running or not receiving a video stream from the Arecorder capture application.

•The applet HTML file has the incorrect HTTP port.For example, if the reflector is serving data at HTTP port 8976, the HTML file must have <param name=srcport value=8976>. If the port value is set incorrectly the applet will not be able to connect to the server.

• Vplayer message "Player Destroyed" usually indicates that the recorded file being referenced in the HTML file cannot be found. Please note that the recorded file must be placed at the web server root or lower.

• A sound card is needed. If there is no sound card, the applet will not play.

• Audio is cutting in and out. The problem most likely is the user is connected at 14.4 kbps. The user must be connected at a rate of 28.8 or greater. Check to see what the actual connection is, not the modem they are using.

D I G I T A L V I S U A L C O M M U N I C A T I O N S

SynchronizationVideo and audio in the Vrecorder capture program may be captured from thesame hardware capture card, or on different cards. For example, video may be captured from one card while audio may be captured from the sound card,or a sound card that is built into the motherboard.

The best way to get synchronized audio and video is to either:

•Use the “Default Audio Device” as the audio capture device •Use the same card for both audio and video