* ALL: Better announce system
authorClément Stenac <zorglub@videolan.org>
Sun, 18 Apr 2004 18:21:09 +0000 (18:21 +0000)
committerClément Stenac <zorglub@videolan.org>
Sun, 18 Apr 2004 18:21:09 +0000 (18:21 +0000)
commitfab59c05a4dacdcc0e6dd2e29236010661c5b618
tree1119dfd92cfd3a7b28188ef064ad9979aeac8d02
parent60c63d39f20c433db9ce39c231df79bf606d2e4f
* ALL: Better announce system

  - The SAP handler now runs in a separate thread.
  - RTP sessions can be announced with sap (sdp=sap://,name=...)
TODO: Make this more configurable
  - Better SDP generation (the timestamp problem is not resolved)
About this, there is a problem : as, for a RTP session, the URI
        is the complete SDP, if the session is recreated, as the URI has
        changed, a new item is added to the playlist
  - Experimental flow control algorithm :
       It does not follow the "Recommended" implementation, as it needs
       to count the sessions (to achieve this, we should make this work
       together with the SAP listener)
       It is disabled by default (use --sap-flow-control to enable).
       When it is disabled, sap announcement interval is set by --sap-interval

* src/misc/net.c : created net_ReadNonBlock
* sap.c : Fixed memory problem
18 files changed:
Makefile.am
NEWS
include/network.h
include/stream_output.h
include/vlc/vlc.h
include/vlc_common.h
include/vlc_objects.h
modules/misc/sap.c
modules/stream_out/announce.c
modules/stream_out/announce.h
modules/stream_out/rtp.c
modules/stream_out/standard.c
src/libvlc.c
src/libvlc.h
src/misc/net.c
src/misc/objects.c
src/stream_output/announce.c [new file with mode: 0644]
src/stream_output/sap.c [new file with mode: 0644]