 |
Link To US!
|
|
|
The Vanguard of the Video Revolution |
NSV Support and More! |
|
Streaming NSV With The Icecast Media Server
|
Home
|
Configuring A NSV Source Client For Use With A Icecast Media Server
-You need to select Shoutcast in NSVcap or use
/SC for the command line streaming for the media server.
-You need to input the correct password used with the Icecast server.
( The Icecast server will not accept the source data using a incorrect password.)
-You need to use the appropriate port number so that the Icecast server can
receive your source material.
( The Icecast server will not receive the source data using a incorrect port number.)
Icecast Server Configuration for NSV
<limits>
<clients>100</clients>
<sources>2</sources>
clients
Total number of concurrent clients supported by the server. Listeners are considered clients, but so is accesses to any static content (i.e. fileserved content) and also any requests to gather stats. These are max *concurrent* connections for the entire server (not per mountpoint).
sources
Maximum number of connected sources supported by the server.
Icecast 2 Media Server Documentation
<listen-socket>
<port>8000</port>
</listen-socket>
<listen-socket>
<port>8001</port>
<shoutcast-compat>1</shoutcast-compat>
</listen-socket>
This indicates that this port will operate in 'shoutcast-compatibility' mode.
Due to major differences in the source client connection protocol,
if you wish to use any of the shoutcast
source tools, you will need to configure at least one socket as shoutcast-compatible.
Icecast 2 Media Server Documentation
<authentication>
<!-- Sources log in with username 'source' -->
<source-password>hackme</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>hackme</relay-password>
source-password
The unencrypted password used by sources to connect to icecast2.
<!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>hackme</admin-password>
</authentication>
admin-password
The username/password used for all administration functions. This includes
retrieving statistics, accessing the web-based administration screens, etc.
Icecast 2 Media Server Documentation
<mount>
<mount-name>/stream.nsv</mount-name>
<password>hackmemore</password>
<max-listeners>5</max-listeners>
<max-listener-duration>3600</max-listener-duration>
<intro>/intro.nsv</intro>
<burst-size>65536</burst-size>
</mount>
<shoutcast-mount>/stream.nsv</shoutcast-mount>
mount-name
The name of the mount point for which these settings apply.
password
An optional value which will set the password that a source must use to
connect using this mountpoint.
max-listeners
An optional value which will set the maximum number of listeners that can be
attached to this mountpoint.
max-listener-duration
An optional value which will set the length of time a listener will stay connected to the stream.
An auth component may override this.
intro
An optional value which will specify the file those contents will be sent to
new listeners when they connect but before the normal stream is sent.
Make sure the format of the file specified matches the streaming format.
The specified file is appended to webroot before being opened.
shoutcast-mount
The mountpoint to use when shoutcast compatible source clients must connect.
The default is /stream but can be overridden here to use an alternative name
which may include an extension that some clients require for certain formats.
You must change the parameters highlighted in Red.
NSV Video Configuration for Icecast
There are no specific settings for video in <mount>. NSV streams usually have
mountpoints ending in .nsv due to players (icecast doesn't care) and Ogg Theora
streams tend to end in .ogg.
forum.icecast.org
Icecast Relay Of Shoutcast NSV Stream
<icecast>
<limits>
<clients>10</clients>
<sources>1</sources>
<!-- This is the hostname other people will use to connect to your server.
It affects mainly the urls generated by Icecast for playlists and yp
listings. -->
<hostname>123.45.1.11</hostname>
|
|
<!--<relay>
<server>http://www.mytv.com</server>
<port>8000</port>
<mount>/stream.nsv</mount>
<local-mount>/stream.nsv</local-mount>
<on-demand>1</on-demand>
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
</relay>-->
<!-- set the mountpoint for a shoutcast source to use, the default if not
specified is /stream but you can change it here if an alternative is
wanted or an extension is required-->
<shoutcast-mount>/stream.nsv</shoutcast-mount>
|
If you want the Shoutcast relay stream to have metadata contained within it
(Shoutcast metadata is embedded in the stream itself) then that configuraiton needs to be set to 1.
You must change the parameters highlighted in Red.
Setting Up A Single-Broadcast Relay
<relay>
<server>192.168.1.11</server>
<port>8000</port>
<mount>/stream.nsv</mount>
<local-mount>/stream.nsv</local-mount>
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
</relay>
You must change the parameters highlighted in Red.
Icecast 2 Media Server Documentation
Video Introduction
It is possible to insert an intro to a video stream, just like with audio
streaming.
Make sure it is the same format as the video that you are streaming.
forum.icecast.org
Switching Between Source Clients, Without Losing Viewers
You must use a fallback mount (with override), it can be a file or another stream, but it
must be of the same format.
Your Station Displaying In The Icecast Yellow Pages / Stream Directory
<!-- <directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
</directory> -->
You must remove the parameters highlighted in Red.
( The Oddsock YP is no longer operational. )
The server needs to be defined in the xml, eg dir.xiph.org and not uncommented,
then the stream has to be marked public, eg either by the source client defining
that or by specifying certain setting in <mount>. The YP servers can still
prevent listing if they cannot access Icecast, this is often down to a
misconfigured <hostname> or a firewall blocking access.
Listener authentication
This is a feature of Icecast which allows you to secure a certain mountpoint
such that in order to listen, a listener must pass some verification test. With
this feature, a simple pay-for-play operation (eg user/pass), or some filtering
based on the listener connection can be performed.
Icecast 2 Media Server Documentation
|
|
|
Top of Page
SCVI.net, unless otherwise stated. All Rights Reserved.
Web Stats
|
|
|