I’ve got the forked PJProject library compiled and installed. I have the video menu option enabled now when I run Pjsua manually.
I’m still having issues getting Pjsua to send video.
When Pjsua starts up I see the following in the logs:
22:37:49.384 pjsua_vid.c ..Initializing video subsystem..
22:37:49.386 v4l2_dev.c ...Video4Linux2 has 0 devices
22:37:49.411 sdl_dev.c ...SDL 2.0 initialized
22:37:49.411 colorbar_dev.c ...Colorbar video src initialized with 2 device(s):
22:37:49.411 colorbar_dev.c ... 0: Colorbar generator
22:37:49.411 colorbar_dev.c ... 1: Colorbar-active
22:37:49.411 sip_endpoint.c .Module "mod-evsub" registered
When I check the video device list in pjsua this is the ouput:
22:41:34.647 pjsua_app_comm Video device list:
22:41:34.647 pjsua_app_comm 3 device(s) detected:
22:41:34.647 pjsua_app_comm -2 SDL renderer [SDL][render] (default renderer device)
22:41:34.647 pjsua_app_comm Supported capabilities: format, window, resize, wndflags
22:41:34.647 pjsua_app_comm Supported formats: RGBA, RGB24, BGRA, DIB , YUY2, UYVY, YVYU, I420, YV12, I420JPG, I422JPG
22:41:34.647 pjsua_app_comm -1 Colorbar generator [Colorbar][capture] (default capture device)
22:41:34.647 pjsua_app_comm Supported capabilities: format
22:41:34.647 pjsua_app_comm Supported formats: YUY2, UYVY, YVYU, RGBA, RGB24, BGRA, YV12, I420, I422, I420JPG, I422JPG
22:41:34.647 pjsua_app_comm 0 SDL renderer [SDL][render]
22:41:34.647 pjsua_app_comm Supported capabilities: format, window, resize, wndflags
22:41:34.647 pjsua_app_comm Supported formats: RGBA, RGB24, BGRA, DIB , YUY2, UYVY, YVYU, I420, YV12, I420JPG, I422JPG
22:41:34.647 pjsua_app_comm 1 Colorbar generator [Colorbar][capture]
22:41:34.647 pjsua_app_comm Supported capabilities: format
22:41:34.647 pjsua_app_comm Supported formats: YUY2, UYVY, YVYU, RGBA, RGB24, BGRA, YV12, I420, I422, I420JPG, I422JPG
22:41:34.647 pjsua_app_comm 2 Colorbar-active [Colorbar][capture]
22:41:34.647 pjsua_app_comm Supported capabilities: format
22:41:34.647 pjsua_app_comm Supported formats: YUY2, UYVY, YVYU, RGBA, RGB24, BGRA, YV12, I420, I422, I420JPG, I422JPG
From that, which video device would map back to what’s currently on display :0? I am able to record that display using ffmpeg, but cannot seem to get Pjsua to use that display during a sip call.
In my psjua.config file it has --vcapture-dev=-1
and I see that Jibri is hardcoded to send --capture-dev=23
and --playback-dev=24
would these be correct for all environments or something that needs modification? How do I determine which device ids I should be using?