5 #import <Foundation/Foundation.h>
10 NS_ASSUME_NONNULL_BEGIN
62 @property (nonatomic, nullable, strong) VIEW_CLASS *
container;
104 @property (nonatomic, assign) NSInteger minFrameRate;
112 @property (nonatomic, assign) NSInteger bitrate;
117 @property (nonatomic, assign) NSInteger minBitrate;
135 @property (nonatomic, assign)
int width;
145 @property (nonatomic, assign)
int height;
205 @property (nonatomic, copy) NSString *path;
213 @property (nonatomic, assign)
int loopCount;
218 @property (nonatomic, assign) BOOL sendEnabled;
223 @property (nonatomic, assign) BOOL playbackEnabled;
229 @property (nonatomic, assign) uint32_t sendVolume;
235 @property (nonatomic, assign) uint32_t playbackVolume;
254 @property (nonatomic, copy) NSString *path;
262 @property (nonatomic, assign)
int loopCount;
267 @property (nonatomic, assign) BOOL sendEnabled;
272 @property (nonatomic, assign) BOOL playbackEnabled;
278 @property (nonatomic, assign) uint32_t sendVolume;
284 @property (nonatomic, assign) uint32_t playbackVolume;
289 #pragma mark - live stream
302 @property (nonatomic, assign) BOOL singleVideoPassthrough;
310 @property (nonatomic, assign) NSInteger audioBitrate;
326 @property (nonatomic, assign) NSInteger channels;
345 @property (nonatomic, assign) uint64_t uid;
354 @property (nonatomic, assign) BOOL videoPush;
363 @property (nonatomic, assign) NSInteger x;
372 @property (nonatomic, assign) NSInteger y;
381 @property (nonatomic, assign) NSInteger width;
390 @property (nonatomic, assign) NSInteger height;
397 @property (nonatomic, assign) BOOL audioPush;
402 @property (nonatomic, assign) NSInteger zOrder;
420 @property (nonatomic, copy) NSString *url;
429 @property (nonatomic, assign) NSInteger x;
438 @property (nonatomic, assign) NSInteger y;
445 @property (nonatomic, assign) NSInteger width;
452 @property (nonatomic, assign) NSInteger height;
465 @property (nonatomic, assign) NSInteger width;
470 @property (nonatomic, assign) NSInteger height;
475 @property (nonatomic, assign) NSUInteger backgroundColor;
480 @property (nonatomic, strong) NSArray<NERtcLiveStreamUserTranscoding *> * users;
497 @property (nonatomic, copy) NSString *taskID;
503 @property (nonatomic, copy) NSString *streamURL;
508 @property (nonatomic, assign) BOOL serverRecordEnabled;
528 @property (nonatomic, nullable, copy) NSString *extraInfo;
538 #pragma mark -- Audio Frame Observer
550 @property (nonatomic, assign) uint32_t channels;
554 @property (nonatomic, assign) uint32_t sampleRate;
576 @property (nonatomic, assign) uint32_t channels;
580 @property (nonatomic, assign) uint32_t sampleRate;
584 @property (nonatomic, assign) uint32_t bytesPerSample;
588 @property (nonatomic, assign) uint32_t samplesPerChannel;
603 @property (nonatomic, assign)
void* data;
608 #pragma mark - Volume info
618 @property (nonatomic, assign) uint64_t uid;
623 @property (nonatomic, assign)
unsigned int volume;
628 #pragma mark - Video Frame
643 @property(nonatomic, assign) uint64_t timestamp;
648 @property(nonatomic, assign) uint32_t width;
653 @property(nonatomic, assign) uint32_t height;
663 @property(nonatomic)
void * buffer;
667 #pragma mark- MediaRelay
677 @property (nonatomic, copy)NSString *channelName;
681 @property (nonatomic, copy)NSString *token;
685 @property (nonatomic, assign)uint64_t uid;
698 @property(nonatomic, strong, readonly)NSDictionary<NSString *, NERtcChannelMediaRelayInfo *> * _Nullable destinationInfos;
718 - (BOOL)setDestinationInfo:(
NERtcChannelMediaRelayInfo *_Nonnull)destinationInfo forChannelName:(NSString *_Nonnull)channelName;
726 - (BOOL)removeDestinationInfoForChannelName:(NSString *_Nonnull)channelName;
730 #pragma mark - watermark
745 @property (nonatomic, copy, nullable) NSString *content;
750 @property (nonatomic, assign) CGFloat fontSize;
755 @property (nonatomic, strong, nullable) UIColor *fontColor;
760 @property (nonatomic, strong, nullable) UIColor *wmColor;
765 @property (nonatomic, assign) CGRect frame;
780 @property (nonatomic, assign) CGFloat fontSize;
785 @property (nonatomic, strong) UIColor *fontColor;
790 @property (nonatomic, assign) CGRect frame;
795 @property (nonatomic, strong) UIColor *wmColor;
809 @property (nonatomic, strong, nullable) NSArray<UIImage *> *images;
814 @property (nonatomic, assign) NSUInteger fps;
819 @property (nonatomic, assign) BOOL loop;
824 @property (nonatomic, assign) CGRect frame;
839 @property (nonatomic, strong, nullable) NSArray<NERtcTextWatermarkConfig *> *textWatermarks;
849 @property (nonatomic, strong, nullable) NSArray<NERtcImageWatermarkConfig *> *imageWaterMarks;
866 @property (nonatomic, copy, nullable) NSString *key;
869 #pragma mark - privatization
880 @property (nonatomic, copy, nullable) NSString *channelServer;
885 @property (nonatomic, copy, nullable) NSString *statisticsServer;
890 @property (nonatomic, copy, nullable) NSString *roomServer;
895 @property (nonatomic, copy, nullable) NSString *compatServer;
900 @property (nonatomic, copy, nullable) NSString *nosLbsServer;
905 @property (nonatomic, copy, nullable) NSString *nosUploadSever;
910 @property (nonatomic, copy, nullable) NSString *nosTokenServer;
915 @property (nonatomic, assign) BOOL useIPv6;
920 @property (nonatomic, copy, nullable) NSString *cloudProxyServer;
925 @property (nonatomic, copy, nullable) NSString *webSocketProxyServer;
930 @property (nonatomic, copy, nullable) NSString *quicProxyServer;
935 @property (nonatomic, copy, nullable) NSString *mediaProxyServer;
939 #pragma mark -- Log setting
949 @property (nonatomic, copy) NSString *logDir;
957 NS_ASSUME_NONNULL_END
NSString *const kNERtcKeyAutoSubscribeAudio
NSString *const kNERtcKeyRecordType
NSString *const kNERtcKeyRecordVideoEnabled
FOUNDATION_EXPORT uint32_t const NERtcAudioMixingDefaultVolume
Definition: NERtcEngineBase.h:194
NSString *const kNERtcKeyVideoCaptureObserverEnabled
NSString *const KNERtcKeyAudioAINSEnable
FOUNDATION_EXPORT uint32_t const NERtcAudioMixingMaxVolume
Definition: NERtcEngineBase.h:193
NSString *const KNERtcKeyEnableReportVolumeWhenMute
NSString *const kNERtcKeyExtraInfo
NSString *const kNERtcKeyVideoStartWithBackCamera
NSString *const kNERtcKeyVideoPreferHWEncode
NSString *const kNERtcKeyVideoPreferMetalRender
NSString *const kNERtcKeyVideoSendOnPubType
NSString *const KNERtcKeyDisableOverrideSpeakerOnReceiver
NSString *const kNERtcKeyPublishSelfStreamEnabled
NSString *const KNERtcKeyDisableSWAECOnHeadset
NSString *const kNERtcKeyLogLevel
NSString *const kNERtcKeyRecordHostEnabled
NSString *const kNERtcKeyVideoPreferHWDecode
NSString *const kNERtcKeyRecordAudioEnabled
NS_ASSUME_NONNULL_BEGIN NSString *const kNERtcKeyChannel1V1ModeEnabled
The following keys are used in INERtcEngine::setParameters.
NERtcLiveStreamMode
Streaming mode in live streaming
Definition: NERtcEngineEnum.h:682
NERtcVideoCropMode
Video crop mode
Definition: NERtcEngineEnum.h:284
NERtcLogLevel
Log level
Definition: NERtcEngineEnum.h:891
NERtcVideoFormatType
Video format type
Definition: NERtcEngineEnum.h:324
NERtcLiveStreamVideoScaleMode
Scale mode in live streaming
Definition: NERtcEngineEnum.h:696
NERtcSubStreamContentPrefer
Encoding strategy preference for screen sharing
Definition: NERtcEngineEnum.h:180
NERtcLiveStreamAudioCodecProfile
Live streaming audio codec profile
Definition: NERtcEngineEnum.h:672
NERtcVideoOutputOrientationMode
Video orientation mode.
Definition: NERtcEngineEnum.h:261
NERtcVideoProfileType
Video profile type
Definition: NERtcEngineEnum.h:113
NERtcAudioType
Audio type
Definition: NERtcEngineEnum.h:721
NERtcVideoMirrorMode
Video mirror mode.
Definition: NERtcEngineEnum.h:249
NERtcAudioFrameOpMode
Audio data read and write mode
Definition: NERtcEngineEnum.h:729
NERtcEncryptionMode
Encryption mode
Definition: NERtcEngineEnum.h:851
NERtcDegradationPreference
Video encoding adaptation preference with limited bandwidth.
Definition: NERtcEngineEnum.h:162
NERtcLiveStreamAudioSampleRate
Live streaming audio sample rate
Definition: NERtcEngineEnum.h:660
NERtcVideoFrameRate
Video frame rate -kNERtcVideoFrameRateFpsDefault: By default, the bigstream video frame rate is selec...
Definition: NERtcEngineEnum.h:135
NERtcVideoRenderScaleMode
Video rendering zoom mode
Definition: NERtcEngineEnum.h:224
NERtcVideoRotationType
Rotation direction of video data
Definition: NERtcEngineEnum.h:310
The audio frame
Definition: NERtcEngineBase.h:596
Audio volume information
Definition: NERtcEngineBase.h:614
Local video basic publishing configuration
Definition: NERtcEngineBase.h:86
Canvas watermark settings.
Definition: NERtcEngineBase.h:835
Options for creating audio effects
Definition: NERtcEngineBase.h:248
Options for creating mixing audios
Definition: NERtcEngineBase.h:199
Configure the media stream encryption mode and key.
Definition: NERtcEngineBase.h:857
Sets the parameters for image watermarks
Definition: NERtcEngineBase.h:805
Settings, such as encoding parameters of RTC streams
Definition: NERtcEngineBase.h:294
Picture layout
Definition: NERtcEngineBase.h:416
The live streaming layout.
Definition: NERtcEngineBase.h:461
Configuration of streaming tasks in a live event
Definition: NERtcEngineBase.h:493
The member layout in live streaming
Definition: NERtcEngineBase.h:341
Log-related settings
Definition: NERtcEngineBase.h:945
Configure private servers.
Definition: NERtcEngineBase.h:876
Sets the parameters for text watermarks
Definition: NERtcEngineBase.h:738
Timestamp watermark
Definition: NERtcEngineBase.h:776
Configures the video canvas.
Definition: NERtcEngineBase.h:53
id< NERtcEngineVideoRenderSink > externalVideoRender
External renderer
Definition: NERtcEngineBase.h:79
BOOL useExternalRender
Specifies whether to use an external renderer.
Definition: NERtcEngineBase.h:57
NERtcVideoRenderScaleMode renderMode
Video rendering mode
Definition: NERtcEngineBase.h:67
VIEW_CLASS * container
Video window container (SDK internal rendering)
Definition: NERtcEngineBase.h:62
NERtcVideoMirrorMode mirrorMode
Video mirror mode.
Definition: NERtcEngineBase.h:74
Local video publishing configuration
Definition: NERtcEngineBase.h:125
Video frame information
Definition: NERtcEngineBase.h:634
Local substream publishing configuration
Definition: NERtcEngineBase.h:184
External audio rendering.
Definition: NERtcEngineDelegate.h:253