The following are the recommended settings for streaming:
- Low-latency RC with low-delay-p gop-mode, gdr-mode=horizontal, periodicity-idr=Picture height in MBs
- Low-latency RC with low-delay-p gop-mode and periodicity-idr=twice the framerate.
- CBR RC with low-delay-p gop-mode, gdr-mode=horizontal, periodicity-idr=Picture height in MBs
- CBR RC with low-delay-p gop-mode and periodicity-idr=twice the framerate, cpb-size="1000”
For AVC, 1 MB=16x16 pixels and for HEVC, 1MB=32x32 pixels. You have to calculate picture height in Mbs= roundup(Height,64)/#Mb rows.
- If you are not using buffer-size property of udpsrc, then you must set it manually using sysctl command as per their network bandwidth utilization and requirements.
-> sysctl -w net.core.rmem_default=60000000
- VBR is not a preferred mode of streaming.