utgg wrote: 
> Good theory, but I think the evidence from the log is that the data
> isn't being cut off - the first 32 seconds of stream data has definitely
> been received in the plugin, but only the first 3 seconds or so is
> played before the rest is lost somewhere in the transcode system.
> 
> On windows in particular the transcode processing looks pretty
> complicated - the data is streamed via a socket into a program called
> socketwrapper, which then pipes the stream in pieces into and out of the
> faad and flac programs, before the transcoded stream is finally being
> sent to the player. I think it is highly likely that is where the
> problem lies, and that it results from running this all on a cloud
> server (non-uk may be a factor) which has significantly different
> operating characteristics to those anyone has encountered on a home
> windows machine. For example the networking looks to be extremely fast
> (not unexpected - a cloud server must have a good internet connection) -
> fetching and pushing the first 32 seconds of audio into the
> socketwrapper in under a second. On the other hand, I'd expect that
> running in a VM on a machine shared with perhaps many other users, the
> time to task switch between all the processes involved in transcoding
> might be a bit slow. A total guess, but it could be a buffer problem in
> socket wrapper that would never be encountered in a normal home windows
> machine.
> 
> The thing is, even if we go to the trouble of trying to diagnose this
> problem, it is quite likely that we'll end up in the same situation as
> for the fix we put into faad.exe - something will need changing in a
> long-standing and well proven bit of code, and there will be a lot of
> resistance to updating the distribution - especially as there is now
> only one user reporting the problem. We could, of course, learn
> something important in the process and end up fixing something that is
> actually affecting a lot more folk, in a more intermittent way. So it
> may be worth spending some more time trying to look at this - I just
> don't have time myself at the moment.
> 
> It's a bit of a cop out, but I also get the impression that you are UK
> based psketch - is that so? I can understand why you have chosen to run
> LMS on a cloud server, but if you are in the UK could you not just set
> up a raspberry pi as a local LMS server just for BBC radio? The B+ is
> only £20 on amazon, plug it straight in the router - job done! Then
> you'd also get the benefit of the high bit-rate streams, with just the
> minor hassle of switching players to and fro between servers.

Firstly, thanks for the help and efforts on this - i do realise it's a
bit of an "edge case" but, as you say, although it may be unique today
it's probably uncovering some odd bufering issue which might show up for
others and also as we all transition to cloud, others will probably come
across this as well - it doesn't make sense $ wise to store and backup
large amounts of media locally anymore (for me) and with high speed
broadband connections now becoming so widespread, storing the data in
the cloud is just the way forward as far as I can see.  

So, to take out some of the variables, I've messed around a bit and
managed to get an IP address on the server this which looks like it
comes from the UK.  Now AbsoluteRadio, which was blocked before, plays
quite happliy.  So, at least some services think the server is now UK
based.  However, when I try and play BBC Listen Live I just get complete
silence and it stops after a couple of seconds.  Listen Live (Non UK)
still the same - a couple of seconds of play normally, then it stops -
and the players show "buffering".  For the UK streams, the log file is
attached, but it using the url it fails at, if i try and open it
directly, i get 

Access Denied
You don't have permission to access
"http://as-hls-uk-live.edgesuite.net/pool_6/live/bbc_radio_five_live/bbc_radio_five_live.isml/bbc_radio_five_live-audio%3d320000.m3u8?";
on this server.
Reference #18.2487b5c.1429875964.69556fee 

So - I guess this means that BBC still thinks i'm outside the UK -
grrrrr.  Any thoughts on that?  I can spin up a linux VM in the cloud to
test if this is a windows specific problem - I'm no linux expert, but
will muddle my way through.  Is there a preferred linux flavour to try
and if so, can someone point me at the right LMS to download for it (and
if anyone  had a quick guide on how get it running, even better)

Is a Pi server upto doing the necessary transcoding for high bit rate
streams?  If so, I may go down that route, and just have the media
library remote.  Any differences on the Pi versions - I already run a
couple of Pis for squeezelite - has anyone run the server and squeelite
on the same Pi, or should I dedicate one if I try that?


+-------------------------------------------------------------------+
|Filename: server BBC UK.log                                        |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17926|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555
View this thread: http://forums.slimdevices.com/showthread.php?t=53229

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to