|
NERtc iOS SDK
V4.4.301
|
The member layout in live streaming 更多...
#import <NERtcEngineBase.h>
属性 | |
| uint64_t | uid |
| Pull the video stream of the user with the specified uid into the live event. 更多... | |
| BOOL | videoPush |
| Specifies whether to play back the specific video stream from the user to viewers in the live event. 更多... | |
| NSInteger | x |
| The X parameter is used to set the horizontal coordinate value of the user image. 更多... | |
| NSInteger | y |
| The Y parameter is used to set the vertical coordinate value of the user image. 更多... | |
| NSInteger | width |
| The width of the user image in the canvas. 更多... | |
| NSInteger | height |
| The height of the user image in the canvas. 更多... | |
| BOOL | audioPush |
| Specifies whether to mix the audio stream from the user in the live event. 更多... | |
| NSInteger | zOrder |
| The layer number is used to determine the rendering level. 更多... | |
| NERtcLiveStreamVideoScaleMode | adaption |
| The adaptation between the video and the canvas in live streaming. 更多... | |
The member layout in live streaming
|
readwritenonatomicassign |
The adaptation between the video and the canvas in live streaming.
For more information, see NERtcLiveStreamVideoScaleMode.
|
readwritenonatomicassign |
Specifies whether to mix the audio stream from the user in the live event.
Valid values:
-YES: (default) mixes the audio stream from the user in the live event. -NO: mute the audio stream from the user in the live event.
|
readwritenonatomicassign |
The height of the user image in the canvas.
Value range: 0 to 1920. The default value is 0. If the specified value is set to an odd value, the value is automatically rounded down to an even number.
If the user image exceeds the canvas, an error occurs when you call the method.
|
readwritenonatomicassign |
Pull the video stream of the user with the specified uid into the live event.
If you add multiple users, the uid must be unique.
|
readwritenonatomicassign |
Specifies whether to play back the specific video stream from the user to viewers in the live event.
Valid values:
-YES: (default) plays the video stream. -NO: does not play the video stream.
The setting becomes invalid when the streaming mode is set to kNERtcLsModeAudio.
|
readwritenonatomicassign |
The width of the user image in the canvas.
Value range: 0 to 1920. The default value is 0. If the specified value is set to an odd value, the value is automatically rounded down to an even number.
If the user image exceeds the canvas, an error occurs when you call the method.
|
readwritenonatomicassign |
The X parameter is used to set the horizontal coordinate value of the user image.
You can specify a point in the canvas with X and Y coordinates. This point is used as the anchor of the upper left corner of the user image.
Value range: 0 to 1920. If the specified value is set to an odd value, the value is automatically rounded down to an even number.
If the user image exceeds the canvas, an error occurs when you call the method.
|
readwritenonatomicassign |
The Y parameter is used to set the vertical coordinate value of the user image.
You can specify a point in the canvas with X and Y coordinates. This point is used as the anchor of the upper left corner of the user image.
Value range: 0 to 1920. If the specified value is set to an odd value, the value is automatically rounded down to an even number.
If the user image exceeds the canvas, an error occurs when you call the method.
|
readwritenonatomicassign |
The layer number is used to determine the rendering level.
Value range: 0 to 100. A value of 0 indicates that the layer is at the bottom. A value of 100 indicates that the layer is at the top. The rendering area at the same level is overwritten based on the existing overlay strategy. (Rendering is performed in the order of the array, and the index increases in ascending order.)