Call volume is used for anchors, and media volume for audience. This mode is suitable for live streaming scenarios. If you set the scenario to TRTCAppSceneLIVE or TRTCAppSceneVoiceChatRoom when calling enterRoom, the SDK will use this mode by default.
TXSystemVolumeTypeMedia
TXSystemVolumeTypeMedia = 1
Media volume is used throughout a call. This mode is not used often, only under special circumstances such as when the anchor uses an external sound card.
TXSystemVolumeTypeVOIP
TXSystemVolumeTypeVOIP = 2
Call volume is used throughout a call. This mode is suitable for conferencing scenarios. If you set the scenario to TRTCAppSceneVideoCall or TRTCAppSceneAudioCall when calling enterRoom, the SDK will use this mode by default.
TRTCAppSceneLIVE
orTRTCAppSceneVoiceChatRoom
when callingenterRoom
, the SDK will use this mode by default.