Good day.
The recommendations depend on your case:
1. For RTMP publishing, you can use higher profiles (main for example), but it is recommended to use hardware acceleration on publisher side and disable B-frames, for example
You can also inscrease publishing bitrate, but you should aware publisher channel bandwidth issues: bitrate must be less than channel bandwidth.
2. For WebRTC publishing, a browser can choose higher profiles if hardware acceleration is enabled, but in this case B-frames can be encoded depending on GPU and drivers version. So you can only increase publishing bitrate as described
here. Again, you should aware publisher channel bandwidth issues. Also, you should disable hardware acceleration when publishing 1080p or 4K streams from Chromium based browsers, and set periodic FIR request to
prevent too often or uneven key frames sending:
Code:
periodic_fir_request=true
periodic_fir_request_interval=5000
rtcp_pli_request_interval=5000