@@ -295,7 +295,7 @@ public void onError(PublisherKit arg0, OpentokError arg1) {
295295 public void onStreamCreated (PublisherKit arg0 , Stream arg1 ) {
296296 Log .i (TAG , "publisher stream received" );
297297 streamCollection .put (arg1 .getStreamId (), arg1 );
298-
298+
299299 streamHasAudio .put (arg1 .getStreamId (), arg1 .hasAudio ());
300300 streamHasVideo .put (arg1 .getStreamId (), arg1 .hasVideo ());
301301 JSONObject videoDimensions = new JSONObject ();
@@ -906,7 +906,7 @@ public void onStreamHasVideoChanged(Session session, Stream stream, boolean newV
906906 @ Override
907907 public void onStreamVideoDimensionsChanged (Session session , Stream stream , int width , int height ) {
908908 JSONObject oldValue = this .streamVideoDimensions .get (stream .getStreamId ());
909-
909+
910910 JSONObject newValue = new JSONObject ();
911911 try {
912912 newValue .put ("width" , width );
@@ -989,11 +989,11 @@ protected Map<String, String> getParams()
989989 params .put ("partner_id" , apiKey );
990990 params .put ("payload" , payload .toString ());
991991 params .put ("source" , "https://github.com/opentok/cordova-plugin-opentok" );
992- params .put ("build" , "2.15.3 " );
992+ params .put ("build" , "2.18.1 " );
993993 params .put ("session_id" , sessionId );
994994 if (connectionId != null ) {
995995 params .put ("action" , "cp_on_connect" );
996- params .put ("connectionId" , connectionId );
996+ params .put ("connectionId" , connectionId );
997997 } else {
998998 params .put ("action" , "cp_initialize" );
999999 }
@@ -1090,4 +1090,4 @@ public void onStreamVideoTypeChanged(Session arg0, Stream arg1,
10901090 // TODO Auto-generated method stub
10911091
10921092 }
1093- }
1093+ }
0 commit comments