#import <ThingCameraAVMuxer.h>
|
enum | enMuxerColorFmt { MUXER_COLOR_NV12 = 0
, MUXER_COLOR_I420
, MUXER_COLOR_NV12 = 0
, MUXER_COLOR_I420
} |
|
enum | enVideoCodecFmt { MUXER_CODEC_H264 = 0
, MUXER_CODEC_H265
, MUXER_CODEC_H264 = 0
, MUXER_CODEC_H265
} |
|
enum | enAudioCodecFmt { MUXER_CODEC_AAC = 0
, MUXER_CODEC_AAC = 0
} |
|
enum | enMuxerColorFmt { MUXER_COLOR_NV12 = 0
, MUXER_COLOR_I420
, MUXER_COLOR_NV12 = 0
, MUXER_COLOR_I420
} |
|
enum | enVideoCodecFmt { MUXER_CODEC_H264 = 0
, MUXER_CODEC_H265
, MUXER_CODEC_H264 = 0
, MUXER_CODEC_H265
} |
|
enum | enAudioCodecFmt { MUXER_CODEC_AAC = 0
, MUXER_CODEC_AAC = 0
} |
|
Definition at line 14 of file ThingCameraAVMuxer.h.
◆ enAudioCodecFmt [1/2]
◆ enAudioCodecFmt [2/2]
◆ enMuxerColorFmt [1/2]
Enumerator |
---|
MUXER_COLOR_NV12 | |
MUXER_COLOR_I420 | |
MUXER_COLOR_NV12 | |
MUXER_COLOR_I420 | |
Definition at line 24 of file ThingCameraAVMuxer.h.
◆ enMuxerColorFmt [2/2]
Enumerator |
---|
MUXER_COLOR_NV12 | |
MUXER_COLOR_I420 | |
MUXER_COLOR_NV12 | |
MUXER_COLOR_I420 | |
Definition at line 24 of file ThingCameraAVMuxer.h.
◆ enVideoCodecFmt [1/2]
Enumerator |
---|
MUXER_CODEC_H264 | |
MUXER_CODEC_H265 | |
MUXER_CODEC_H264 | |
MUXER_CODEC_H265 | |
Definition at line 30 of file ThingCameraAVMuxer.h.
◆ enVideoCodecFmt [2/2]
Enumerator |
---|
MUXER_CODEC_H264 | |
MUXER_CODEC_H265 | |
MUXER_CODEC_H264 | |
MUXER_CODEC_H265 | |
Definition at line 30 of file ThingCameraAVMuxer.h.
◆ addAudioTrack:sample_rate:channel:bitwidth:pcmFormat: [1/2]
- (int) addAudioTrack: |
|
(int) |
out_audio_codec |
sample_rate: |
|
(int) |
sampleRate |
channel: |
|
(int) |
channels |
bitwidth: |
|
(int) |
bitwidth |
pcmFormat: |
|
(int) |
pcm_fmt |
|
|
| |
◆ addAudioTrack:sample_rate:channel:bitwidth:pcmFormat: [2/2]
- (int) addAudioTrack: |
|
(int) |
out_audio_codec |
sample_rate: |
|
(int) |
sampleRate |
channel: |
|
(int) |
channels |
bitwidth: |
|
(int) |
bitwidth |
pcmFormat: |
|
(int) |
pcm_fmt |
|
|
| |
◆ addVideoTrack:width:height:fps:bitrate:color_fmt: [1/2]
- (int) addVideoTrack: |
|
(int) |
out_video_codec |
width: |
|
(int) |
width |
height: |
|
(int) |
height |
fps: |
|
(int) |
fps |
bitrate: |
|
(int) |
bitrate |
color_fmt: |
|
(int) |
color_fmt |
|
|
| |
◆ addVideoTrack:width:height:fps:bitrate:color_fmt: [2/2]
- (int) addVideoTrack: |
|
(int) |
out_video_codec |
width: |
|
(int) |
width |
height: |
|
(int) |
height |
fps: |
|
(int) |
fps |
bitrate: |
|
(int) |
bitrate |
color_fmt: |
|
(int) |
color_fmt |
|
|
| |
◆ initWithVideoPath:file_name:rotate: [1/2]
- (instancetype) initWithVideoPath: |
|
(const char *) |
video_path |
file_name: |
|
(const char *) |
file_name |
rotate: |
|
(int) |
rotate |
|
|
| |
◆ initWithVideoPath:file_name:rotate: [2/2]
- (instancetype) initWithVideoPath: |
|
(const char *) |
video_path |
file_name: |
|
(const char *) |
file_name |
rotate: |
|
(int) |
rotate |
|
|
| |
◆ sendAudioFrameWithPcmData:size: [1/2]
- (int) sendAudioFrameWithPcmData: |
|
(const unsigned char *) |
pcmData |
size: |
|
(int) |
uSize |
|
|
| |
◆ sendAudioFrameWithPcmData:size: [2/2]
- (int) sendAudioFrameWithPcmData: |
|
(const unsigned char *) |
pcmData |
size: |
|
(int) |
uSize |
|
|
| |
◆ sendVideoFrameWithPixbufferData:timestamp: [1/2]
- (int) sendVideoFrameWithPixbufferData: |
|
(const char *) |
pixBuffer |
timestamp: |
|
(long long) |
timestamp |
|
|
| |
◆ sendVideoFrameWithPixbufferData:timestamp: [2/2]
- (int) sendVideoFrameWithPixbufferData: |
|
(const char *) |
pixBuffer |
timestamp: |
|
(long long) |
timestamp |
|
|
| |
◆ sendVideoFrameWithYuvData:u:v:width:height:timestamp:type: [1/2]
- (CVPixelBufferRef) sendVideoFrameWithYuvData: |
|
(const uint8_t *) |
y |
u: |
|
(const uint8_t *) |
u |
v: |
|
(const uint8_t *) |
v |
width: |
|
(int) |
width |
height: |
|
(int) |
height |
timestamp: |
|
(long long) |
timestamp |
type: |
|
(MP4_COLOR_FORMAT_E) |
type |
|
|
| |
◆ sendVideoFrameWithYuvData:u:v:width:height:timestamp:type: [2/2]
- (CVPixelBufferRef) sendVideoFrameWithYuvData: |
|
(const uint8_t *) |
y |
u: |
|
(const uint8_t *) |
u |
v: |
|
(const uint8_t *) |
v |
width: |
|
(int) |
width |
height: |
|
(int) |
height |
timestamp: |
|
(long long) |
timestamp |
type: |
|
(MP4_COLOR_FORMAT_E) |
type |
|
|
| |
◆ startRecord [1/2]
◆ startRecord [2/2]
◆ stopRecord [1/2]
◆ stopRecord [2/2]
◆ kThingCameraAVMuxer_Err
- kThingCameraAVMuxer_Err = -1 |
|
protected |
◆ kThingCameraAVMuxer_InvalidParam
- kThingCameraAVMuxer_InvalidParam = -2 |
|
protected |
◆ kThingCameraAVMuxer_NoErr
- kThingCameraAVMuxer_NoErr = 0 |
|
protected |
◆ kThingCameraAVMuxer_Undefined_Behavior
- kThingCameraAVMuxer_Undefined_Behavior |
|
protected |
◆ kThingCameraAVMuxer_Unsupported
- kThingCameraAVMuxer_Unsupported = -3 |
|
protected |
The documentation for this class was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingCameraSDK/Build/ThingCameraSDK.xcframework/ios-x86_64-simulator/ThingCameraSDK.framework/Headers/ThingCameraAVMuxer.h
- /Users/humtong/Downloads/Pods_副本/ThingCameraSDK/Build/ThingCameraSDK.xcframework/ios-arm64/ThingCameraSDK.framework/Headers/ThingCameraAVMuxer.h