forked from mirror/monocles_chat_clean
log track class in onAddTrack
(cherry picked from commit 30c9e7399e0188a80c23e09edaf782fc651c364d)
This commit is contained in:
parent
c5f1dcd2ab
commit
206a28b4dd
1 changed files with 4 additions and 0 deletions
|
@ -164,6 +164,10 @@ public class WebRTCWrapper {
|
|||
public void onAddTrack(RtpReceiver rtpReceiver, MediaStream[] mediaStreams) {
|
||||
final MediaStreamTrack track = rtpReceiver.track();
|
||||
Log.d(EXTENDED_LOGGING_TAG, "onAddTrack(kind=" + (track == null ? "null" : track.kind()) + ",numMediaStreams=" + mediaStreams.length + ")");
|
||||
if (track != null) {
|
||||
Log.d(EXTENDED_LOGGING_TAG,"onAddTrack(class="+track.getClass().getName()+")");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue