File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1818* apiKey
1919* sessionId
2020* token
21- * videoOnly
21+ * audioOnly (creation only)
2222
2323### Methods
2424* connect
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public class VonageViewProxy extends TiViewProxy implements Session.SessionListe
5353 private FrameLayout mSubscriberViewContainer ;
5454 private Publisher mPublisher ;
5555 private Subscriber mSubscriber ;
56- private boolean videoOnly = false ;
56+ private boolean audioOnly = false ;
5757
5858 private class VonageView extends TiUIView
5959 {
@@ -95,8 +95,8 @@ public void processProperties(KrollDict d)
9595 if (d .containsKey ("token" )) {
9696 TOKEN = (d .getString ("token" ));
9797 }
98- if (d .containsKey ("videoOnly " )) {
99- videoOnly = (d .getBoolean ("videoOnly " ));
98+ if (d .containsKey ("audioOnly " )) {
99+ audioOnly = (d .getBoolean ("audioOnly " ));
100100 }
101101 }
102102
@@ -182,7 +182,7 @@ public void onConnected(Session session)
182182 {
183183 Log .d (LCAT , "Session Connected" );
184184 Publisher .Builder pb = new Publisher .Builder (TiApplication .getAppCurrentActivity ());
185- if (videoOnly ) {
185+ if (audioOnly ) {
186186 pb .videoTrack (false );
187187 }
188188 mPublisher = pb .build ();
You can’t perform that action at this time.
0 commit comments