Skip to content

Commit

Permalink
(java) dual mode video quality support, set-able depending on server/…
Browse files Browse the repository at this point in the history
…client OS
  • Loading branch information
[email protected] committed Feb 14, 2012
1 parent ba934be commit 6981672
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions oculus/WEB-INF/src/oculus/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,14 @@ public void grabbersignin(String mode) {
}
}
}

// set video, audio quality mode in grabber flash, depending on server/client OS
String videosoundmode="high"; // windows, default
if (os.equals("linux")) {
videosoundmode="low";
}
IServiceCapableConnection sc = (IServiceCapableConnection) grabber;
sc.invoke("videoSoundMode", new Object[] { videosoundmode });

// do it differently if sonar on board
// if( different firmware ??) docker = new BradzAutoDock();
Expand Down

0 comments on commit 6981672

Please sign in to comment.