func startSession()

in AmazonChimeSDK/AmazonChimeSDK/internal/audio/protocols/AudioClientProtocol.swift [15:59]


    func startSession(_ host: String!,
                      basePort port: Int,
                      callId: String!,
                      profileId: String!,
                      microphoneMute mic_mute: Bool,
                      speakerMute spk_mute: Bool,
                      isPresenter presenter: Bool,
                      sessionToken tokenString: String!,
                      audioWsUrl: String!,
                      callKitEnabled: Bool,
                      appInfo: AppInfo!,
                      audioMode: AudioModeInternal,
                      audioDeviceCapabilities: AudioDeviceCapabilitiesInternal,
                      enableAudioRedundancy: Bool,
                      reconnectTimeoutMs: Int) -> audio_client_status_t

    func stopSession() -> Int

    func isSpeakerOn() -> Bool

    func setSpeakerOn(_ value: Bool) -> Bool

    func stopAudioRecord() -> Int

    func isMicrophoneMuted() -> Bool

    func setMicrophoneMuted(_ mute: Bool) -> Int

    func setPresenter(_ presenter: Bool)

    func remoteMute()

    func audioLogCallBack(_ logLevel: loglevel_t, msg: String!)

    func isBliteNSSelected() -> Bool

    func setBliteNSSelected(_ bliteSelected: Bool) -> Int

    func endOnHold()

    func joinPrimaryMeeting(_ attendeeId: String!, externalUserId: String!, joinToken: String!)

    func leavePrimaryMeeting()

    var delegate: AudioClientDelegate! { get set }