Howdy. Here is my writeup for compiling the PJSIP stable release on the Raspberry Pi 3 / Raspian Stretch with the Raspberry Pi Camera module, allowing audio and video sip calls:
16:29:24.742 pjsua_media.c ......Call 2: deinitializing media..
16:29:24.757 pjsua_media.c ........Media stream call02:0 is destroyed
16:29:24.757 pjsua_vid.c ........Stopping video stream..
16:29:24.776 v4l2_dev.c .........Stopping v4l2 video stream mmal service 16.1
16:29:25.835 pjsua_vid.c .........Window 1: destroying..
16:29:25.835 v4l2_dev.c ..........Stopping v4l2 video stream mmal service 16.1
16:29:25.835 vid_port.c ..........Closing mmal service 16.1..
16:29:25.835 v4l2_dev.c ..........Stopping v4l2 video stream mmal service 16.1
16:29:25.835 v4l2_dev.c ..........Destroying v4l2 video stream mmal service 16.1
16:29:25.837 sdl_dev.c ..........Stopping sdl video stream
16:29:25.837 vid_port.c ..........Closing SDL renderer..
16:29:25.837 sdl_dev.c ..........Stopping sdl video stream
16:29:25.854 sdl_dev.c .........Stopping sdl video stream
16:29:25.854 pjsua_vid.c .........Window 0: destroying..
16:29:25.854 sdl_dev.c ..........Stopping sdl video stream
16:29:25.854 vid_port.c ..........Closing SDL renderer..
16:29:25.854 sdl_dev.c ..........Stopping sdl video stream
Segmentation fault
I only have one issue at the moment. When hanging up from a video call, I get a segmentation fault on the pjsua application when the SDL video stream is closed:
16:29:24.757 pjsua_media.c ........Media stream call02:0 is destroyed
16:29:24.757 pjsua_vid.c ........Stopping video stream..
16:29:24.776 v4l2_dev.c .........Stopping v4l2 video stream mmal service 16.1
16:29:25.835 pjsua_vid.c .........Window 1: destroying..
16:29:25.835 v4l2_dev.c ..........Stopping v4l2 video stream mmal service 16.1
16:29:25.835 vid_port.c ..........Closing mmal service 16.1..
16:29:25.835 v4l2_dev.c ..........Stopping v4l2 video stream mmal service 16.1
16:29:25.835 v4l2_dev.c ..........Destroying v4l2 video stream mmal service 16.1
16:29:25.837 sdl_dev.c ..........Stopping sdl video stream
16:29:25.837 vid_port.c ..........Closing SDL renderer..
16:29:25.837 sdl_dev.c ..........Stopping sdl video stream
16:29:25.854 sdl_dev.c .........Stopping sdl video stream
16:29:25.854 pjsua_vid.c .........Window 0: destroying..
16:29:25.854 sdl_dev.c ..........Stopping sdl video stream
16:29:25.854 vid_port.c ..........Closing SDL renderer..
16:29:25.854 sdl_dev.c ..........Stopping sdl video stream
Segmentation fault
If anyone has a solution or I find one independently, I will update the guide.
Regards, olivebreath
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org