andrew.n
Member
I saw in the demo projects that everything is added by code, no XIBs/Storyboards.
I want to ask if there are some limitations to RTCEAGLVideoView and using auto layout.
I placed one RTCEAGLVideoView full screen (top, leading, trailing, bottom, center X, center Y) constraints.
When the stream starts the constraints are no longer available and only the center X and Y are respected.
Why does this happen?
let options = FPWCSApi2StreamOptions()
options.display = display
What is the SDK doing the display that I provide?
I have to set one button in the middle of an RTCEAGLVideoView that change his position, but even I can see the center X constraint, the button is not in the middle of the screen (check Attachment)
I want to ask if there are some limitations to RTCEAGLVideoView and using auto layout.
I placed one RTCEAGLVideoView full screen (top, leading, trailing, bottom, center X, center Y) constraints.
When the stream starts the constraints are no longer available and only the center X and Y are respected.
Why does this happen?
let options = FPWCSApi2StreamOptions()
options.display = display
What is the SDK doing the display that I provide?
I have to set one button in the middle of an RTCEAGLVideoView that change his position, but even I can see the center X constraint, the button is not in the middle of the screen (check Attachment)
Attachments
-
153.3 KB Views: 270