如何流Chromecast上接收Shoutcast一样电台流 [英] How to stream SHOUTcast radio streams on Chromecast receiver

查看:383
本文介绍了如何流Chromecast上接收Shoutcast一样电台流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有起着不同的电台直播流一款Android应用收音机。它的工作原理pretty以及与谷歌的Chromecast日志流是一个正常的mp3流。在Chromecast样式化媒体接收器的播放与Shoutcast一样流工作即 http://46.105.118.14:13500

We have a Android radio app which plays various live radio streams. It works pretty well with Google Chromecast as log the stream is a "normal" mp3 stream. The playback on Chromecast Styled Media Receiver is NOT working with SHOUTcast streams i.e http://46.105.118.14:13500.

mRemoteMediaPlayer.load(...)我在Android的看到logcat的结果状态code = 1

After mRemoteMediaPlayer.load(...) I see in my Android LogCat a result statuscode = 1.

在Chrome浏览器的调试控制台我看到下面的加载元数据误差

In Chrome debug console I see the following Load metadata error:

[673.080s] [cast.receiver.MediaManager]负载元数据错误
  的 cast_receiver.js:18

IB cast_receiver.js:18

gb.Gb cast_receiver.js:18

B.log cast_receiver.js:13

电子 cast_receiver.js:15

Z.pa cast_receiver.js:71

的Eb cast_receiver.js:23

的Cb cast_receiver.js:24

(匿名函数) cast_receiver.js:21

是否有可能与谷歌的Chromecast(设计媒体接收器或自定义接收器)来播放Shoutcast一样实时视频流?如果是的话,你可以给我一些提示或点我一个例子吗?

Is it possible to play SHOUTcast live streams with Google Chromecast (Styled Media Receiver or Custom Receiver)? If yes, can you give me some hints or point me to an example?

推荐答案

附加一个/;流URL的端口后,所以你能即流数据 http://46.105.118.14:13500/;

Append a /; after the port of the stream url, so you get to the stream data i.e http://46.105.118.14:13500/;

我用的是localcast Android应用程序使用这一招,使我的Chromecast发挥Shoutcast一样电台。

I use the localcast android app with this trick to make my chromecast play SHOUTcast Radio.

这篇关于如何流Chromecast上接收Shoutcast一样电台流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