Skip to content
This repository was archived by the owner on Mar 25, 2020. It is now read-only.

Conversation

@lc-101
Copy link

@lc-101 lc-101 commented Nov 21, 2017

Added volume control:

Added an optional parameter to define playback volume when you call getAudioContext

This is using an FFmpeg Audio filter

Example:

client.getAudioContext(channel, 0.5, function(error, stream) {
	if(error) console.log(error)
    return stream
    //This will play any audio at half volume, if no value is defined audio plays at full volume. 
})

Woor and others added 30 commits October 2, 2017 02:28
Use .createChannel with either parentID or parent_id to create a channel in a category; unspecify both of those to create outside of a category.
Allow creating channels inside categories
resolve userID to channelID for addReaction
added more userID revolvers for reactions
lc-101 and others added 6 commits November 20, 2017 19:59
…etAudioContext`

This is using an [FFmpeg Audio filter](https://trac.ffmpeg.org/wiki/AudioVolume)
```javascript
client.getAudioContext(channel, 0.5, function(error, stream) {
	if(error) console.log(error)
    return stream
    //This will play any audio at half volume, if no value is defined audio plays at full volume.
})
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants