Update of /cvsroot/playerstage/code/player/client_libs/libplayerc
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30328/client_libs/libplayerc
Modified Files:
client.c playerc.h
Log Message:
changed default message mode back to PUSH, but also changed the C client
library to change it to PULL when it first subscribes.
Index: client.c
===================================================================
RCS file: /cvsroot/playerstage/code/player/client_libs/libplayerc/client.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -C2 -d -r1.89 -r1.90
*** client.c 2 Dec 2007 09:11:13 -0000 1.89
--- client.c 3 Dec 2007 01:31:14 -0000 1.90
***************
*** 169,173 ****
/* this is the server's default */
! client->mode = PLAYER_DATAMODE_PULL;
client->transport = PLAYERC_TRANSPORT_TCP;
client->data_requested = 0;
--- 169,173 ----
/* this is the server's default */
! client->mode = PLAYER_DATAMODE_PUSH;
client->transport = PLAYERC_TRANSPORT_TCP;
client->data_requested = 0;
***************
*** 381,384 ****
--- 381,387 ----
}
+ //set the datamode to pull
+ playerc_client_datamode(client, PLAYER_DATAMODE_PULL);
+
PLAYER_MSG4(3,"[%s] connected on [%s:%d] with sock %d\n", banner,
client->host, client->port, client->sock);
return 0;
Index: playerc.h
===================================================================
RCS file: /cvsroot/playerstage/code/player/client_libs/libplayerc/playerc.h,v
retrieving revision 1.242
retrieving revision 1.243
diff -C2 -d -r1.242 -r1.243
*** playerc.h 29 Nov 2007 03:37:23 -0000 1.242
--- playerc.h 3 Dec 2007 01:31:14 -0000 1.243
***************
*** 233,237 ****
current data mode is changed using the @ref playerc_client_datamode function.
! The default mode is PUSH.
@section pushmode PUSH Mode
--- 233,237 ----
current data mode is changed using the @ref playerc_client_datamode function.
! The default mode for clients is PULL.
@section pushmode PUSH Mode
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit