Quantcast
Channel: Airtime Support Discussions on Sourcefabric Forum
Viewing all articles
Browse latest Browse all 1390

Help me with a few misunderstands issues

$
0
0
Hello to all.

I am an active sourcefabric follower, and I was contributing a little
with some bug reports of campsite.

In this case, I have compiled and installed succesfully Campcaster under
Centos 5.5 32bits. I was reading all the information and documentation I
found in the site, but there are some issues I can't understand.

I want to make an internet streaming radio. Both scheduled and live
broadcasting. I also contracted a VPS for this purpose. Campcaster is
currently running ok (1.4.0) with a minnor issues fixes for
postinstallation (I will post them below at the end).

So, the configuration is: in the Virtual Private Server i was
contracted, is running Scheduller and StorageServer with a lot of gb of
mp3 music already imported. At the other end, in my house, I have
Campcaster Studio running under ubuntu.

Well, the main dude I have is how campcaster scheduller streaming the
playback mp3 included under the playing playlists? When compiling
campcaster, it's need for GStreamer. So, What is the use of gstreammer
in campcaster? It is used for streamming (if this is the case, what is
the URL I will get the streammed music) or it is only used for convert
between formats (like oog - mp3)?

AFAIK campcaster not have streamming server. So what streamming server
you can advice? Darwing? Icecast? What is the URL I use to get the
output from campcaster to imput at the streamming server?

What is the mean of "Station URL" under Station Settings? this is only
informative, or this is the output streamming?

In the same options, "Scheduler startup script" I have configurated
/etc/init.d/campcaster-scheduler but when I select Scheduller->Status I
get "Scheduler startup script does not appear to be valid. Please check
the value you have set in "Preferences->System Settings". Scheduller is
currently running, but I don't know why I get this message.

The main idea for the radio, is streamming throught a web page using
campcaster as scheduller, but at some times I want to connect from my
home campcaster studio to scheduller to broadcast live shows, and after
that, resummin to the campcaster scheduller only.

Because the information is very hard to find, I can't found a real
answer to thi issue. (BTW: it is possible to fix all broken links in
sourcefabric dev, forums and wiki? Because is very very hard to follow a
thread or found somethings. A better one if you can replace the current
forum with a new that can publish threaded all the messages of the
lists, like mailman archive, ezmlm, mhonarc, etc).

To finish this long message I post all the steps I use to compiling and
install sucesfully campcaster in centos5.5 32 bits.

Firs of all you need to activate https, ntpd, and postgresql (I used 8.4.x)
The install the repositories epel, rpmforge and pgdg84 (this last if you
want postgresql 8.4) with yum plugin prioritize and configured too.
Then install all the php modules, like php-pgsql, etc. Also you want to
install phpPgAdmin to acces via web you postgresql server.
Then install all the require software as say in the campcaster
requirements software (look inside doc folder). Because we are
compiling, install all the software and the develpment packages
(followed by -devel), for instance: "yum install libtar libtar-devel".
Don't miss to install "yum install gstreamer gstreamer-devel
gstreamer-plugins-base gstreamer-plugins-base-devel
gstreamer-plugins-good gstreamer-plugins-good-devel gstreamer-tools"

Because the packages lcov and libserial are not under any repository,
you need to compile and install them befor you continue. If this help
you, I attached them (source rpm and binary)



Then type:
./configure --prefix=/home/campcaster --with-create-database
--with-init-database --with-configure-apache --with-apache-group=apache
--with-www-docroot=/var/www/html --with-create-odbc-data-source
--with-hostname=mysite.com

Then type:
make

If you get an error with some missing package, install the develpment
package (name followed by "-devel") and resume the make typing "make" again.

When finish, do these changes to install and initialize all the software
without problems:

File /etc/pg_hba.conf change the METHOD "ident sameuser" to "password"
in the line 86

File /etc/campcaster-scheduller change the line 5 to where you will
install campcaster. In this example, change /opt/campcaster to
/home/campcaster

File /bin/PostInstallStation.sh change the line 261

from:
chown root:$postgres_user $pg_config_dir/$pg_config_file

to:
chown $postgres_user:$postgres_user $pg_config_dir/$pg_config_file


File /src/modules/storageServer/var/cron/Crontab.php line 116

from:
$this->addCron($ct[0], $ct[1], $ct[2], $ct[3], $ct[4], $ct[5], $ct[6]);

to:
$this->addCron($ct[0], $ct[1], $ct[2], $ct[3], $ct[4], $ct[5]);

Then type:
make install


Now copy some missing files from the source directory (where you
compiled) to the installation directory.
So, following this example paths:

Copy the file
/yoursourcedirectory/src/modules/htmlUI/var/ui_twitterCron.p hp to
/home/campcaster/var/Campcaster/htmlUI/var
Copy the directory
/yoursourcedirectory/src/modules/htmlUI/var/templates/twitte r to
/home/campcaster/var/Campcaster/htmlUI/var/templates
Copy the directory
/yoursourcedirectory/src/modules/htmlUI/var/templates/backup to
/home/campcaster/var/Campcaster/htmlUI/var/templates

Now go to your postgresql server and create a database named
"campcaster, and add a user "Campcaster" with a password "campcaster"
and assign with full privileges to the database "campcaster". You can do
this thorugh phpPgAdmin

Finnaly, go to your campcaster installed directory (/home/campcaster)
and type:
./bin/postInstallStation.sh --directory=/home/campcaster
--postgresql-dir=/var/lib/pgsql/data

and also type:
./bin/campcaster-scheduler.sh install

Now copy the file /bin/etc/campcaster-scheduler to /etc/init.d/

To start scheduling type:
/etc/init.d/campcaster-scheduler start

No go to you web page:

http://yourserver/campcaster and login with user "root" with pass "q"


best regards
Normando


Viewing all articles
Browse latest Browse all 1390

Trending Articles