New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=8a2fc7d04b894703af651540cf337568029adfab
commit 8a2fc7d04b894703af651540cf337568029adfab
Author: Denis Oliver Kropp <[email protected]>
Date: Fri Nov 4 13:23:08 2011 +0100
VoodooPlay: Avoid broadcast discovery when client connects to an unknown
player.
Add Voodoo messages for DISCOVER and SENDINFO as a temporary solution on
the old
2323 port. Connections to different ports assume packet mode anyhow, now.
When connecting to 2323 without being able to lookup the player by its
address
in the information collected by VoodooPlayer already, connect using RAW
mode as
usual, but use the DISCOVER message and receive the SENDINFO from other
player.
When this information reveals PACKET capability, reconnect with that mode.
With this commit the VoodooLink is no longer passed to the manager, but only
the VoodooConnection object being constructed beforehand now. The manager
will
call connection->Start(this) at the end of its constructor.
Add WaitForData( timeout_ms ) to VoodooLink interface to prevent endless
blocking
on the SENDINFO reply from old servers not supporting it.
Rename VPIF_LINK to VPIF_PACKET.
Change VOODOO_LINK_PORT (8676) to VOODOO_PLAY_PORT (8680). This is unused at
the moment, but should become the new standard Voodoo port.
lib/voodoo/client.c | 181 +++++++++++++++++++++++++++++++-------
lib/voodoo/connection.cpp | 5 +-
lib/voodoo/connection.h | 7 +-
lib/voodoo/connection_link.cpp | 15 +++-
lib/voodoo/connection_link.h | 4 +-
lib/voodoo/connection_packet.cpp | 12 ++-
lib/voodoo/connection_packet.h | 5 +-
lib/voodoo/connection_raw.cpp | 12 ++-
lib/voodoo/connection_raw.h | 5 +-
lib/voodoo/dispatcher.cpp | 11 ++-
lib/voodoo/link.h | 3 +
lib/voodoo/manager.cpp | 84 ++++++++++++-----
lib/voodoo/manager.h | 6 +-
lib/voodoo/manager_c.cpp | 22 +++++-
lib/voodoo/message.h | 5 +-
lib/voodoo/play.c | 16 +++-
lib/voodoo/play.h | 4 +-
lib/voodoo/play_internal.h | 3 +
lib/voodoo/play_server.c | 2 +-
lib/voodoo/unix/link_unix.c | 24 +++++
lib/voodoo/win32/link_win32.c | 28 ++++++
21 files changed, 361 insertions(+), 93 deletions(-)
_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs