I realized the problem was because the encoder in the server side was not reporting the correct profile and level, the problem was fixing using:
- profile: constrained-baseline
- level: 5 (for 1920x1080, the level is set according to the resolution)
I realized the problem was because the encoder in the server side was not reporting the correct profile and level, the problem was fixing using: