iOS 앱에서 음성 및 영상 채팅 통합

소개



ApploziciOS Audio and Video Call SDK은 응용 프로그램 내에서 음성 및 비디오 기능을 사용하여 실시간 채팅을 구축하는 데 필요한 모든 구성 요소를 제공하며 개발자가 대화형 채팅, 푸시 알림, 그룹 채팅, PIP(Picture in Picture) 등을 구현할 수 있도록 합니다. 특징!



Covid-19의 전 세계적 영향 중 하나와 그에 따른 정부의 폐쇄는 급성rise in the need for real time communication across multiple industries이었습니다. 의료, 교육 및 기술 지원과 같은 몇 가지 주요 분야는 고객의 다양한 요구를 충족시키는 최초의 시장 애플리케이션의 탄생과 급속한 성장을 목격했습니다. 예를 들어 the features offered in telemedicine은 즉각적인 의사 소통이 매우 중요한 분야에서 필요한 중단을 많이 일으켰습니다.

이 자습서에서는 Applozic iOS Voice and Video SDK을 활용하여 실시간 고객 지원, 일대일 원격 의료, 개인 치료 등과 같은 산업 전반에서 사용할 수 있는 실시간 채팅 응용 프로그램을 만듭니다. With HIPAA compliant security on all your conversationsprogrammable personalization capabilities은 Applozic을 사용하면 고품질 비디오 및 오디오를 통해 더 나은 참여를 유도하고, 사용자와의 상호 작용을 늘리고, 고객을 유지할 가능성을 높일 수 있습니다.

나만의 실시간 커뮤니케이션 앱 만들기



Applozic 오디오-비디오 통화 SDK는 애플리케이션 내에서 고품질 IP 오디오 및 비디오 통화 기능을 제공합니다. 이 SDK를 사용하면 애플리케이션 사용자가 안전한 일대일 통화에 참여하고 음성 통화 및 화상 통화를 통해 신뢰할 수 있는 대화 시스템을 구축하여 워크플로를 자동화할 수 있습니다. 이 SDK를 사용하여 통신용 독립 실행형 애플리케이션을 생성하거나 기존 애플리케이션과 통합할 수 있습니다.

Note: The Voice and Video SDK is a beta product and new features will be added in the upcoming months.



이 튜토리얼을 수행하는 동안 어려움이 있는 경우 [email protected]로 문의할 수 있습니다. cocoapods 샘플 앱을 확인하려면 click here.

요구 사항



다음은 필요한 종속성 중 일부입니다.
  • Xcode 12.0 이상
  • CocoaPods 1.9.0 이상
  • 프로젝트는 iOS 11 이상을 대상으로 해야 합니다
  • .

    We are assuming the following application is going to be written using Objective-C. For corresponding code in Swift, please check the documentation in our github repository.



    애플리케이션 설정



    Applozic iOS Audio Video SDK를 사용하고 쉽게 맞춤설정할 수 있는 사전 빌드된 구성요소를 활용하려면 sign up for Applozic get your APP_ID from the install section of the console.을 수행하세요.

    설치 - 오디오 및 비디오 기능을 위한 빌딩 블록 설정



    코코아 포드


  • ApplozicAudioVideo는 CocoaPods을 통해 사용할 수 있습니다.
  • 설치하려면/ios/Podfile에 있는 Podfile을 설정하고 아래에 포드 종속성을 추가합니다.
  • source 'https://github.com/CocoaPods/Specs'
    use_frameworks!  # Required to add 
    platform :ios, '11.0' # Required to add
    
    target 'TARGET_NAME' do
        pod 'ApplozicAudioVideo'  # Required to add 
    end
  • 터미널에서 YourApp/ios 디렉토리로 이동하여 아래 명령을 실행합니다.
  • pod install

    Note: If you do not have pod dependency, check out how to get started here.



    오디오-비디오 통화 SDK에는 iOS 메시징 SDK가 포함되어 있습니다. Podfile에 'Applozic' 포드를 추가한 경우 이를 제거하고 'ApplozicAudioVideo'로 교체하십시오.

    권한 추가



    카메라, 사진 라이브러리, 마이크, 연락처 및 위치 사용에 대한 권한을 추가합니다.

    Note: We won't be asking the users for these permissions unless they use the respective feature. Due to Apple's requirement, we have to add these permissions if we are using any of their APIs related to Camera, Microphone, etc.


    Info.plist 파일에서 /ios/YOUR_PROJECT_NAME/Info.plist를 열고 이 권한을 <dict> 태그 안에 붙여넣습니다.

    <key>NSCameraUsageDescription</key>
    <string>Allow Camera</string>
    <key>NSContactsUsageDescription</key>
    <string>Allow Contacts</string>
    <key>NSLocationWhenInUseUsageDescription</key>
    <string>Allow location sharing!!</string>
    <key>NSMicrophoneUsageDescription</key>
    <string>Allow MicroPhone</string>
    <key>NSPhotoLibraryUsageDescription</key>
    <string>Allow Photos</string>
    <key>NSPhotoLibraryAddUsageDescription</key>
    <string>Allow write access</string>
    


    애플리케이션 ID 설정



    이 단계에서 이미 Applozic용 signed upobtained your APP_ID이 있어야 합니다.
    ALChatManager.h 파일을 열고 "applozic-sample-app"을 APP-ID로 바꿉니다.

    #define APPLICATION_ID @"&lt;YOUR_APPLOZIC_APP_ID>"
    


    Once you are at this stage, follow the Applozic documentation 인증, 사용자 프로필 설정 및 애플리케이션의 기타 기본 빌딩 블록을 완료합니다.

    Applozic 블로그에서 이 튜토리얼을 계속하세요!



    통합 및 구성을 계속할 수 있도록 our blog에서 사용할 수 있는 코드 스니펫이 포함된 자세한 자습서가 있습니다.

    Click here to learn 방법:
  • 인증 설정
  • 오디오/비디오 구성 추가
  • 푸시 알림 설정
  • 기타 다양한 기능!

  • 아래 댓글에 피드백과 의문점을 남겨주세요!

    좋은 웹페이지 즐겨찾기