/tuyasmart_camera_ios_sdk

Primary LanguageObjective-CMIT LicenseMIT

TuyaSmartCamera

中文版 | English


Features Overview

Tuya Smart Camera SDK provides the interface package for the communication with remote camera device to accelerate the application development process, including the following features:

  • Preview the picture taken by the camera
  • Play back recorded video of the remote camera
  • Record video
  • Talk to the remote camera

Rapid Integration

Using CocoaPods integration(version 8.0 or above is supported)

Add the following line to your Podfile:

platform :ios, '9.0'

target 'your_target_name' do

  pod "TuyaSmartActivatorKit"
	pod 'TuyaSmartCameraKit'
  pod 'TYEncryptImage'
	#pod 'TuyaSmartCameraT'

end

TuyaSmartCameraKit is not support p2p 1.0 by default, if you want integrate p2p 1.0 camera, you could add this code: pod 'TuyaSmartCameraT'.

TuyaSmartCamera is removed from sdk, you can get it from demo in this repo.

Execute command pod updatein the project's root directory to begin integration.

For the instructions of CocoaPods, please refer to : CocoaPods Guides

Doc

Refer to Details: Tuya Smart Camera iOS SDK Doc

Demo

  1. Clone this repo to local.

  2. Open terminal, run these command:

    cd tuyasmart_camera_ios_sdk/Example/
    pod install
  3. Open TuyaSmartHomeKit.xcworkspace.

  4. Refer to Preparation work, add the security image to project, and modify the bundleId.

  5. Open TYAppDelegate.m, complement the appKey, appSecret. If you need TYCameraCloudServicePanelSDK, also need to complement the App's channel id.

  6. Run project. Since video decode with hardware decoding, so please debug with iPhone.

ChangeLog

ChangeLog