internet-radio

Send buffer stream to Icecast server using jshout in Java [closed]

久未见 提交于 2019-12-12 04:51:01
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . I am trying to develop live streaming using Icecast or SHOUTcast library. I recorded audio in Java, and I need to send a byte stream to the Icecast Server. 回答1: http://icecast.org/download/#bindings lists: https://github.com/OlegKunitsyn/libshout-java Have you tried that yet? Also

How to reencode stream in fly and translate?

南笙酒味 提交于 2019-12-11 21:30:04
问题 I have urls to the Icecast/Shoutcast streams, how can i relay these streams in multiple bitrates? I know how to reencode file, but don't know how to reencode stream in multiple bitrates. For example i find two icecast/shoutcast stream url/server: http://icecast_stream.ru:8000/play http://shoutcast_stream:8000/ I want to relay it in multiple bitrates: http://localhost:8000/icecast_stream_32 http://localhost:8000/icecast_stream_64 http://localhost:8000/icecast_stream_128 http://localhost:8000

Streaming internet radio error android

允我心安 提交于 2019-12-11 14:28:58
问题 I am trying out to play internet radio with an example downloaded from http://www.4shared.com/zip/OTcJZZft/StreamingRadio.html which works kinda like given in this example Online radio streaming app for Android, but the problem is my logcat keeps throwing this error: 11-07 17:20:39.207: E/MediaPlayer(335): error (1, -1002) 11-07 17:20:39.237: E/MediaPlayer(335): Error (1,-1002) 11-07 17:20:48.882: W/KeyCharacterMap(335): No keyboard for id 0 11-07 17:20:48.886: W/KeyCharacterMap(335): Using

Get start and end time of current playing song

你。 提交于 2019-12-11 06:37:10
问题 I am trying to implement a radio stream switcher in android. What I would like to do, in the desired order, is this: Start streaming a radio station Get the endTime of the current playing song from that station At endTime - Delta, I want to scan a list of stations and I want to get back a list of stations that have a new song starting in the interval [endTime, endTime + Delta'] Switch to a stream from the result set in [3] and then repeat So, I can stream a radio station (no problem). I can

How do I extract streamed “now playing” data embedded in an Icecast audio (radio) stream on Samsung Smart-TV

孤街醉人 提交于 2019-12-07 11:43:33
问题 I am creating a Samsung TV app for a radio station and they provide the "Now Playing" info within the Icecast stream. Is it possible to (and how do I) extract this information? 回答1: Shoutcast supports " Icy-MetaData " - an additional field in the request header. When set, its a request to the shoutcast server to embed metadata about the stream at periodic intervals(once every " icy-metaint " bytes) in the encoded audio stream itself. The value of " icy-metaint " is decided by the shoutcast

Google Cast slow for some streams

本小妞迷上赌 提交于 2019-12-06 06:28:54
问题 I have an Android app which plays live streams from web (mostly icecast) via Google Cast. Everything worked fine and fast, but now it takes much longer time for some streams to start (make sound). This may be somehow related to the Chromecast firmware upgrade as my Chromecast device got updated to the latest version (1.32.124602) recently. This is how I play stream via Cast: MediaMetadata metadata = new MediaMetadata(MediaMetadata.MEDIA_TYPE_GENERIC); metadata.putString(MediaMetadata.KEY

How do I extract streamed “now playing” data embedded in an Icecast audio (radio) stream on Samsung Smart-TV

霸气de小男生 提交于 2019-12-05 16:39:32
I am creating a Samsung TV app for a radio station and they provide the "Now Playing" info within the Icecast stream. Is it possible to (and how do I) extract this information? Shoutcast supports " Icy-MetaData " - an additional field in the request header. When set, its a request to the shoutcast server to embed metadata about the stream at periodic intervals(once every " icy-metaint " bytes) in the encoded audio stream itself. The value of " icy-metaint " is decided by the shoutcast server configuration and is sent to the client as part of the initial reply. Check out this post on Shoutcast

Python 3 get song name from internet radio stream

此生再无相见时 提交于 2019-12-05 06:14:45
问题 How can I get song name from internet radio stream? Python: Get name of shoutcast/internet radio station from url I looked here, but there is only getting name of radio station. But how to get name of the playing song? Here is stream link from where I want to get name of song. http://pool.cdn.lagardere.cz/fm-evropa2-128 How should I do it? Can you help me please? 回答1: To get the stream title, you need to request metadata. See shoutcast/icecast protocol description: #!/usr/bin/env python from

Google Cast slow for some streams

南楼画角 提交于 2019-12-04 11:44:40
I have an Android app which plays live streams from web (mostly icecast) via Google Cast. Everything worked fine and fast, but now it takes much longer time for some streams to start (make sound). This may be somehow related to the Chromecast firmware upgrade as my Chromecast device got updated to the latest version (1.32.124602) recently. This is how I play stream via Cast: MediaMetadata metadata = new MediaMetadata(MediaMetadata.MEDIA_TYPE_GENERIC); metadata.putString(MediaMetadata.KEY_TITLE, "My title"); metadata.putString(MediaMetadata.KEY_SUBTITLE, "My subtitle"); metadata.addImage(new

High audio latency with Icecast and Darkice

雨燕双飞 提交于 2019-12-04 11:21:01
问题 I have successfully installed icecast and darkice on my ubuntu machine and was able to stream live on my lan. but to my disappointment it has a 15sec to 20sec delay.This is very poor performance. I don't think it is because of my lan connection because even when i tried to listen in that same ubuntu machine there was still a delay! I have tried to configure icecast to have no burst-size which means there will be no buffering,this helped me reduce the delay to around 6sec to 8sec. So please if