ZegoMixerInput Class Reference
Inherits from | NSObject |
---|---|
Declared in | ZegoExpressDefines.h |
streamID
Stream ID, a string of up to 256 characters. Caution: You cannot include URL keywords, otherwise publishing stream and playing stream will fails. Only support numbers, English characters and ‘-’, ‘_’.
@property (nonatomic, copy) NSString *streamID
Declared In
ZegoExpressDefines.h
contentType
Mix stream content type
@property (nonatomic, assign) ZegoMixerInputContentType contentType
Declared In
ZegoExpressDefines.h
layout
Stream layout. When the mixed stream is an audio stream (that is, the ContentType parameter is set to the audio mixed stream type). Developers do not need to assign a value to this field, just use the SDK default.
@property (nonatomic, assign) CGRect layout
Declared In
ZegoExpressDefines.h
soundLevelID
If enable soundLevel in mix stream task, an unique soundLevelID is need for every stream
@property (nonatomic, assign) unsigned int soundLevelID
Declared In
ZegoExpressDefines.h
volume
Input stream volume, valid range [0, 200], default is 100. On web platforms, this property does not take effect.
@property (nonatomic, assign) unsigned int volume
Declared In
ZegoExpressDefines.h
isAudioFocus
Whether the focus voice is enabled in the current input stream, the sound of this stream will be highlighted if enabled. On web platforms, this property does not take effect.
@property (nonatomic, assign) BOOL isAudioFocus
Declared In
ZegoExpressDefines.h
audioDirection
The direction of the audio. Valid direction is between 0 to 360. Set -1 means disable. Default value is -1. On web platforms, this property does not take effect.
@property (nonatomic, assign) int audioDirection
Declared In
ZegoExpressDefines.h
label
Text watermark.
@property (nonatomic, strong) ZegoLabelInfo *label
Declared In
ZegoExpressDefines.h
renderMode
Video view render mode.
@property (nonatomic, assign) ZegoMixRenderMode renderMode
Declared In
ZegoExpressDefines.h
imageInfo
User image information.
@property (nonatomic, strong) ZegoMixerImageInfo *imageInfo
Declared In
ZegoExpressDefines.h
cornerRadius
Description: Video frame corner radius, in px. Required: False. Value range: Does not exceed the width and height of the video screen set by the [layout] parameter. Default value: 0.
@property (nonatomic, assign) unsigned int cornerRadius
Declared In
ZegoExpressDefines.h
advancedConfig
Set advanced configuration. Please contact ZEGO technical support. On web platforms, this property does not take effect.
@property (nonatomic, strong, nullable) NSDictionary<NSString*NSString*> *advancedConfig
Declared In
ZegoExpressDefines.h
– initWithStreamID:contentType:layout:
ZegoMixerInput instance
- (instancetype)initWithStreamID:(NSString *)streamID contentType:(ZegoMixerInputContentType)contentType layout:(CGRect)layout
Return Value
ZegoMixerInput instance
Declared In
ZegoExpressDefines.h
– initWithStreamID:contentType:layout:soundLevelID:
ZegoMixerInput instance
- (instancetype)initWithStreamID:(NSString *)streamID contentType:(ZegoMixerInputContentType)contentType layout:(CGRect)layout soundLevelID:(unsigned int)soundLevelID
Return Value
ZegoMixerInput instance
Declared In
ZegoExpressDefines.h