top of page

Roller Skaters Anonymous ✌️💋

Public·33 Skate-Aholics

Asher Cooper
Asher Cooper

Android Shoutcast Stream Source Code


I want to make it clear before you start reading that I want to develop an android based app to use android device as a broadcaster, which records sound using its mic and sent it to shoutcast server something like this:




Android Shoutcast Stream Source Code


DOWNLOAD: https://www.google.com/url?q=https%3A%2F%2Furluso.com%2F2ueyCn&sa=D&sntz=1&usg=AOvVaw2HR4QTYF91ZOSMBgp1W6qW



So please do not get confused with playing shoutcast streams on android, because I do not want to develop a player to play an stream. If you are looking for developing a player then download source code from given link, it worked fine for me.Click to download Source code.


Now back to my question, I googled a lot in last two weeks and found This article, which helped me to use builtin mic of android device and stream over a local network. One can listen the stream using VLC.


Is there any url based system on shoutcast server, to which if I will send a stream then it will get the stream and broadcast to my listeners? e.g. if I want to listen stream (down streaming), i can use :1234;stream.mp3 and I am asking for up-streaming.


Fortunately, the SHOUTcast source protocol is quite simple. All you need to do is send your password, followed by a line break. If you get a favorable response from the server, then send your icy-* headers followed by two line breaks, and followed by your encoded audio data. I have outlined this in detail when this question was asked for iOS a couple years ago: You can see the protocol yourself by using a packet sniffer like Wireshark and running it while you connect the Winamp SHOUTcast DSP (or other SHOUTcast source client) to your server.


Finally, don't forget to use an appropriate codec. With SHOUTcast, it's best to use either MP3 (as-is), or an AAC stream wrapped in ADTS. When I tried this project awhile back, I had a hard time figuring out how to get the audio encoded properly, as at least Android 2.1 didn't seem to have a way to encode to a stream and not to a file. I'm no Android dev though, so maybe you will find a better way!


I'm currently working on a app for a podcast (katg.com) which will let you listen live etc... however, I have not found any open source code available to stream shoutcast. I know there are some ways of doing it, but I find it hard to find any available code on the net that explains it for a java/android beginner like myself. Anyone know of any libs/tutorial/examples/code that shows how to do this on android?


The next major Winamp version, Winamp3 (so spelled to include mp3 in the name and to mark its separation from the Winamp 2 codebase), was released on August 9, 2002. It was a complete rewrite of version 2, newly based on the Wasabi application framework, which offered additional functionality and flexibility. Winamp3 was developed parallel to Winamp 2, but "many users found it consumed too many system resources and was unstable (or even lacked some valued functionality, such as the ability to count or find the total duration of tracks in a playlist)".[63][64] Winamp3 had no backward compatibility with Winamp 2 plugins, and the SHOUTcast sourcing plugin was not supported. No Winamp3 version of SHOUTcast was ever released.


In response to users reverting to Winamp 2, Nullsoft continued the development of Winamp 2 to versions 2.9 and 2.91 in 2003,[65] even alluding to it humorously.[66] The beta versions 2.92 and 2.95 were released with the inclusion of some of the functionality of the upcoming Winamp 5. During this period the Wasabi cross-platform application framework and skinnable GUI toolkit was derived from parts of the Winamp3 source code. For Linux, Nullsoft released an alpha version of Winamp3 on October 9, 2001, but has not updated it despite continued user interest.[67]


GStreamer is an open source cross-platform multimedia framework that allows you to create a variety of media-handling components, including streaming components. Through its plugin system, GStreamer provides support for more than a hundred codecs (including MPEG-1, MPEG-2, MPEG-4, H.261, H.263, H.264, RealVideo, MP3, WMV, and FLV.)


A source is from where Flussonic receives a stream of video data. A source can be an IP camera, a satellite headend, an HTTP server, and so on. To specify the source of a stream, you need to know its address and the video protocol over which Flussonic receives video data, in other words, you need to know the URL. Make sure your input stream meets the requirements.


