一部の既存の Android コードを GoogleTV に移行していますが、MediaPlayer オブジェクトで再生する HTTP オーディオ ストリーム (Icecast/Shoutcast) を取得できません。MediaPlayer のデータ ソースとして Icecast URI を設定すると、これまでにテストしたすべてのデバイス (Android 3.1 タブレットを含む) で機能しますが、私の 3.1 Fishtank デバイスでは機能しません。
logcat の出力の一部を次に示します。
11-16 21:46:01.798: I/AVAPIMediaPlayer(142): Found HTTP success. Connection is HTTP/1.0, code was 200
11-16 21:46:01.798: I/AVAPIMediaPlayer(142): Found content type audio/mpeg
11-16 21:46:01.802: W/AVAPIMediaPlayer(142): Error, reached end of headers before finding required fields.
11-16 21:46:01.802: E/AVAPIMediaPlayer(142): Source encountered an error while asynchronously preparing.
11-16 21:46:01.802: E/MediaPlayer(30735): error (0, 0)
11-16 21:46:01.802: E/MediaPlayer(30735): start called in state 0
11-16 21:46:01.802: E/MediaPlayer(30735): error (-38, 0)
11-16 21:46:01.806: E/MediaPlayer(30735): Error (-38,0)
これが開発デバイスの問題であることを願っています。MP3 ストリーミングに依存する既存のアプリはたくさんあります。特に GoogleTV ではサポートされていませんか?