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

Improve audio record switch


Signed-off-by: default avatarLeo Ma <begeekmyfriend@gmail.com>
parent 875a5cdc
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -247,6 +247,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