philippe_44 wrote: 
> A few additions: to handle mp4 and benefit from the 8.x additions (mp4
> seek and built-decoding to be usable from legacy SB), it seems the
> plugin needs to be changed a fair bit. It cannot inherit from
> RemoteStream.pm and redefine many methods, it must be based on
> Slim::Player::Protocol::HTTPS to handle SSL correctly. A lot of
> redefined methods should be removed and/or call their ancestor. As of
> now, and I've not investigated precisely why, but it only works in
> proxied mode, I assume it's because of the "parseHeader" and
> "parseDirectHeader" that do not call their ancestors as well. I don't
> have more time to investigate. This works in proxied mode

As I said I don't use mixcloud but you have confirmed what I expected -
mixcloud doesn't play well with MP4 support in LMS 8.* .  

Have you checked why the Mixcloud MP4 URL I copied which plays OK with
VLC and doesn't with play in LMS 8.* which hasn't mixcloud plugin
installed (i.e. so all the parseHeader etc. stuff is irrelevant)  ?
https://stream6.mixcloud.com/secure/c/m4a/64/2/6/0/6/442f-d95a-4b49-a3a1-8c1c59ed1186.m4a?sig=oP6RGk-Bo-2rKvOpYVPOTQ

I agree - I think Mixcloud plugin cpould be simplified. The plugin
manages to find a source which has a JSON response of track details. 
The JSON response has 3 playable URLs (HLS/fMP4, DASH and HTTP/MPEG4)
which means the plugin should just provide a playlist of applicable URLs
to LMS and then so could remove all the special stream handling code.

A stopgap would be to provide variants of PlayMP4 to use ffmpeg to play
HLS/fMP4 stream or maybe to proper PlayMP4 support for 8.* (i.e.
override all LMS 8.*  - extreme as I think loses more than it gains) .

Coincidentally, when time allows, I'm working on enhancing PlayHLS to
enable the playHLS plugin to natively play HLS /fMP4  and also a
PlayDASH plugin to play stream with suffix "mpd"  and mime
"application/dash+xml".  These additions would enable mixcloud just to
pass URLs to LMS to play - although metadata would still be up to
mixcloud to maintain.


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=88286

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to