I feel like I'm missing something very basic here, but here goes:
When displaying video on iOS via RTCVideoRenderer, I can't find any good way to access the orientation, aspect ratio, or even dimensions of a stream from a remote peer. I can make some assumptions about the local stream and display it properly, but I'm stuck when it comes to the remotes. There is a TODO in the sample project which leads me to believe this isn't as simple to extract as I expected:
// TODO(fischman): Use video dimensions from the incoming video stream
// and resize the Video View accordingly w.r.t. aspect ratio.
Can anyone point me in the right direction?
Thanks -