A generic HTTP server could serve a pre-packaged HLS manifest and chunks with video data. In the case where the manifest file is static Flussonic would not be able to ingest HLS stream. Flussonic Media Server will wait for new segments to appear until till timeout, then it will restart this source and try to fetch again the existing segments.


Sometimes you would want to make sure that your source is not a generic HTTP server, but a streaming server that will not serve outdated segments and you want to enable HLS source in ondemand configuration.


VLC For Android publicly started with a beta project and now, they have launched a full-fledged app that is supported wholly by the VideoLAN team. They claim it to be the best open source video and music player that is fast and user-friendly. It already has over 100 million downloads in the Play Store. This port for Android can play any video and audio stored on your phone, tablet or any other device powered by Android. Apart from local storage, it can also access network streams, network shares, and DVD ISOs.


The VLC streaming player from the VideoLAN Organization is an open-source audio and video player. The player will play video or audio files stored locally on your hard drive, and will also play streaming audio and video from a local network or the internet.


To open a stream from YouTube or another common online source, simply copy the video URL and paste it into the box. The process is exceptionally simple and the player will stream videos straight from the source or straight from your hard drive. You can also enter the URL for a live stream to watch in high-quality via a simple media player.


The icy-metaint: 32768 parameter is the most important value for us, because it tells us the blocksize of the MP3 data. In this example, the size of one MP3 block is 32768 bytes. After the connection has been established, the stream starts with an MP3 block of 32768 bytes. This block is followed by one single byte, that indicates the size of the following metadata block. This byte usually has the value 0, because there is no metadata block after each MP3 block. If there is a metadata block, the value of the single byte has to be multiplied by 16 to get the length of the following metadata block. The metadata block is followed by an MP3 block, the single metadata length byte, eventually a metadata block, an MP3 block, and so on (source: Shoutcast Metadata Protocol by Scott McIntyre).


With some experience about using threads, it is no problem to use this code for downloading multiple streams at the same time. I have added some extra features, like different destination folders for the different streams, storing the stream information in an XML file, a view over all the streams with their status, downloaded bytes, bytes per second, etc. All this together with a GUI gives you quite a nice program to rip multiple streams at the same time. But as I mentioned at the beginning of this article, it was a 'quick and dirty' program that was developed during a lazy nightshift, and it's nothing I would let somebody see the spaghetti-source code of. ;-)


In previous versions of FRP, you couldn't keep more than one stream. but with v2, you are able handle more source but only 1 stream will be active at once. Futhermore you will able to add the sources dynamically by calling


If you are looking to stream audio in Delphi Firemonkey there is a new streaming audio wrapper library available for the BASS audio streaming library over on Github. You can use the library to stream internet radio like data from Shoutcast and Icecast servers. The wrapper specifically supports Android and Windows but the BASS library also supports IOS and Mac OSX. You should be able to add those platforms yourself to the wrapper without too much trouble. It supports adjustable buffering and proxy servers as well. Obviously full source code for the wrapper is available but the BASS library is a commercial library. BASS is free for non-commercial use and there is a licensing fee for commercial use. The wrapper library is written for Delphi XE7 but should also work in Delphi XE8 and Appmethod with few if any changes.


Android Studio is the official integrated development environment (IDE) for building Android apps and games. It is developed by Google and can be used to develop applications in Java, C++ and Kotlin programming languages. In addition, Android Studio also provides a robust suite of development resources such as code templates and refactoring support, version control, applications performance profiling and debugging.


An Android Studio Developer is a software engineer that specializes in developing apps for the Android Operating System (OS) using Android Studio as their primary source code editor. An expert Android Studio Developer can take an idea for an app or a game from concept to completion. Skilled Android Studio Developers have an expert understanding of how to use the advanced design tools within the IDE, the necessary coding languages, frameworks, libraries and APIs needed to make the app creation process successful.


To stream audio or video to Icecast using VLC you need to first ensure you have the right module installed. If you are using Linux you will need to download the latest source code and install VLC with the shout module. To install this module in Linux you will need to configure VLC with the --enable--shout parameter. 041b061a72


Skate-Aholics

Join our mailing list

Thanks for subscribing!

  • Instagram
  • Facebook
  • TikTok
bottom of page