Description
Minimal setup guide for FMNetworkUDP Live Stream.
Setup fo Sender Scene(Server)
1. Create new Game Object and Add Component FM Network Manager
2. Choose Network Type as Server
3. Create new Game Object and Add Component GameViewEncoder
4. Choose Render Camera Mode as Render Cam
5. Create a Camera Object, and rename as “RenderCam”
6. Assign “RenderCam” into GameViewEncoder Settings->RenderCam
7. Add Event “+”, and assign FMNetworkManager into OnDataByteReadyEvent box
8. Change “No Function” to FMNetworkManger -> SendToOthers(Dynamic Byte[])
Setup fo Receiver Scene(Client)
1. Create new Game Object and Add Component FM Network Manager
2. Choose Network Type as Client
3. Create new Game Object and Add Component GameViewDecoder
4. Add GameViewDecoder to FMNetworkManager -> OnReceivedByteDataEvent box
5. Change “No Function” to GameViewDecoder -> Action_ProcessImageData(Dynamic Byte[])