NodeMediaClient-iOS
NodeMediaClient-iOS copied to clipboard
setRawVideoParamPixelformat not working
We are testing the library and we are trying to stream with custom width and height with setRawVideoParamPixelformat method in iOS. Here is the code:
self.np.setRawVideoParamPixelformat(NM_PIXEL_RGBA, width: 720, height: 580, fps: 30, bitrate: 800000, profile: VIDEO_PROFILE_MAIN)
The video is not transmitted, only the audio. We tried several combination with width and height, different bitrate and profile, but without success.
Note the with setVideoParamPreset method works fine, but we need custom width and height
Do you know what can be wrong?