mediasoup-client-swift
mediasoup-client-swift copied to clipboard
H264 simulcast not working on ios
Hello, many thanks for you library which is very well done. Integration into my project has been really smooth. I have one issue with H264 simulcast. I try to produce 2 videos layers : let lowEncoding = RTCRtpEncodingParameters() lowEncoding.maxBitrateBps = 256_000 lowEncoding.scaleResolutionDownBy = 1
let highEncoding = RTCRtpEncodingParameters()
highEncoding.maxBitrateBps = 5_000_000
highEncoding.scaleResolutionDownBy = 1
It works well with VP8 but with H264 it only produces one stream at 5M. Furthermore the resolution is quite low and doesn't delivers full hd.
What am I missing ? is there some specific configuration to be done for h264 ?
Thanks for your help.