File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
webrtc-sdk/src/main/java/com/example/webrtc/client/controller Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ import org.webrtc.VideoTrack
22
22
import javax.inject.Inject
23
23
import javax.inject.Singleton
24
24
25
+ // TODO Turn 서버 지정
26
+
25
27
@Singleton
26
28
internal class WebRtcController @Inject constructor(
27
29
private val peerConnectionFactory : PeerConnectionFactory ,
@@ -33,6 +35,7 @@ internal class WebRtcController @Inject constructor(
33
35
34
36
private val constraints = MediaConstraints ().apply {
35
37
mandatory.add(MediaConstraints .KeyValuePair (" OfferToReceiveVideo" , " true" ))
38
+ mandatory.add(MediaConstraints .KeyValuePair (" OfferToReceiveAudio" , " true" ))
36
39
}
37
40
private val controllerEvent = MutableSharedFlow <WebRtcEvent >(extraBufferCapacity = 100 )
38
41
You can’t perform that action at this time.
0 commit comments