In general player transmits data as XDR encoded structures over a TCP socket. It is not safe to just treat the structure as opaque data as they are copied and manipulated by generated functions.

The exception to this is the opaque interface which does not interpret its data at all, it is simply an array of bytes. If you are just wanting to transmit an array of floating point numbers you could use the aio interface.


2009/5/27 ElmarRueckert <>


How is the data transmission is done in player.  Many interfaces implement a
data array of the type uint8_t*. For ex. Camera or Audio.

But what if i want publish a float array. Could this be done by copying the
float array representation in the memory with:
memcpy(&uint8_t_Array, &float_Array,

thank's a lot, Elmar Rückert
View this message in context:
Sent from the playerstage-users mailing list archive at

Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship.
Playerstage-users mailing list

This email is intended for the addressee only and may contain privileged and/or confidential information