Skip to content
Snippets Groups Projects
Commit 6f1386f3 authored by Leo Ma's avatar Leo Ma
Browse files

Improve audio record switch


Signed-off-by: default avatarLeo Ma <begeekmyfriend@gmail.com>
parent 956856c7
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -246,6 +246,13 @@ public class SrsPublisher {
}
public void setSendVideoOnly(boolean flag) {
if (mic != null) {
if (flag) {
mic.startRecording();
} else {
mic.stop();
}
}
sendVideoOnly = flag;
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment