Voip

Summary

Methods

Method Returns
CreateChannel(channelName: string, defaultEmitterType: VoipEmitterType) VoipChannel | nil
GetChannels() VoipChannel{}

Methods

CreateChannel

CreateChannel(channelName: string, defaultEmitterType: VoipEmitterType): VoipChannel | nil

Creates a new VoIP channel with the provided name and default emitter type. If a channel with this name already exists, this method returns nil. All created channels are automatically replicated to connected clients.

Parameters

Name Type Description
channelName string
defaultEmitterType VoipEmitterType The type of emitter to create by default when a new player is added to this channel.

Returns

Type Description
VoipChannel | nil

GetChannels

GetChannels(): VoipChannel{}

Gets all available VoIP channels.

Returns

Type Description
VoipChannel{}
Last modified October 11, 2021: Add changelog for build 17768 (61745d67)