Skip to content

Commit 862a770

Browse files
author
Xia Ning
committed
remove logupload calling in examples
fix iOS build issue
1 parent 0403154 commit 862a770

54 files changed

Lines changed: 0 additions & 294 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/ARCore.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -375,15 +375,6 @@ public void onError(int err)
375375
{
376376
Log.e(TAG, String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
377377
showAlert(String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
378-
/** Upload current log file immediately to server.
379-
* only use this when an error occurs
380-
* block before log file upload success or timeout.
381-
*
382-
* @return
383-
* - 0: Success.
384-
* - < 0: Failure.
385-
*/
386-
engine.uploadLogFile();
387378
}
388379

389380
/**Occurs when a user leaves the channel.

Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/AdjustVolume.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -276,15 +276,6 @@ public void onWarning(int warn) {
276276
public void onError(int err) {
277277
Log.e(TAG, String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
278278
showAlert(String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
279-
/** Upload current log file immediately to server.
280-
* only use this when an error occurs
281-
* block before log file upload success or timeout.
282-
*
283-
* @return
284-
* - 0: Success.
285-
* - < 0: Failure.
286-
*/
287-
engine.uploadLogFile();
288279
}
289280

290281
/**Occurs when a user leaves the channel.

Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/ChannelEncryption.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -275,15 +275,6 @@ public void onError(int err)
275275
{
276276
Log.e(TAG, String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
277277
showAlert(String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
278-
/** Upload current log file immediately to server.
279-
* only use this when an error occurs
280-
* block before log file upload success or timeout.
281-
*
282-
* @return
283-
* - 0: Success.
284-
* - < 0: Failure.
285-
*/
286-
engine.uploadLogFile();
287278
}
288279

289280
/**Occurs when a user leaves the channel.

Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/CustomRemoteVideoRender.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -242,15 +242,6 @@ public void onWarning(int warn) {
242242
public void onError(int err) {
243243
Log.e(TAG, String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
244244
showAlert(String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
245-
/** Upload current log file immediately to server.
246-
* only use this when an error occurs
247-
* block before log file upload success or timeout.
248-
*
249-
* @return
250-
* - 0: Success.
251-
* - < 0: Failure.
252-
*/
253-
engine.uploadLogFile();
254245
}
255246

256247
/**Occurs when a user leaves the channel.

Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/GeoFencing.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -278,15 +278,6 @@ public void onError(int err) {
278278
handler.post(() -> join.setEnabled(true));
279279
} else
280280
showAlert(String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
281-
/** Upload current log file immediately to server.
282-
* only use this when an error occurs
283-
* block before log file upload success or timeout.
284-
*
285-
* @return
286-
* - 0: Success.
287-
* - < 0: Failure.
288-
*/
289-
engine.uploadLogFile();
290281
}
291282

292283
/**Occurs when a user leaves the channel.

Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/HostAcrossChannel.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -297,15 +297,6 @@ public void onError(int err)
297297
{
298298
Log.e(TAG, String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
299299
showAlert(String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
300-
/** Upload current log file immediately to server.
301-
* only use this when an error occurs
302-
* block before log file upload success or timeout.
303-
*
304-
* @return
305-
* - 0: Success.
306-
* - < 0: Failure.
307-
*/
308-
engine.uploadLogFile();
309300
}
310301

311302
/**Occurs when a user leaves the channel.

Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/InCallReport.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -275,15 +275,6 @@ public void onError(int err)
275275
{
276276
Log.e(TAG, String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
277277
showAlert(String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
278-
/** Upload current log file immediately to server.
279-
* only use this when an error occurs
280-
* block before log file upload success or timeout.
281-
*
282-
* @return
283-
* - 0: Success.
284-
* - < 0: Failure.
285-
*/
286-
engine.uploadLogFile();
287278
}
288279

289280
/**Occurs when a user leaves the channel.

Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/JoinMultipleChannel.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -343,15 +343,6 @@ public void onWarning(int warn) {
343343
public void onError(int err) {
344344
Log.e(TAG, String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
345345
showAlert(String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
346-
/** Upload current log file immediately to server.
347-
* only use this when an error occurs
348-
* block before log file upload success or timeout.
349-
*
350-
* @return
351-
* - 0: Success.
352-
* - < 0: Failure.
353-
*/
354-
engine.uploadLogFile();
355346
}
356347

357348
/**

Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/LiveStreaming.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -299,15 +299,6 @@ public void onWarning(int warn) {
299299
public void onError(int err) {
300300
Log.e(TAG, String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
301301
showAlert(String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
302-
/** Upload current log file immediately to server.
303-
* only use this when an error occurs
304-
* block before log file upload success or timeout.
305-
*
306-
* @return
307-
* - 0: Success.
308-
* - < 0: Failure.
309-
*/
310-
engine.uploadLogFile();
311302
}
312303

313304
/**Occurs when a user leaves the channel.

Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/MediaPlayerKit.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -386,15 +386,6 @@ public void onWarning(int warn) {
386386
public void onError(int err) {
387387
Log.e(TAG, String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
388388
showAlert(String.format("onError code %d message %s", err, RtcEngine.getErrorDescription(err)));
389-
/** Upload current log file immediately to server.
390-
* only use this when an error occurs
391-
* block before log file upload success or timeout.
392-
*
393-
* @return
394-
* - 0: Success.
395-
* - < 0: Failure.
396-
*/
397-
engine.uploadLogFile();
398389
}
399390

400391
/**Occurs when a user leaves the channel.

0 commit comments

Comments
 (0)