Setting up Icecast2 streaming server on the Internet for live streaming











up vote
2
down vote

favorite
1












I have looking through tutorials for setting up Icecast2 server and ices2 on Ubuntu. Unfortunately all of these are based on LAN. I want to set up a Icecast server on a ubuntu machine which will be connected 24/7 to the Internet. The clients need to access the streams, the server provides from across the globe. Assuming the server has a static IP, how do i configure Icecast? Also I have a Behringer UCA 202 as a capture source. How do i configure ices2 to use this as a live capture source and stream it to the the above mentioned server.



Thanks in advance.










share|improve this question


























    up vote
    2
    down vote

    favorite
    1












    I have looking through tutorials for setting up Icecast2 server and ices2 on Ubuntu. Unfortunately all of these are based on LAN. I want to set up a Icecast server on a ubuntu machine which will be connected 24/7 to the Internet. The clients need to access the streams, the server provides from across the globe. Assuming the server has a static IP, how do i configure Icecast? Also I have a Behringer UCA 202 as a capture source. How do i configure ices2 to use this as a live capture source and stream it to the the above mentioned server.



    Thanks in advance.










    share|improve this question
























      up vote
      2
      down vote

      favorite
      1









      up vote
      2
      down vote

      favorite
      1






      1





      I have looking through tutorials for setting up Icecast2 server and ices2 on Ubuntu. Unfortunately all of these are based on LAN. I want to set up a Icecast server on a ubuntu machine which will be connected 24/7 to the Internet. The clients need to access the streams, the server provides from across the globe. Assuming the server has a static IP, how do i configure Icecast? Also I have a Behringer UCA 202 as a capture source. How do i configure ices2 to use this as a live capture source and stream it to the the above mentioned server.



      Thanks in advance.










      share|improve this question













      I have looking through tutorials for setting up Icecast2 server and ices2 on Ubuntu. Unfortunately all of these are based on LAN. I want to set up a Icecast server on a ubuntu machine which will be connected 24/7 to the Internet. The clients need to access the streams, the server provides from across the globe. Assuming the server has a static IP, how do i configure Icecast? Also I have a Behringer UCA 202 as a capture source. How do i configure ices2 to use this as a live capture source and stream it to the the above mentioned server.



      Thanks in advance.







      streaming icecast ices






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 26 '12 at 7:59









      tinhed

      1,89021625




      1,89021625






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          After we followed




          • How do I setup an Icecast server for broadcasting audio in my network?


          we will be able to create an Icecast2 radio stream from the default pulseaudio output device in our system.



          In case we have setup the input source (e.g. here your Behringer UCA 202) to output to this default sink (i.e. we are able to listen to the input on our local machine) this will then be sent as an Icecast stream to our network.



          If we want to reach this Icecast server from the Internet we can do so via the following radio URL:



          http://<ip_of_server>:<port>/<name_of_stream>


          Replace <ip_of_server> with the external IP of the network where the Icecast server runs. Replace <port> with the port Icecast uses for streaming (defaults to 8000 as defined in /etc/icecast2/icecast.xml). Also give the name of your mount point as defined in the ices-alsa.xml or darkice.cfg file you are using (e.g. stream.ogg).




          We need to open and forward the listen port for access to the Icecast server from the Internet.




          Listener authentification can be defined in the icecast.xml file as well as we can define another relay server for our stream if needed for bandwith or accessibility.



          Further information on settings can be found here: Icecast2 Documentation






          share|improve this answer






























            up vote
            0
            down vote













            You should use darkice for streaming from input devices instead of ices2. See this thread:




            • https://askubuntu.com/a/28498/94697


            ices2 is used for vorbis-streaming, e.g. ogg-playlists.



            ices0 is used for lame-streaming, e.g. mp3-playlists.






            share|improve this answer























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "89"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f206628%2fsetting-up-icecast2-streaming-server-on-the-internet-for-live-streaming%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              0
              down vote













              After we followed




              • How do I setup an Icecast server for broadcasting audio in my network?


              we will be able to create an Icecast2 radio stream from the default pulseaudio output device in our system.



              In case we have setup the input source (e.g. here your Behringer UCA 202) to output to this default sink (i.e. we are able to listen to the input on our local machine) this will then be sent as an Icecast stream to our network.



              If we want to reach this Icecast server from the Internet we can do so via the following radio URL:



              http://<ip_of_server>:<port>/<name_of_stream>


              Replace <ip_of_server> with the external IP of the network where the Icecast server runs. Replace <port> with the port Icecast uses for streaming (defaults to 8000 as defined in /etc/icecast2/icecast.xml). Also give the name of your mount point as defined in the ices-alsa.xml or darkice.cfg file you are using (e.g. stream.ogg).




              We need to open and forward the listen port for access to the Icecast server from the Internet.




              Listener authentification can be defined in the icecast.xml file as well as we can define another relay server for our stream if needed for bandwith or accessibility.



              Further information on settings can be found here: Icecast2 Documentation






              share|improve this answer



























                up vote
                0
                down vote













                After we followed




                • How do I setup an Icecast server for broadcasting audio in my network?


                we will be able to create an Icecast2 radio stream from the default pulseaudio output device in our system.



                In case we have setup the input source (e.g. here your Behringer UCA 202) to output to this default sink (i.e. we are able to listen to the input on our local machine) this will then be sent as an Icecast stream to our network.



                If we want to reach this Icecast server from the Internet we can do so via the following radio URL:



                http://<ip_of_server>:<port>/<name_of_stream>


                Replace <ip_of_server> with the external IP of the network where the Icecast server runs. Replace <port> with the port Icecast uses for streaming (defaults to 8000 as defined in /etc/icecast2/icecast.xml). Also give the name of your mount point as defined in the ices-alsa.xml or darkice.cfg file you are using (e.g. stream.ogg).




                We need to open and forward the listen port for access to the Icecast server from the Internet.




                Listener authentification can be defined in the icecast.xml file as well as we can define another relay server for our stream if needed for bandwith or accessibility.



                Further information on settings can be found here: Icecast2 Documentation






                share|improve this answer

























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  After we followed




                  • How do I setup an Icecast server for broadcasting audio in my network?


                  we will be able to create an Icecast2 radio stream from the default pulseaudio output device in our system.



                  In case we have setup the input source (e.g. here your Behringer UCA 202) to output to this default sink (i.e. we are able to listen to the input on our local machine) this will then be sent as an Icecast stream to our network.



                  If we want to reach this Icecast server from the Internet we can do so via the following radio URL:



                  http://<ip_of_server>:<port>/<name_of_stream>


                  Replace <ip_of_server> with the external IP of the network where the Icecast server runs. Replace <port> with the port Icecast uses for streaming (defaults to 8000 as defined in /etc/icecast2/icecast.xml). Also give the name of your mount point as defined in the ices-alsa.xml or darkice.cfg file you are using (e.g. stream.ogg).




                  We need to open and forward the listen port for access to the Icecast server from the Internet.




                  Listener authentification can be defined in the icecast.xml file as well as we can define another relay server for our stream if needed for bandwith or accessibility.



                  Further information on settings can be found here: Icecast2 Documentation






                  share|improve this answer














                  After we followed




                  • How do I setup an Icecast server for broadcasting audio in my network?


                  we will be able to create an Icecast2 radio stream from the default pulseaudio output device in our system.



                  In case we have setup the input source (e.g. here your Behringer UCA 202) to output to this default sink (i.e. we are able to listen to the input on our local machine) this will then be sent as an Icecast stream to our network.



                  If we want to reach this Icecast server from the Internet we can do so via the following radio URL:



                  http://<ip_of_server>:<port>/<name_of_stream>


                  Replace <ip_of_server> with the external IP of the network where the Icecast server runs. Replace <port> with the port Icecast uses for streaming (defaults to 8000 as defined in /etc/icecast2/icecast.xml). Also give the name of your mount point as defined in the ices-alsa.xml or darkice.cfg file you are using (e.g. stream.ogg).




                  We need to open and forward the listen port for access to the Icecast server from the Internet.




                  Listener authentification can be defined in the icecast.xml file as well as we can define another relay server for our stream if needed for bandwith or accessibility.



                  Further information on settings can be found here: Icecast2 Documentation







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Apr 13 '17 at 12:24









                  Community

                  1




                  1










                  answered Oct 26 '12 at 18:27









                  Takkat

                  105k35245374




                  105k35245374
























                      up vote
                      0
                      down vote













                      You should use darkice for streaming from input devices instead of ices2. See this thread:




                      • https://askubuntu.com/a/28498/94697


                      ices2 is used for vorbis-streaming, e.g. ogg-playlists.



                      ices0 is used for lame-streaming, e.g. mp3-playlists.






                      share|improve this answer



























                        up vote
                        0
                        down vote













                        You should use darkice for streaming from input devices instead of ices2. See this thread:




                        • https://askubuntu.com/a/28498/94697


                        ices2 is used for vorbis-streaming, e.g. ogg-playlists.



                        ices0 is used for lame-streaming, e.g. mp3-playlists.






                        share|improve this answer

























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          You should use darkice for streaming from input devices instead of ices2. See this thread:




                          • https://askubuntu.com/a/28498/94697


                          ices2 is used for vorbis-streaming, e.g. ogg-playlists.



                          ices0 is used for lame-streaming, e.g. mp3-playlists.






                          share|improve this answer














                          You should use darkice for streaming from input devices instead of ices2. See this thread:




                          • https://askubuntu.com/a/28498/94697


                          ices2 is used for vorbis-streaming, e.g. ogg-playlists.



                          ices0 is used for lame-streaming, e.g. mp3-playlists.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Apr 13 '17 at 12:24









                          Community

                          1




                          1










                          answered Dec 21 '12 at 11:42









                          Afri

                          93431525




                          93431525






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.





                              Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                              Please pay close attention to the following guidance:


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f206628%2fsetting-up-icecast2-streaming-server-on-the-internet-for-live-streaming%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              數位音樂下載

                              When can things happen in Etherscan, such as the picture below?

                              格利澤436b