Closed GoogleCodeExporter closed 9 years ago
It seems you're using MPL 0.7.0.5. Have you tried testing this on MPL 1.0?
Original comment by and...@google.com
on 13 Oct 2014 at 5:05
I modified the cast receiver version to 1.0.0 and attached a new console. It
appears now that the metadata fails to load.
On the sender application, I'm using the CastCompanionLibrary and calling
VideoCastManager.loadMedia() directly instead of using the CCL provided
VideoCastControllerActivity.
I'm posting the code that creates the MediaInfo bundle which is passed to the
VideoCastManager.
public void loadRemoteMedia(Context context, boolean autoPlay) {
MediaMetadata mediaMetadata = new MediaMetadata(
MediaMetadata.MEDIA_TYPE_MUSIC_TRACK);
mediaMetadata.putString(MediaMetadata.KEY_TITLE,
context.getString(R.string.app_name_full));
MediaInfo mediaInfo = new MediaInfo.Builder(
context.getString(R.string.url_stream_audio))
.setStreamType(MediaInfo.STREAM_TYPE_LIVE)
.setContentType("application/x-mpegURL")
.setMetadata(mediaMetadata).build();
try {
MyApp.getCastManager(context).loadMedia(mediaInfo, true, 0,
null);
} catch (Exception e) {
Log.e(TAG, "Could not load remote media", e);
}
}
Original comment by sasan.na...@gmail.com
on 14 Oct 2014 at 5:16
Attachments:
Your playlist is:
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=48000,CODECS="mp4a.40.5"
http://ckpk.streamon.fm/hlsts/stream/CKPK-48k.aac.m3u8?uid=n137xkzftz&starttime=
1412706604&c=event%2F78151688.918351
and when I try to access the stream, I get a 500 error. Is that stream
accessible?
Original comment by anad...@google.com
on 28 Oct 2014 at 12:43
I also couldn't start the stream using the provided m3u8 file. Sorry for that.
I did try it using the stream URL with VLC and it did start working. (VLC >
Open Network > URL). I'm not sure why it doesn't work when the m3u8 file is
provided directly.
http://ckpk.streamon.fm/hlsts/CKPK-48K.m3u8
I've attached the VLC debug console as there were some warnings/errors in there
that I was wondering could cause the stream to stall on the cast device.
Original comment by sasan.na...@gmail.com
on 28 Oct 2014 at 8:19
Attachments:
The stream does not work with the Cast sample apps nor VLC. Could you provide
another stream where you can reproduce this issue?
Original comment by and...@google.com
on 10 Nov 2014 at 7:08
Closing due to lack of response. Please report back with streams and logs if
you still experience the issue.
Original comment by and...@google.com
on 20 Nov 2014 at 4:22
Original issue reported on code.google.com by
sasan.na...@gmail.com
on 7 Oct 2014 at 6:44Attachments: