Debug mode in ios webRTC

1,382 views
Skip to first unread message

Ashok Pitambar

unread,
Oct 8, 2015, 8:53:12 AM10/8/15
to discuss-webrtc
Hi All, 

Is there way I an turn on/off debug mode during run time on ios webRTC/Native API exposed by webRTC.

Regards,
Ashok

Zeke Chin

unread,
Oct 8, 2015, 10:06:07 AM10/8/15
to discuss-webrtc
You can build in Debug or Release flavors.

What do you mean by debug mode? Are you referring to logging level? Right now you'd need to call a C++ API to turn it off, but it should be off by default on Release builds.




--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/d028621c-703e-499c-b98b-b53f8678d3be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ashok Pitambar

unread,
Oct 9, 2015, 3:36:22 AM10/9/15
to discuss-webrtc
 debug mode is enabled fro designer build where you log the webRTC logs. At run time when webRTC running , is there any API available to turn it on?
 From your response I understand it can be enabled at compile time and at run time it  can be turned off.

Zeke Chin

unread,
Oct 9, 2015, 12:46:54 PM10/9/15
to discuss-webrtc

Ashok Pitambar

unread,
Oct 13, 2015, 2:38:54 PM10/13/15
to discuss-webrtc
Thanks Zeke.

Regards,
Ashok

Pablo Iris

unread,
Nov 10, 2016, 9:04:26 AM11/10/16
to discuss-webrtc
Hello Zeke

How can I disable the logs on Debug builds?

Thanks

Alvaro Gil

unread,
Nov 10, 2016, 9:09:25 AM11/10/16
to discuss-webrtc
Pablo, check this:

#import "RTCLogging.h"

RTCSetMinDebugLogLevel(kRTCLoggingSeverityInfo);

To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/365afcaa-2a19-42ff-8318-16067823aa6a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Pablo Iris

unread,
Nov 13, 2016, 5:12:09 PM11/13/16
to discuss-webrtc
Thanks Alvaro! it works!



--
Alvaro
Reply all
Reply to author
Forward
0 new messages