Jan Lipmann
New Member
Hello Flashphoner team
We are using flashphoner ios sdk in our new application.
All works fine, but video on facebook seems to be little stretched vertically.
Is there a way to adjust video resolution somehow using sdk?
Second question: is render view have some affect on size of streaming video?
Thanks and have a good day
These are our settings:
let options = FPWCSApi2StreamOptions()
options.name = configuration.streamName
options.display = view
let constraints = FPWCSApi2MediaConstraints()
let vc = FPWCSApi2VideoConstraints()
vc.bitrate = 2500
vc.maxWidth = 720
vc.maxHeight = 1280
vc.maxFrameRate = 30
constraints.video = vc
let ac = FPWCSApi2AudioConstraints()
ac.bitrate = 2500
ac.useStereo = true
ac.useFEC = true
constraints.audio = ac
options.constraints = constraints
We are using flashphoner ios sdk in our new application.
All works fine, but video on facebook seems to be little stretched vertically.
Is there a way to adjust video resolution somehow using sdk?
Second question: is render view have some affect on size of streaming video?
Thanks and have a good day
These are our settings:
let options = FPWCSApi2StreamOptions()
options.name = configuration.streamName
options.display = view
let constraints = FPWCSApi2MediaConstraints()
let vc = FPWCSApi2VideoConstraints()
vc.bitrate = 2500
vc.maxWidth = 720
vc.maxHeight = 1280
vc.maxFrameRate = 30
constraints.video = vc
let ac = FPWCSApi2AudioConstraints()
ac.bitrate = 2500
ac.useStereo = true
ac.useFEC = true
constraints.audio = ac
options.constraints = constraints