Audio Call
Step 1. 세션 생성
sdk.createSession(userId = "USER_ID")Step 2. 발신
import io.omnitalk.sdk.types.PublicTypes
sdk.offerCall(
callType = PublicTypes.CALL_TYPE.audiocall,
callee = calleeId,
record = true,
localView = null,
remoteView = null
)Step 3. 수신
callee가 RINGING_EVENT를 받은 경우
callee가 전화 요청(offerCall) 이후에 session을 생성한 경우
Step 4. 연결 성공
Step 5. 전화 끊기
오디오 장치 제어
mute/unmute
입력 장치 변경
Last updated