Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
add temp logging
Browse files Browse the repository at this point in the history
  • Loading branch information
karkakol committed Jan 9, 2024
1 parent 59ad94f commit d536baa
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package org.membraneframework.rtc

import android.content.Context
import android.content.Intent
import android.util.Log
import dagger.assisted.Assisted
import dagger.assisted.AssistedFactory
import dagger.assisted.AssistedInject
Expand Down Expand Up @@ -229,6 +230,7 @@ constructor(

otherEndpoints.forEach {
this.remoteEndpoints[it.id] = it
Timber.tag("AAA").d(it.toString())

for ((trackId, metadata) in it.trackIdToMetadata) {
val context = TrackContext(track = null, endpoint = it, trackId = trackId, metadata = metadata, simulcastConfig = it.tracks[trackId]?.simulcastConfig)
Expand Down Expand Up @@ -351,8 +353,10 @@ constructor(
remoteEndpoints[updatedEndpoint.id] = updatedEndpoint

for ((trackId, metadata) in updatedEndpoint.trackIdToMetadata) {
val context = TrackContext(track = null, endpoint = endpoint, trackId = trackId, metadata = metadata, simulcastConfig = updatedEndpoint.tracks[trackId]?.simulcastConfig)


val context = TrackContext(track = null, endpoint = endpoint, trackId = trackId, metadata = metadata, simulcastConfig = updatedEndpoint.tracks[trackId]?.simulcastConfig)
Timber.tag("AAA").d(context.toString())
this.trackContexts[trackId] = context

this.listener.onTrackAdded(context)
Expand Down

0 comments on commit d536baa

Please sign in to comment.