GStreamer Example

Description
This is a FMETP STREAM V3 feature, which allows you to receive mjpeg stream from GStreamer with example command below.

For V2, it’s also compatible with Network Type “StereoPi” under FMNetworkManager.
For V3, the network type should be “DataStream” under FMNetworkManager.
*Please be reminded that V3 isn’t official released yet until the mid of 2022.


// + GStreamer Commands(Example):
// + Desktop Capture to Unity
gst-launch-1.0 gdiscreencapsrc ! queue ! video/x-raw,framerate=60/1,width=1920, height=1080 ! jpegenc ! rndbuffersize max=65000 ! udpsink host=192.168.1.10 port=3001
 
// + Video Stream to Unity
gst-launch-1.0 filesrc location="videopath.mp4" ! queue ! decodebin ! videoconvert ! jpegenc ! rndbuffersize max=65000 ! udpsink host=192.168.1.10 port=3001