Ensure your configuration (config_site) has
PJMEDIA_HAS_VID_TOOLBOX_CODEC=1
Otherwise the IOS video stream might not be using VideoToolBox. Recompile.
I don’t think (I could be wrong) that vid_port.c is used when VideoToolBox is enabled.
Austin
From: pjsip <pjsip-bounces@xxxxxxxxxxxxxxx> on behalf of Kent Liu <chir0615@xxxxxxxxx>
Reply-To: pjsip list <pjsip@xxxxxxxxxxxxxxx> Date: Monday, February 25, 2019 at 6:13 PM To: pjsip list <pjsip@xxxxxxxxxxxxxxx> Subject: Re: Handle 1280x720 remote video very slow in iOS App Dear Austin:
Thanks for your kind reply. I do appreciate for it.
We don't find a good point at darwin_dev.m, should I modify at darwin_stream_get_frame() ?
So far the following way is what we are going to do:
1.Disable original I422 to ARGB at convert_frame() of vid_port.c, make it pass original pjmedia_frame to ios_opengl_dev.m.
2.Convert I422 to ARGB at iosgl_stream_put_frame() of ios_opengl_dev.m.
3.Not only VideoToolbox, we are also considering if it is a good way to use this:
Any further advise is welcome.
Thanks.
Kent
Austin Kottke <Austin.Kottke@xxxxxxxxxxxxxxxxxxxxxx> 於 2019年2月26日 週二 上午2:57寫道:
|
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org