Comment on page
Voice Stream
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!
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.
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 |
public void PlayVoiceData(buffer);
Plays a recieved Steamworks Voice package through the output source.
Last modified 1mo ago