NERtc iOS SDK
V4.4.301
|
Settings, such as encoding parameters of RTC streams 更多...
#import <NERtcEngineBase.h>
属性 | |
BOOL | singleVideoPassthrough |
Enables or disables single video pass-through. 更多... | |
NSInteger | audioBitrate |
The bitrate of the audio stream. 更多... | |
NERtcLiveStreamAudioSampleRate | sampleRate |
The sample rate of the audio stream. 更多... | |
NSInteger | channels |
The number of audio channels for pushing streams. 更多... | |
NERtcLiveStreamAudioCodecProfile | audioCodecProfile |
The audio encoding profile. 更多... | |
Settings, such as encoding parameters of RTC streams
|
readwritenonatomicassign |
The bitrate of the audio stream.
Unit: kbps. Valid values: 10 to 192.
We recommend that you set the bitrate to 64 or higher for voice scenarios and set 128 or higher for music scenarios.
|
readwritenonatomicassign |
The audio encoding profile.
-0: (default) LC-AAC that indicates the basic audio encoding specifications. -1: HE-AAC that indicates high-efficiency audio encoding specifications.
|
readwritenonatomicassign |
The number of audio channels for pushing streams.
|
readwritenonatomicassign |
The sample rate of the audio stream.
Unit: Hz. Valid values:
|
readwritenonatomicassign |
Enables or disables single video pass-through.
By default, the setting is disabled.
If you enable video pass-through, and the room ingests only one video stream, then, the stream is not transcoded and does not follow the transcoding flow. The video stream is directly pushed to a CDN.
If multiple video streams from different room members are mixed into one video stream, this setting becomes invalid, and will not be restored when the stream is restored to the single stream.