New 개발가이드 (Beta)
  • RemoteMonster
  • 통화
    • 5분 안에 시작하기
    • 튜토리얼 : 단순 통화 앱 만들기
      • 키 발급
      • 새 프로젝트 설정(Web)
      • 새 프로젝트 설정(Android)
      • 새 프로젝트 설정(iOS)
      • 단순 통화 앱 만들기(Web)
    • API 레퍼런스
    • 통화 앱 예제
    • 그룹통화 만들기
  • 방송
    • 5분 안에 시작하기
    • 튜토리얼 : 단순 방송/시청 앱 만들기
      • 키 발급
      • 새 프로젝트 설정(Web)
      • 새 프로젝트 설정(Android)
      • 새 프로젝트 설정(iOS)
      • 단순 시청 앱 만들기(Web)
    • API 레퍼런스
    • 방송 앱 예제
  • 그룹통화
    • 그룹통화 만들기(Android)
    • 그룹통화 만들기(iOS)
    • 그룹통화 만들기(Web)
  • FAQ
  • 초안
    • 초안
      • FAQ1
      • 그룹통화 개념
      • 채널ID 규칙
      • 빨리 방송 시작하기
      • 단순 시청 앱 만들기(Android) (초안)
      • 단순 시청 앱 만들기(iOS) (초안)
      • 단순 통화 앱 만들기(iOS) (초안)
      • 단순 통화 앱 만들기(Android) (초안)
      • 통화 SDK (초안)
        • RemonCall
        • Config
        • Channel
        • Video/Audio 옵션
        • Callback과 Observer
      • 방송 SDK (초안)
        • RemonCast
        • Config
        • Channel
        • Video/Audio 옵션
        • Callback과 Observer
      • 인증
      • 인증
      • 개념
      • 개념
      • 통화와 방송
      • 통화 개요
      • 방송 개요
Powered by GitBook
On this page
  • Web
  • Simple Call (웹)
  • Voice Call (웹)
  • Call List (웹)
  • Video Config (웹)
  • Screen Share (데스크탑 웹)
  • Camera Switch (웹)
  • Send message (웹)
  • VolumeBar (웹)
  • Android
  • SimpleCall (Android)
  • Full (Android)
  • iOS
  • SimpleCall (iOS)

Was this helpful?

  1. 통화

통화 앱 예제

PreviousAPI 레퍼런스Next그룹통화 만들기

Last updated 5 years ago

Was this helpful?

Web

Simple Call (웹)

단순한 영상통화

전체 코드 보기 :

Voice Call (웹)

단순한 음성통화

Call List (웹)

활성 통화채널 목록 조회

Video Config (웹)

비디오 설정

Screen Share (데스크탑 웹)

화면 공유

Camera Switch (웹)

카메라가 여러개 있을 경우 카메라 선택

Send message (웹)

VolumeBar (웹)

볼륨 표시

Android

SimpleCall (Android)

Full (Android)

iOS

SimpleCall (iOS)

주요 코드

class SimpleCallViewController: UIViewController {
    // 생략
    
    // 1:1 통화를 위한 채널에 접속합니다.
    @IBAction func connectChannel(_ sender: Any) {
        self.view.endEditing(true)
        
        // 입력된 채널명(채널ID)
        let channelID = self.chField.text
        
        if channelID != nil && channelID!.count > 0 {
            
            // config는 별도 설정한 뒤에 전달해도 되며, nil 인 경우 remonCall 내부 프로퍼티 값을 사용하게 됩니다.
            // 내부 프로퍼티는 IB에서 설정할 수 있습니다.
            remonCall.connect(channelID!, customConfig)
            self.chLabel.text = channelID
        } else {
            
            // 랜덤번호를 채널명으로 사용하는 예
            let randChannelID:String! = String(arc4random_uniform(9999))
            remonCall.connect(randChannelID, customConfig)
            self.chLabel.text = randChannelID
        }
    }
    // 생략
}    

전체 코드

https://github.com/RemoteMonster/web-sdk/blob/master/examples/full/simpleCall.html
https://github.com/RemoteMonster/web-sdk/blob/master/examples/full/voiceCall.html
https://github.com/RemoteMonster/web-sdk/blob/master/examples/full/castList.html
https://github.com/RemoteMonster/web-sdk/blob/master/examples/full/videoConfig.html
https://github.com/RemoteMonster/web-sdk/blob/master/examples/full/screenShare.html
https://github.com/RemoteMonster/web-sdk/blob/master/examples/full/cameraSwitch.html
https://github.com/RemoteMonster/web-sdk/blob/master/examples/full/sendMessage.html
https://github.com/RemoteMonster/web-sdk/blob/master/examples/full/voiceCallWithVolumeBar.html
https://github.com/RemoteMonster/android-sdk/blob/master/examples/SimpleCall/app/src/main/java/com/remotemonster/example/simplecall/MainActivity.kt
https://github.com/RemoteMonster/android-sdk/tree/master/examples/full/app/src/main/java/com/remotemonster/sdktest/sample
https://github.com/RemoteMonster/ios-sdk/blob/master/examples/BaseExamples/SimpleRemon/SimpleCallViewController.swift