ZegoMixerInput

Mixer input.

Declared in ZegoExpressDefines.h

Includes

Property Lists

  • streamID - Stream ID, a string of up to 256 characters. You cannot include URL keywords, otherwise publishing stream and playing stream will fails. Only support numbers, English characters and '~', '!', '@', '#', '$', '', '^', '&', '*', '(', ')', '_', '+', '=', '-', ', ';', '’', ',', '.', '<', '>', '/', ''.
  • contentType - Mix stream content type.
  • layout - Stream layout.
  • soundLevelID - If enable soundLevel in mix stream task, an unique soundLevelID is need for every stream.

Public-Func Lists

Property Docs

streamID

Stream ID, a string of up to 256 characters. You cannot include URL keywords, otherwise publishing stream and playing stream will fails. Only support numbers, English characters and '~', '!', '@', '#', '$', '', '^', '&', '*', '(', ')', '_', '+', '=', '-', ', ';', '’', ',', '.', '<', '>', '/', ''.

contentType

Mix stream content type.

layout

Stream layout.

soundLevelID

If enable soundLevel in mix stream task, an unique soundLevelID is need for every stream.

Public-Func Docs

initWithStreamID:contentType:layout:

- (instancetype)initWithStreamID:(NSString *) streamID contentType:(ZegoMixerInputContentType) contentType layout:(CGRect) layout;

Create a mixed input object.

initWithStreamID:contentType:layout:soundLevelID:

- (instancetype)initWithStreamID:(NSString *) streamID contentType:(ZegoMixerInputContentType) contentType layout:(CGRect) layout soundLevelID:(unsigned int) soundLevelID;

Create a mixed input object.