Advertisement
Guest User

Untitled

a guest
Nov 27th, 2013
133
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [root@Winston stream]# cat sc_serv_basic.conf
  2. ; NOTE: for any relative paths specified are relative to
  3. ; sc_serv and not to where the conf file is being stored
  4.  
  5. ; here we will setup where the log and other related files
  6. ; will be stored. make sure that these folders exist else
  7. ; sc_serv will throw an error and will close itself down.
  8. ; we will make the logs save to the sc_serv2 directory
  9. logfile=logs/sc_serv.log
  10. w3clog=logs/sc_w3c.log
  11. banfile=control/sc_serv.ban
  12. ripfile=control/sc_serv.rip
  13.  
  14.  
  15. ; for testing we will make the server only work locally
  16. ; (i.e. localhost / 127.0.0.1) though if this is left out
  17. ; or set to publicserver=always then we attempt to make a
  18. ; connection to the YP for listing - do not forget to add
  19. ; in a 'streamauthhash' value for any public streams made
  20. publicserver=always
  21.  
  22.  
  23. ; if you're wanting to use a different port to use for any
  24. ; connections then you can use this option e.g. to use 80
  25. ; otherwise port 8000 is used as the default to listen on.
  26. portbase=8000
  27.  
  28.  
  29. ; password used by sc_trans or the Winamp dsp plug-in
  30. ; NOTE: remember to change this to something else
  31. password=testing
  32.  
  33.  
  34. ; password used for accessing the administation pages
  35. ; NOTE: remember to change this to something else
  36. adminpassword=changeme
  37.  
  38.  
  39. ; now we will specify the details of the stream we're going
  40. ; to serve which can be done as follows
  41. streamid=1
  42. streampath=/test.aac
  43.  
  44. ; or
  45.  
  46. ; it can be done like this which is how it needs to be done
  47. ; if you are going to provide multiple streams from sc_serv
  48. ;streamid_1=1
  49. ;streampath_1=/test.aac
  50. ;streamid_2=2
  51. ;streampath_2=/test2.aac
Advertisement
RAW Paste Data Copied
Advertisement