Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

sc_trans.conf

By: a guest on Nov 6th, 2012  |  syntax: None  |  size: 2.50 KB  |  views: 4  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ; NOTE: for any relative paths specified are relative to
  2. ; sc_trans and not to where the conf file is being stored
  3.  
  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_trans will throw an error and will close itself down.
  8. logfile=logs/sc_trans.log
  9.  
  10.  
  11. ; for the purpose of this test then we will not take into
  12. ; account the use of a calendar.xml file and so disable it
  13. calendarrewrite=0
  14.  
  15.  
  16. ; for testing we will only setup a single encoder though it
  17. ; is easy to add in additional encoder configurations and
  18. ; we are using an aac plus encoder as the default due to
  19. ; the licensing requirements for mp3 encoding as detailed
  20. ; in sc_trans.txt - section 2.5).
  21. encoder_1=aacp
  22. bitrate_1=56000
  23.  
  24.  
  25. ; this is where we define the details required for sc_trans
  26. ; to connect to the sc_serv instance being used where the
  27. ; details must match those specified in sc_serv_basic.conf
  28. outprotocol_1=3
  29. serverip_1=<MY_IP_ADDRESS>
  30. ; default is 8000, if not change to sc_serv's 'portbase'
  31. serverport_1=8000
  32. ; this is the same as 'password' in sc_serv_basic.conf
  33. password_1=testing
  34. ; this is the same as 'streamid' in sc_serv_basic.conf for
  35. ; the stream we are acting as the source for
  36. streamid_1=1
  37. ; this is a name for the source we're creating and is used
  38. ; with the AJAX control api or can be left blank to get a
  39. ; generic name created in the form of 'endpointX' where 'X'
  40. ; is the index of the created source from sc_trans lists.
  41. endpointname_1=
  42.  
  43.  
  44. ; here you would provide any information to fill in details
  45. ; provided to clients about the stream. it us upto you what
  46. ; is entered though do not do anything which will annoy, etc
  47. streamtitle=My Test Server
  48. streamurl=http://www.shoutcast.com
  49. genre=Misc
  50.  
  51.  
  52. ; here we specify a playlist to use as the master list from
  53. ; which to play files from.
  54. playlistfile=playlists/main.lst
  55.  
  56.  
  57. ; these options will allow you access the admin interfaces
  58. ; of sc_trans though also allows the 'testui' example to be
  59. ; accessed. remember to change the password, etc as needed
  60. adminport=7999
  61. adminuser=admin
  62. adminpassword=goaway
  63.  
  64.  
  65. ; if we want to have an intro file for when the client gets
  66. ; the stream or a backup file incase of our connection to
  67. ; the server failing then we can set these. this is needed
  68. ; as we are using 'outprotocol=3' which supports this (and
  69. ; is needed in place of the sc_serv defined values to work)
  70. ;serverintrofile=<specify_intro_filepath>
  71. ;serverbackupfile=<specify_backup_filepath>