[ 
http://dev.sourcefabric.org/browse/LS-450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14037#action_14037
 ] 

David Baelde commented on LS-450:
---------------------------------

Sending a header at the beginning of the UDP stream does not fit with the idea 
of UDP streaming. It'll only work if you're lucky, so I'd rather not implement 
it at all. I don't want to clog the code and spend extra time on it until I see 
a clear need. For now, besides artists, the potential need is low-latency 
monitoring. It can be done in MP3 or audio/basic for now, without headers; that 
should be enough for first tests.

Anyway, people will always need to specify a mime type for UDP inputs. This 
type can carry all the header information, as with audio/basic. When needed we 
can create conventions on more mime-types, for example audio/cd for stereo 
44100Hz s16le (we can even come up or re-use a syntax for mime types describing 
all kinds of PCM streams). This should be a good plan for PCM. Concerning OGG I 
think there are much bigger problems than the header/mime-type, since the loss 
of one packet desynchronizes everything iirc.

Two more relevant improvements for UDP I/O in my opinion: (1) check why AAC+ 
doesn't work (while it does over TCP with icecast) and fix it; (2) possibly 
send metadata as out-of-band data. I'm not planning to touch those before I see 
a user's need, but I'll spend my coding time fixing release-critical bugs.

> UDP transmission protocol
> -------------------------
>
>                 Key: LS-450
>                 URL: http://dev.sourcefabric.org/browse/LS-450
>             Project: Liquidsoap
>          Issue Type: New Feature
>            Reporter: Samuel Mimram
>            Assignee: David Baelde
>
> Some people have expressed the need for a way of transmitting audio data over 
> UDP. Of course some data might be lost or wrongly ordered but they don't mind 
> (it is actually a feature for them).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Savonet-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à