pjmedia remote orientation support

B
Beth
Mon, Apr 11, 2016 11:31 AM

Hi all,

We have one case that cannot display well on Android or iOS. Please see
following diagrams: the red represents the local orientation, and the blue
represents the stream orientation from remote, blue shaded area is where
the picture is.

If we use the height of the stream window to maintain ratio aspect, three
cases look fine but the #2 because we have no way to distinguish #1 and #2
or #3 and #4 without knowing the remote orientation. If we know the remote
orientation, then we can do for all cases. Any suggestions for the case #2
without pjmedia change of supporting remote orientation indication?

[image: Inline image 1]                [image: Inline image 2]

Hi all, We have one case that cannot display well on Android or iOS. Please see following diagrams: the red represents the local orientation, and the blue represents the stream orientation from remote, blue shaded area is where the picture is. If we use the height of the stream window to maintain ratio aspect, three cases look fine but the #2 because we have no way to distinguish #1 and #2 or #3 and #4 without knowing the remote orientation. If we know the remote orientation, then we can do for all cases. Any suggestions for the case #2 without pjmedia change of supporting remote orientation indication? [image: Inline image 1] [image: Inline image 2]
Сергей Митрофанов
Mon, Apr 11, 2016 12:02 PM

Hi, actually, I'm facing the same issue now (planned for work).

I plan to try using SIP status, to tell to remote, in which orientation the
video stream is captured.
On the remote side then will make changes in it's view according received
status info.

пн, 11 апр. 2016 г. в 14:32, Beth bruida2011@gmail.com:

Hi all,

We have one case that cannot display well on Android or iOS. Please see
following diagrams: the red represents the local orientation, and the blue
represents the stream orientation from remote, blue shaded area is where
the picture is.

If we use the height of the stream window to maintain ratio aspect, three
cases look fine but the #2 because we have no way to distinguish #1 and #2
or #3 and #4 without knowing the remote orientation. If we know the remote
orientation, then we can do for all cases. Any suggestions for the case #2
without pjmedia change of supporting remote orientation indication?

[image: Inline image 1]                [image: Inline image 2]


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi, actually, I'm facing the same issue now (planned for work). I plan to try using SIP status, to tell to remote, in which orientation the video stream is captured. On the remote side then will make changes in it's view according received status info. пн, 11 апр. 2016 г. в 14:32, Beth <bruida2011@gmail.com>: > Hi all, > > We have one case that cannot display well on Android or iOS. Please see > following diagrams: the red represents the local orientation, and the blue > represents the stream orientation from remote, blue shaded area is where > the picture is. > > If we use the height of the stream window to maintain ratio aspect, three > cases look fine but the #2 because we have no way to distinguish #1 and #2 > or #3 and #4 without knowing the remote orientation. If we know the remote > orientation, then we can do for all cases. Any suggestions for the case #2 > without pjmedia change of supporting remote orientation indication? > > > [image: Inline image 1] [image: Inline image 2] > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >