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

Commit

Permalink
Test no streaming track
Browse files Browse the repository at this point in the history
  • Loading branch information
incubo4u committed Jan 22, 2024
1 parent ff72631 commit 99cde23
Showing 1 changed file with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,18 @@ internal class InternalMembraneRTC
eglBase,
videoParameters,
captureDeviceName
).also { it.start() }
).also {
it.start()
it.setEnabled(false)
}

localTracks.add(videoTrack)
// localEndpoint = localEndpoint.withTrack(videoTrack.id(), metadata)
localEndpoint = localEndpoint.withTrack(videoTrack.id(), metadata)

// coroutineScope.launch {
// peerConnectionManager.addTrack(videoTrack)
// rtcEngineCommunication.renegotiateTracks()
// }
coroutineScope.launch {
peerConnectionManager.addTrack(videoTrack)
rtcEngineCommunication.renegotiateTracks()
}

return videoTrack
}
Expand Down

0 comments on commit 99cde23

Please sign in to comment.