Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/121.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 应用程序在使用PJSIP接受传入视频呼叫时崩溃_Ios_Video Streaming_Pjsip - Fatal编程技术网

Ios 应用程序在使用PJSIP接受传入视频呼叫时崩溃

Ios 应用程序在使用PJSIP接受传入视频呼叫时崩溃,ios,video-streaming,pjsip,Ios,Video Streaming,Pjsip,应用程序在接受PJSIP的传入视频呼叫后挂起。 我已经用180(振铃状态)接听了电话,然后用代码200接听了电话,但当时我的应用程序挂起了 获取此类日志: 2019-09-05 17:23:24.914108+0530 Codec name is Video Toolbox codec 2019-09-05 17:23:24.914226+0530 MTU VALUE for codec #0 is 1336 2019-09-05 17:23:24.914265+0530 FrameSiz

应用程序在接受PJSIP的传入视频呼叫后挂起。 我已经用180(振铃状态)接听了电话,然后用代码200接听了电话,但当时我的应用程序挂起了

获取此类日志:

2019-09-05 17:23:24.914108+0530  Codec name is Video Toolbox codec
2019-09-05 17:23:24.914226+0530  MTU VALUE for codec #0 is 1336
2019-09-05 17:23:24.914265+0530  FrameSize for codec #0 is w:1280 h:720
2019-09-05 17:23:24.914297+0530  FPS for codec #0 is 15/1
2019-09-05 17:23:24.914327+0530  BandWidth VALUE for codec #0 is avg:256000 max:256000
video available: 117:23:24.914           pjsua_call.c !Answering call 0: code=200
17:23:24.914         inv0x116850aa8  ..SDP negotiation done: Success
17:23:24.914          pjsua_media.c  ...Call 0: updating media..
17:23:24.915          pjsua_media.c  .....Media stream call00:0 is destroyed
17:23:24.915            pjsua_aud.c  ....Audio channel update..
17:23:24.915        strm0x1169ef828  .....VAD temporarily disabled
17:23:24.917        strm0x1169ef828  .....Encoder stream started
17:23:24.917        strm0x1169ef828  .....Decoder stream started

17:23:24.920          pjsua_media.c  ....Audio updated, stream #0: PCMU (sendrecv)
17:23:24.921          pjsua_media.c  .....Media stream call00:1 is destroyed
17:23:24.921            pjsua_vid.c  ....Video channel update..
17:23:25.011      vstenc0x1169f3428  .....Encoder stream started
17:23:25.011      vstdec0x1169f3428  .....Decoder stream started
17:23:25.011            pjsua_vid.c  .....Setting up RX..
17:23:25.011            pjsua_vid.c  ......Creating video window: type=stream, cap_id=-1, rend_id=0
17:23:25.011             vid_port.c  .......Opening device OpenGL renderer [OpenGL] for render: format=I420, size=1280x720 @22:1 fps
17:23:25.237       ios_opengl_dev.c  .......iOS OpenGL ES renderer successfully created
17:23:25.237             vid_port.c  .......Device OpenGL renderer [OpenGL] opened: format=BGRA, size=1280x720 @22:1 fps
17:23:25.242             vid_conf.c  .......Added port 0 (OpenGL renderer)
17:23:25.242            pjsua_vid.c  .......stream window id 0 created for cap_dev=-1 rend_dev=0
17:23:25.242            pjsua_vid.c  .......Window 0 created
17:23:25.246             vid_conf.c  ......Added port 1 (vstdec0x1169f3428)
17:23:25.246             vid_conf.c  ......Port 1 (vstdec0x1169f3428) transmitting to port 0 (OpenGL renderer)
17:23:25.246       ios_opengl_dev.c  ......Starting ios opengl stream
17:23:25.249            pjsua_vid.c  .....Setting up TX..
17:23:25.250             vid_conf.c  ......Added port 2 (vstenc0x1169f3428)
17:23:25.250            pjsua_vid.c  ......Creating video window: type=preview, cap_id=2, rend_id=0
17:23:25.250             vid_port.c  .......Opening device Front Camera [AVF] for capture: format=I420, size=1280x720 @15:1 fps
17:23:25.332             vid_port.c  .......Device Front Camera [AVF] opened: format=I420, size=1280x720 @15:1 fps

我对iOS平台也有同样的问题。如果您使用pjsua_call_answer2,您可以将180(PJSIP_SC_RINGING)替换为183(PJSIP_SC_PROGRESS)。“out\u auto\u transmit=true”可以正常工作

iOS平台也有同样的问题。如果您使用pjsua_call_answer2,您可以将180(PJSIP_SC_RINGING)替换为183(PJSIP_SC_PROGRESS)。使用“out\u auto\u transmit=true”可以正常工作