VoiceReceiverNode
new VoiceReceiverNode(dispatcher)
Parameter | Type | Optional | Description |
---|---|---|---|
dispatcher | StreamDispatcher | ❌ | - |
Properties
public dispatcher: StreamDispatcher
Methods
public createRawTrack(stream, data): Track
Parameter | Type | Optional | Description |
---|---|---|---|
stream | Readable | ❌ | - |
data | Partial<Omit<RawTrackData, 'author' | 'playlist' | 'source' | 'engine' | 'raw' | 'queryType' | 'description' | 'views'>> | ❌ | - |
public mergeRecordings(streams): void
Merge multiple streams together
Parameter | Type | Optional | Description |
---|---|---|---|
streams | Array<Readable> | ❌ | The array of streams to merge |
public recordUser(user, options): Readable
Record a user in voice channel
Parameter | Type | Optional | Description |
---|---|---|---|
user | UserResolvable | ❌ | The user to record |
options | VoiceReceiverOptions | ❌ | Recording options |