Skip to content
Snippets Groups Projects
Commit 4cc35613 authored by Nikhil Kilivayil's avatar Nikhil Kilivayil Committed by Leo Ma
Browse files

Spelling mistakes corrected (#295)

parent 42fd31eb
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -131,10 +131,10 @@ public class MainActivity extends AppCompatActivity implements RtmpHandler.RtmpL
@Override
public void onClick(View v) {
if (btnSwitchEncoder.getText().toString().contentEquals("soft encoder")) {
mPublisher.swithToSoftEncoder();
mPublisher.switchToSoftEncoder();
btnSwitchEncoder.setText("hard encoder");
} else if (btnSwitchEncoder.getText().toString().contentEquals("hard encoder")) {
mPublisher.swithToHardEncoder();
mPublisher.switchToHardEncoder();
btnSwitchEncoder.setText("soft encoder");
}
}
Loading
Loading
Loading
Loading
@@ -52,7 +52,7 @@ public class SrsEncoder {
private boolean networkWeakTriggered = false;
private boolean mCameraFaceFront = true;
private boolean useSoftEncoder = false;
private boolean canSoftEncoder = false;
private boolean canSoftEncode = false;
private long mPresentTimeUs;
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