How to debug openh264 in pjsip?

屈振华
Fri, Aug 26, 2016 8:06 AM

​Hi,

I'm trying to integrate the latest openh264 v1.6.0 library into pjsip in
Android platform. With a successful compilation, however, some internal
error happended inside this function.

rc = oh264_data->enc->InitializeExt (&eprm);

I have redirected the logging of pjsip from stdout to a file. But there is
no openh264 logging information included.

I tried to open the logging of Openh264 with:

int32_t iTraceLevel=WELS_LOG_DEBUG; oh264_data->enc->SetOption
(ENCODER_OPTION_TRACE_LEVEL, &iTraceLevel); oh264_data->dec->SetOption
(DECODER_OPTION_TRACE_LEVEL, &iTraceLevel);
But failed again.
Are there any experience for doing this?​

​Hi, I'm trying to integrate the latest openh264 v1.6.0 library into pjsip in Android platform. With a successful compilation, however, some internal error happended inside this function. rc = oh264_data->enc->InitializeExt (&eprm); I have redirected the logging of pjsip from stdout to a file. But there is no openh264 logging information included. I tried to open the logging of Openh264 with: int32_t iTraceLevel=WELS_LOG_DEBUG; oh264_data->enc->SetOption (ENCODER_OPTION_TRACE_LEVEL, &iTraceLevel); oh264_data->dec->SetOption (DECODER_OPTION_TRACE_LEVEL, &iTraceLevel); But failed again. Are there any experience for doing this?​