mherger wrote: 
> > I thought LMS used to try this http instead of https swap but this
> > functionality seems to have been broken or changed.
> 
> Yes, that was the old behaviour. Since I added support (or what I 
> thought was support...) for https streams, it's no longer falling back 
> to http in case of failure. I'll have to review this.

I run 7.8 and the http for https funcitonality is broken - so there is
somehting else happening.

> TBH: my knowledge of the whole streaming/transcoding code is patchy at 
> best. bpa - would you know whether in case of transcoding the 
> transcoding helper would receive the stream directly or through LMS? Eg.
> 
> would those helper apps need to be compiled with https support, too?
> 

It will depend on the transcoding rule.  Generally if the rule has
$FILE$ or $PATH$ in the input rule and the synatx rules has a "I" then
the transcoding application bypasses LMS for the source, otherwise LMS
is the source sending data to the transcoding application through
stdin.
for example the below rule uses ffmpeg to connected to source through
the URL passed in $FILE$.  The "#RB" indicates that stdin is not to be
used.

Code:
--------------------
    
  hls flc * *
        # RB:{BITRATE=-B %B}T:{START=-ss %s}
        [ffmpeg] -loglevel quiet -i $FILE$ -f flac -
  
--------------------


Whereas a http/aac stream would be transcoded by the following rule. 
The "#IF" indicates to LMS to used stdin for transcoding - LMS will
supply "-" as $FILE$ substitute.

Code:
--------------------
    
  aac flc * *
        # IF
        [faad] -q -w -f 1 $FILE$ | [flac] -cs --totally-silent 
--compression-level-0 --ignore-chunk-sizes -
  
--------------------


So for AAC the current helper app is faad  and it receives the AAC
stream via stdin from LMS  regardless whether source is a file or remote
stream (i.e.for a http/aac stream , LMS opens the http stream via a TCP
socket and reads the data) .


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

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

Reply via email to