#import <ThingCamera.h>
Definition at line 818 of file ThingCamera.h.
◆ device:didAudioDataRecvedWithPCM:length:audioFrameInfo: [1/2]
- (void) device: |
|
(ThingCamera *) |
device |
didAudioDataRecvedWithPCM: |
|
(const unsigned char *) |
pcm |
length: |
|
(unsigned int) |
PCMLength |
audioFrameInfo: |
|
(ThingAudioFrameInfo *) |
audioInfo |
|
|
| |
|
optional |
Description The decoded audio data callback
- Parameters
-
device | Which camera the data belong to. |
pcm | PCM data |
PCMLength | PCM data size |
audioInfo | Audio metadata, see ThingAudioFrameInfo. |
◆ device:didAudioDataRecvedWithPCM:length:audioFrameInfo: [2/2]
- (void) device: |
|
(ThingCamera *) |
device |
didAudioDataRecvedWithPCM: |
|
(const unsigned char *) |
pcm |
length: |
|
(unsigned int) |
PCMLength |
audioFrameInfo: |
|
(ThingAudioFrameInfo *) |
audioInfo |
|
|
| |
|
optional |
Description The decoded audio data callback
- Parameters
-
device | Which camera the data belong to. |
pcm | PCM data |
PCMLength | PCM data size |
audioInfo | Audio metadata, see ThingAudioFrameInfo. |
◆ device:didAudioPlayWithAudioInfo: [1/2]
Description The decoded audio data callback
- Parameters
-
device | Which camera the data belong to. |
audioInfo | Audio metadata, see ThingAudioFrameInfo. |
◆ device:didAudioPlayWithAudioInfo: [2/2]
Description The decoded audio data callback
- Parameters
-
device | Which camera the data belong to. |
audioInfo | Audio metadata, see ThingAudioFrameInfo. |
◆ device:didAudioRecordDataReceiveWithPCM:length:sampleRate:channel: [1/2]
- (void) device: |
|
(ThingCamera *) |
device |
didAudioRecordDataReceiveWithPCM: |
|
(const unsigned char *) |
pcm |
length: |
|
(int) |
length |
sampleRate: |
|
(int) |
samplRate |
channel: |
|
(int) |
channel |
|
|
| |
|
optional |
Description The audo record data callback
- Parameters
-
device | Which camera the data belong to. |
pcm | the audio data. |
length | the pcm length. size in byte |
samplRate | the sample rate of the audio data |
◆ device:didAudioRecordDataReceiveWithPCM:length:sampleRate:channel: [2/2]
- (void) device: |
|
(ThingCamera *) |
device |
didAudioRecordDataReceiveWithPCM: |
|
(const unsigned char *) |
pcm |
length: |
|
(int) |
length |
sampleRate: |
|
(int) |
samplRate |
channel: |
|
(int) |
channel |
|
|
| |
|
optional |
Description The audo record data callback
- Parameters
-
device | Which camera the data belong to. |
pcm | the audio data. |
length | the pcm length. size in byte |
samplRate | the sample rate of the audio data |
◆ device:didEventReceivedEventType:errorCode:intValue:strValue: [1/2]
- (void) device: |
|
(ThingCamera *) |
device |
didEventReceivedEventType: |
|
(THING_EVENT_TYPE_E) |
event |
errorCode: |
|
(int) |
error |
intValue: |
|
(long long) |
intValue |
strValue: |
|
(NSString *) |
strValue |
|
|
| |
|
optional |
Description The Event info callback.
- Parameters
-
device | Which camera the data belong to. |
event | camera event type , defined in THING_EVENT_TYPE_E |
error | error code, defined in THING_EVENT_ERROR_CODE_E |
intValue | intValue |
strValue | strValue |
◆ device:didEventReceivedEventType:errorCode:intValue:strValue: [2/2]
- (void) device: |
|
(ThingCamera *) |
device |
didEventReceivedEventType: |
|
(THING_EVENT_TYPE_E) |
event |
errorCode: |
|
(int) |
error |
intValue: |
|
(long long) |
intValue |
strValue: |
|
(NSString *) |
strValue |
|
|
| |
|
optional |
Description The Event info callback.
- Parameters
-
device | Which camera the data belong to. |
event | camera event type , defined in THING_EVENT_TYPE_E |
error | error code, defined in THING_EVENT_ERROR_CODE_E |
intValue | intValue |
strValue | strValue |
◆ device:didLocalVideoRecvedWithSampleBuffer:width:height: [1/2]
- (void) device: |
|
(ThingCamera *) |
device |
didLocalVideoRecvedWithSampleBuffer: |
|
(CMSampleBufferRef) |
sampleBuffer |
width: |
|
(int) |
width |
height: |
|
(int) |
height |
|
|
| |
|
optional |
◆ device:didLocalVideoRecvedWithSampleBuffer:width:height: [2/2]
- (void) device: |
|
(ThingCamera *) |
device |
didLocalVideoRecvedWithSampleBuffer: |
|
(CMSampleBufferRef) |
sampleBuffer |
width: |
|
(int) |
width |
height: |
|
(int) |
height |
|
|
| |
|
optional |
◆ device:didRemoteRequestReceivedWithType:requestId: [1/2]
◆ device:didRemoteRequestReceivedWithType:requestId: [2/2]
◆ device:didSessionStatusChangedWithStatus: [1/2]
- (void) device: |
|
(ThingCamera *) |
device |
didSessionStatusChangedWithStatus: |
|
(NSInteger) |
status |
|
|
| |
|
optional |
Description session Session status callback immediately when it changes.
- Parameters
-
device | Which camera. |
status | Current session status. |
◆ device:didSessionStatusChangedWithStatus: [2/2]
- (void) device: |
|
(ThingCamera *) |
device |
didSessionStatusChangedWithStatus: |
|
(NSInteger) |
status |
|
|
| |
|
optional |
Description session Session status callback immediately when it changes.
- Parameters
-
device | Which camera. |
status | Current session status. |
◆ device:didVideoFrameRecvedWithSampleBuffer:videoFrameInfo: [1/2]
- (void) device: |
|
(ThingCamera *) |
device |
didVideoFrameRecvedWithSampleBuffer: |
|
(CMSampleBufferRef) |
sampleBuffer |
videoFrameInfo: |
|
(ThingVideoFrameInfo *) |
videoFrameInfo |
|
|
| |
|
optional |
Description The decoded image data callback.
- Parameters
-
device | Which camera the data belong to. |
sampleBuffer | One decoded CMSampleBufferRef image data. |
videoFrameInfo | Video frame metadata, see ThingVideoFrameInfo. |
◆ device:didVideoFrameRecvedWithSampleBuffer:videoFrameInfo: [2/2]
- (void) device: |
|
(ThingCamera *) |
device |
didVideoFrameRecvedWithSampleBuffer: |
|
(CMSampleBufferRef) |
sampleBuffer |
videoFrameInfo: |
|
(ThingVideoFrameInfo *) |
videoFrameInfo |
|
|
| |
|
optional |
Description The decoded image data callback.
- Parameters
-
device | Which camera the data belong to. |
sampleBuffer | One decoded CMSampleBufferRef image data. |
videoFrameInfo | Video frame metadata, see ThingVideoFrameInfo. |
The documentation for this protocol was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingCameraSDK/Build/ThingCameraSDK.xcframework/ios-x86_64-simulator/ThingCameraSDK.framework/Headers/ThingCamera.h
- /Users/humtong/Downloads/Pods_副本/ThingCameraSDK/Build/ThingCameraSDK.xcframework/ios-arm64/ThingCameraSDK.framework/Headers/ThingCamera.h