Links
Comment on page

Voice Stream

Like what your seeing?

Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our GitHub Sponsors ... become a sponsor today!

Introduction

Meant to be attached to a game object representing non-local players. It can be used to playback the audio streamed in from those "other" players.

Definition

Fields and Attributes

Type
Name
Comments
AudioSource
outputSource
The audio source to play audio through
SampleRateMethod
sampleRateMethod
The method by which to calculate samplerate
uint
customSampleRate
If using a custom sample rate, specify that rate here.
double
encodingTime
The max length of the current streaming clip time.
This can be useful for debugging

Methods

Play Voice Data

public void PlayVoiceData(buffer);
Plays a recieved Steamworks Voice package through the output source.