Skip to content

Old capture device not removed when switching video capture device#3325

Merged
nanangizz merged 1 commit intomasterfrom
vid-switch-dev
Jan 21, 2023
Merged

Old capture device not removed when switching video capture device#3325
nanangizz merged 1 commit intomasterfrom
vid-switch-dev

Conversation

@nanangizz
Copy link
Copy Markdown
Member

When performing switching capture device, e.g: using pjsua_call_set_vid_strm(PJSUA_CALL_VID_STRM_CHANGE_CAP_DEV), the old capture device is not disconnected from encoding stream port, so remove will receive mixed capture devices in a single window.

After investigation, it turns out there is a bug in video conference that prevent it from disconnecting ports.

This PR also added more log lines and updated some log levels.

Thanks to Giorgio Alfarano for the report.

@nanangizz nanangizz merged commit d3f79e7 into master Jan 21, 2023
@nanangizz nanangizz deleted the vid-switch-dev branch January 21, 2023 06:44
@sauwming sauwming modified the milestones: release-2.14, release-2.13.1 Jul 5, 2023
dshamaev-intermedia pushed a commit to intermedia-net/pjproject that referenced this pull request Sep 4, 2023
BarryYin pushed a commit to BarryYin/pjproject that referenced this pull request Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants