Skip to main content

EOS_RTC_JoinRoomOptions

Type Alias EOS_RTC_JoinRoomOptions 

Source
pub type EOS_RTC_JoinRoomOptions = _tagEOS_RTC_JoinRoomOptions;
Expand description

This struct is used to call EOS_RTC_JoinRoom.

Aliased Type§

#[repr(C)]
pub struct EOS_RTC_JoinRoomOptions { pub ApiVersion: i32, pub LocalUserId: *mut EOS_ProductUserIdDetails, pub RoomName: *const i8, pub ClientBaseUrl: *const i8, pub ParticipantToken: *const i8, pub ParticipantId: *mut EOS_ProductUserIdDetails, pub Flags: u32, pub bManualAudioInputEnabled: i32, pub bManualAudioOutputEnabled: i32, }

Fields§

§ApiVersion: i32

API Version: Set this to EOS_RTC_JOINROOM_API_LATEST.

§LocalUserId: *mut EOS_ProductUserIdDetails

The product user id of the user trying to request this operation.

§RoomName: *const i8

The room the user would like to join.

§ClientBaseUrl: *const i8

The room the user would like to join.

§ParticipantToken: *const i8

Authorization credential token to join the room.

§ParticipantId: *mut EOS_ProductUserIdDetails

The participant id used to join the room. If set to NULL the LocalUserId will be used instead.

§Flags: u32

Join room flags, e.g. EOS_RTC_JOINROOMFLAGS_ENABLE_ECHO. This is a bitwise-or union of the defined flags.

§bManualAudioInputEnabled: i32

Enable or disable Manual Audio Input. If manual audio input is enabled audio recording is not started and the audio buffers must be passed manually using EOS_RTCAudio_SendAudio.

§bManualAudioOutputEnabled: i32

Enable or disable Manual Audio Output. If manual audio output is enabled audio rendering is not started and the audio buffers must be received with EOS_RTCAudio_AddNotifyAudioBeforeRender and rendered manually.