[android] Dump webrtc logs in a file

357 views
Skip to first unread message

Neernay Khairkar

unread,
Jun 16, 2016, 10:41:31 AM6/16/16
to discuss-webrtc
Hi Guys, I want to dump the webrtc logs generated by below code in a file on sdcard.

Logging.enableTracing(
"logcat:",
EnumSet.of(Logging.TraceLevel.TRACE_DEFAULT),
Logging.Severity.LS_INFO);

Is there any way to do it?

Neernay Khairkar

unread,
Jun 22, 2016, 2:54:30 AM6/22/16
to discuss-webrtc
Hi, Can anyone help on this?

Christoffer Jansson

unread,
Jul 7, 2016, 9:39:08 AM7/7/16
to discuss-webrtc
Hi,

You can start logcat on the device and also provide a location and filename to where it should store it using the -f option.


/Chris

--

---
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/ac8ee12c-dfcd-49f5-8f8c-6f45a2df7f18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
/Chris

Neernay Khairkar

unread,
Jul 7, 2016, 10:08:51 AM7/7/16
to discuss-webrtc
I want to do it through java code like the way I am doing for my application.
I want the to dump the webrtc logs in the same file through java.

You received this message because you are subscribed to a topic in the Google Groups "discuss-webrtc" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/discuss-webrtc/pSQexugpEIk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/CAAdOTUMTOi9m-2f%2Bmt%2B0MdeMLq0RpS3eCX2KcAZ14g4jDCMPQQ%40mail.gmail.com.

Christoffer Jansson

unread,
Jul 8, 2016, 3:37:08 AM7/8/16
to discuss-webrtc
Not sure, have you tried the solutions suggested in the top search result when googling for "android dump log file via java" ?


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

Neernay Khairkar

unread,
Jul 8, 2016, 6:15:20 AM7/8/16
to discuss-webrtc
What I want is to dump the logs specific to my application only! So whether if it's webrtc or java logs, I want them in a single fine.

Anmol Sharma

unread,
Jul 18, 2016, 5:59:17 AM7/18/16
to discuss-webrtc
Hey. I have some issue but haven't received any solution, so asking you this way.

in my android app,Callee is not able to get caller side A/V stream but caller is receiving. The caller's SDP has audio and video attributr reconly:
**a=mid:audio
.
.
a=recvonly

a=mid:video
.
.
a=recvonly**

How to enable both side stream?


Neernay Khairkar

unread,
Jul 18, 2016, 6:28:31 AM7/18/16
to discuss-webrtc
You should continue in a different thread but still answering:
Probably you are setting the attribute "OfferToReceiveVideo" and "OfferToReceiveAudio" as "false". Try checking your code if you setting this anywhere?
Reply all
Reply to author
Forward
0 new messages