#250: Too much metadatas received with input.http
-------------------------+--------------------------------------------------
Reporter: Azrael | Owner: admin
Type: Bugs | Status: new
Priority: 1 | Milestone: 0.9.0
Component: Liquidsoap | Version: 0.9.0+svn
Resolution: | Keywords:
Mac: 1 | Linux: 1
Netbsd: 1 | Other: 1
Freebsd: 1 |
-------------------------+--------------------------------------------------
Comment (by mrpingouin):
After some tests and more investigation, it turned out that neither
input.http() nor strip_blank() are guilty. The problem came from the use
of crossing (smart_crossfade()) on the input HTTP stream. This is not
possible: the HTTP input has some realtime constraints that can't meet the
requirements of crossing. Technically, this results in repeated frames,
hence repeated metadata. This raises again the need for a static detection
of such bad situations. After changing this, the problem doesn't seem to
occur anymore. This is to be confirmed later, to close the ticket.
To be fair, I also leave it open to test a bit more that "dirty" case.
Indeed, crossing an external stream should not always result in repeated
frames (this only occurs if we add sharing to the mix, probably via
smooth_add in Azrael's case). I may want to understand the details of
this... but may also consider that such scripts should not be written at
all anyway.
--
Ticket URL: <http://savonet.rastageeks.org/ticket/250#comment:8>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac