sc_nsv and sourcebackup

Steamcast is a stand alone server that combines the features of SHOUTcast and Icecast2 and more to make one mega awesome server.
Post Reply
Viper
Posts: 12
Joined: Mon Jan 31, 2005 3:27 am

sc_nsv and sourcebackup

Post by Viper »

hello

it is possible to combine sc_nsv and sourcebackup?

so when my live source is offline (SourceMount=/live.nsv), that the sc_nsv streams a video (Sourcebackup=/live_back.nsv)

i already startet sc_nsv and he streams the local video from the server with live_back.nsv
but now, i cant login with my live source to stream at live.nsv

any suggestions ?
thx
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

You are free to try it but I cannot say with any certainty it will work as NSV is a container format. So glitching or even disconnection may occur. For the moment I have only tested the feature with mp3.

As far as not being able to use your original source, my first guess is that your original source mount and backup mount use the same password. The passwords must be different.
- Jay
Viper
Posts: 12
Joined: Mon Jan 31, 2005 3:27 am

Post by Viper »

ok thx
how can i use different passwords for sourcemount and sourcebackup?
in steamcast.cfg i only have sourcpass and this is for both.
give me a tip pls

and yes, no i use the same PW for my live stream from my pc and for the sc_nsv source

and it works fine on redhat 9 :)
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

should look something like this

SourceMount=/live.mp3
SourceBackup=/live_backup.mp3
SourceUser=Source
SourcePass=somepass1

SourceMount=/live_backup.mp3
SourceUser=Source
SourcePass=somepass2

of course I omitted the extra source configurations you can use so make sure you duplicate whatever is neccessary.
- Jay
Viper
Posts: 12
Joined: Mon Jan 31, 2005 3:27 am

Post by Viper »

2nd source is not neccessary but i think its good to stream a "offline"-intro video when the live source sends no video files (live source is offline)

thx Jay, i will try a little and hope to find the right configuration
Viper
Posts: 12
Joined: Mon Jan 31, 2005 3:27 am

Post by Viper »

hm it dont work :(

nobode esle who tries such a configuration out?
who wants to try?

maybe we can finde a solution together, thx
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

well you need to make sure you source both mounts.
- Jay
Viper
Posts: 12
Joined: Mon Jan 31, 2005 3:27 am

Post by Viper »

hi,

is AutoDumpUsers for steamcast available?

and when i stream to my server, he writes: 1 Source (i think thats the normal sourcemount) and when i send a 2nd sourc, i have "source channel already in use"

how can i source the backup source?

with nsvcap.exe i only stream, i cant typ in for example live.nsv when my soursemount is called : sourcemount=/live.nsv

and sourcebackup=live_back.nsv ??


or i missunderstand this sourcebackup funktion.
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

to source the back up mount you would need to have a seperate instance of your source program connect to it via the correct credentials. It is not neccessary for the source to specify the mount name. Just make sure your passwords for the source and the backup are different. This is how Steamcast determines which source you are trying to broadcasting to.
- Jay
Viper
Posts: 12
Joined: Mon Jan 31, 2005 3:27 am

Post by Viper »

hi,
when i write this syntax:

SourceMount=/live.nsv
SourcePass=pass

SourceBackup=/live_back.nsv
SourcePass=pass1

i only can stream with the pass1 , when i try to connect with the other source: Invalid login on source channel stream
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

well did you fill that out with more then just pass?

You will need a SourceUser as well and you also need to make sure you set SourceIsSC=Yes for each new mount.
- Jay
Viper
Posts: 12
Joined: Mon Jan 31, 2005 3:27 am

Post by Viper »

my config is

Code: Select all

.
.
.
AutoDumpUsers=1
.
SourceIsSc=Yes
SourceMount=/live.nsv
SourceUser=Encoder
SourcePass=pw1

SourceIsSc=Yes
SourceBackup=/live_back.nsv
SourceUser=Encoder
SourcePass=pw2
.
.
.
SourceIsDefault=Yes
.
.
i stream the source from nsvcap.exe and the backup from nsvgui.exe.
Source with pw1, backup with pw2

put i only can stream when i use pw2 ,
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

Code: Select all

.
.
.
.

SourceMount=/live.nsv
SourceBackup=/live_back.nsv
SourceUser=Encoder
SourcePass=pw1
SourceUserMax=10
SourceIsSc=Yes
SourceIsDefault=Yes

SourceBackup=/live_back.nsv
SourceUser=Encoder
SourcePass=pw2
SourceUserMax=10
SourceIsSc=Yes
.
.
.
.
.
fixed
- Jay
Viper
Posts: 12
Joined: Mon Jan 31, 2005 3:27 am

Post by Viper »

thx for the fix jay,

but i tried it and its the same result as i posted above.

i only can stream when i use the pw who stands at the bottom of the config file

in our example, when i use pw2
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

Code: Select all

.
.
.
.

SourceMount=/live.nsv
SourceBackup=/live_back.nsv
SourceUser=Encoder
SourcePass=pw1
SourceUserMax=10
SourceIsSc=Yes
SourceIsDefault=Yes

SourceMount=/live_back.nsv
SourceUser=Encoder
SourcePass=pw2
SourceUserMax=10
SourceIsSc=Yes
.
.
.
.
.
fixed for real now, totally missed that you were using sourcebackup incorrectly
- Jay
Post Reply