This looks good so far.
Put a few trace statements in darwin_dev and you should see the h264 Nal units being processed.
Darwin dev should also create the video toolbox session which you should be able to capture the
AvCaptureSession creation and see how the media flows in and out.
Austin
From: pjsip <pjsip-bounces@xxxxxxxxxxxxxxx> on behalf of Kent Liu <chir0615@xxxxxxxxx>
Reply-To: pjsip list <pjsip@xxxxxxxxxxxxxxx> Date: Monday, March 4, 2019 at 5:58 AM To: pjsip list <pjsip@xxxxxxxxxxxxxxx> Subject: Re: Handle 1280x720 remote video very slow in iOS App Dear Austin:
Thanks for your kind reply and remind.
It is my bad. darwin_dev.m is used already. darwin_stream_get_frame() is called,
But vid_port.c seems still be needed.
We will make further study of it.
Besides, this is our config_site.h. It should be not miss anything, right?
=======================================
#define PJ_CONFIG_IPHONE 1#define PJ_HAS_IPV6 1 // disable background VoIP socket, use PushKit #undef PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT #define PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT 1 #define PJMEDIA_HAS_VIDEO 1 #define PJMEDIA_HAS_VID_TOOLBOX_CODEC 1 #include <pj/config_site_sample.h> =======================================
BR. and Thanks.
Kent
Austin Kottke <Austin.Kottke@xxxxxxxxxxxxxxxxxxxxxx> 於 2019年2月26日 週二 上午11:35寫道:
|
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org