NERtc Windows SDK
V4.4.301
|
namespace nertc 更多...
类型定义 | |
typedef uint64_t | uid_t |
typedef uint64_t | channel_id_t |
typedef void * | source_id_t |
typedef void(* | onFrameDataCallback) (uid_t uid, void *data, uint32_t type, uint32_t width, uint32_t height, uint32_t count, uint32_t offset[4], uint32_t stride[4], uint32_t rotation, void *user_data) |
namespace nertc
typedef uint64_t nertc::channel_id_t |
64-bit unsigned integer. Recommended setting range: 1 to 2 63 -1, and make sure the number is unique.
typedef void(* nertc::onFrameDataCallback) (uid_t uid, void *data, uint32_t type, uint32_t width, uint32_t height, uint32_t count, uint32_t offset[4], uint32_t stride[4], uint32_t rotation, void *user_data) |
Video frame rate callback.
uid | The user ID |
data | The data pointer |
type | The data type NERtcVideoType |
width | The width |
height | The height |
count | The number of data types, including the number of offset and stride. |
offset | The data offset of each type |
stride | The data step of each type |
rotation | Screen rotation angle NERtcVideoRotation |
user_data | User transparent transmission data |
uid | The user ID. |
data | The data pointer. |
type | NERtcVideoType. |
width | The width. |
height | The height. |
count | The number of data types, including the number of offset and stride. |
offset | The data offset. |
stride | The data step. |
rotation | NERtcVideoRotation. |
user_data | User transparent transmission data. |
typedef void* nertc::source_id_t |
Identify the source of the screen capture from a window or screen. If the source is a window, the type will be converted to HWND on Windows, and it will be converted to the INT data type on macOS. If the source is screen, the source type will be converted to the INT data type.
typedef uint64_t nertc::uid_t |
64-bit unsigned integer. Recommended setting range: 1 to 2 63 -1, and make sure the number is unique.
Audio device types.
indicates error codes of audio mixing music files.
The playback state of the music file.
枚举值 | |
---|---|
kNERtcAudioMixingStateFinished | The playback ends. |
kNERtcAudioMixingStateFailed | The playback fails because an error occurs. For more information, see NERtcAudioMixingErrorCode. |
Audio profile. Audio sample rate, bitrate, encoding mode, and the number of channels.
The error code of recording callbacks.
Audio application scenarios. Different audio scenarios use different audio capture modes and playback modes.
Events related to the media stream relay.
Status during media stream relay.
Participant role type.
The state of network connection
Video encoding strategy.
Error codes.
Error codes are returned when a problem that cannot be recovered without app intervention has occurred.
Error codes.
Error codes are returned when a problem that cannot be recovered without app intervention has occurred.
Co-hosting method.
Video cropping mode in live streaming
enum nertc::NERtcLogLevel |
Log levels.
Network quality type.
The reason for the connection state change.
The related error codes of room server. TODO:NERtcErrorCode.
Video delivery strategy after publishing.
The reasons why the user leaves.
Encoding strategy preference for screen sharing.
枚举值 | |
---|---|
kNERtcSubStreamContentPreferMotion | The animation mode. |
kNERtcSubStreamContentPreferDetails | The details mode. |
Video frame rate.
The video orientation mode.
Video encoding configuration. The resolution used to measure encoding quality.
Set the video scaling mode.
Preset voice beautifier effect.
The preset value of the voice changer.
The center frequency of the sound equalization band.
enum nertc::NERtcWarnCode |
Warning code.
If the warning code occurs, the SDK reports an error that is likely to be solved. The warning code just informs you of the SDK status. In most cases, the application programs can pass the warning code.
Fallback options when the uplink and downlink connections are weak.