Using Bolt as realtime binary data transport
Options
in Photon Bolt
Hello!
Looking for a good way to transfer arbitrary data with Photon Bolt - both reliable and unreliable.
1) how well BoltConnection.StreamBytes suited for realtime use, comparing to Bolt state updates? just wondering if there any hidden buffering etc
2) when using StreamBytes, is there any way to know if bandwidth is saturated? (to decrease send rate)
We have client side prediction and serialization already implemented - using Bolt only for connection management and data transfer
Thanks!
Looking for a good way to transfer arbitrary data with Photon Bolt - both reliable and unreliable.
1) how well BoltConnection.StreamBytes suited for realtime use, comparing to Bolt state updates? just wondering if there any hidden buffering etc
2) when using StreamBytes, is there any way to know if bandwidth is saturated? (to decrease send rate)
We have client side prediction and serialization already implemented - using Bolt only for connection management and data transfer
Thanks!
0
Comments
-
With Bolt the packet size and rate is constant. For unreliable streaming is fine, otherwise you can use event binary data. With state only properties change are sent, and they are delta compressed.0
-
Thanks for quick answer!
Still, is there any good way to detect bandwidth saturation? Something simple, like number of dropped packets, can be helpful.0 -
http://doc-api.photonengine.com/en/bolt/current/class_bolt_connection.html#a3401fe574b2cd41f2da9030cd1ef8403
Also try the Window -> Bolt -> Remotes window0