Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions desktop-app/src/app/app.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ export class AppService {
'" --crop ' +
options.crop +
' ' +
(!options.redirect_audio ? ' --no-audio ' : '') +
' -b ' +
options.bit_rate +
' ' +
Expand Down
16 changes: 16 additions & 0 deletions desktop-app/src/app/stream-options/stream-options.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,22 @@
</label>
</div>
</div>
<div class="col s12 fixed-height">
Redirect audio from the headset
<div class="grey-text small">
Redirects audio from the headset to computer speakers.
</div>
</div>
<div class="col s12 fixed-height">
<div class="switch">
<label>
Off
<input type="checkbox" [(ngModel)]="scrcpy_options.redirect_audio" />
<span class="lever"></span>
On
</label>
</div>
</div>
<div class="col s12 fixed-height">
Bit Rate
<div class="grey-text small">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { StatusBarService } from '../status-bar.service';
export class StreamOptionsComponent implements OnInit {
scrcpy_options: any = {
always_on_top: false,
redirect_audio: true,
bit_rate: '8000000',
crop: '1600:900:2017:510',
no_control: true,
Expand Down