Description
GameViewDecoder can decode encoded byte[] streaming into texture.
It’s compatible with our example networking systems FM Network UDP and FM WebSocket. Meanwhile, other 3rd party networking systems like PUN2, MIRROR and UNet are also supported.
Component Properties
FastDecodeMode
– enable fast decoder for better performance
AsyncMode
– multi-threading solution without blocking the main thread
DelayDecode
– add delay seconds before decoding the stream
FilterMode
– texture filter option
WrapMode
– texture wrap option
OnReceivedTexture
– invoke when received texture
label ID
– encoder and decoder’s label ID should match