iOS RTCVideoRenderer orientation / aspect ratio

519 views
Skip to first unread message

sfa...@missing3.com

unread,
Apr 2, 2014, 10:25:08 PM4/2/14
to discuss...@googlegroups.com
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 -

Ami Fischman

unread,
Apr 9, 2014, 11:06:30 PM4/9/14
to discuss...@googlegroups.com
Thanks for the report.  It is an oversight in the recent implementation of video support in RTCPeerConnection; filed https://code.google.com/p/webrtc/issues/detail?id=3188 to track.

Cheers,
-a

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages