ChenYilong / ChenYilong/WebRTC

禁用麦克风权限

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
455
Forks
108
PR merge metrics
No merged PRs in 30d

Description

请问楼主,建立连接时如何禁用麦克风权限申请,我在官方提供的代码基础上注释掉下面两行代码,但是在建立连接的时候还是会申请麦克风权限。
[self createAudioSender];
[self createVideoSender];

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the connection setup around the two Objective-C calls shown in the issue: createAudioSender and createVideoSender. Check which remaining connection path requests microphone access after those calls are commented out. Done means establishing a connection no longer requests microphone permission while the intended video behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c
Domain
audio-video-rtc, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.