(Class) Pipe extends Stream
Provide this class to a ShairportSync instance to make it output to a pipe file.
Create ShairportSync
instance using Pipe this way:
import {ShairportSync, Pipe} from 'shairport-sync';
const output = new Pipe();
output.file = '/my/pipe/file/path';
const instance = new ShairportSync(output);
Read Stream reference for full implementation.
Pipe
instances expose the folowing properties:
Name | Type | Read-Only | Default | Desciption |
---|---|---|---|---|
file |
String | false | The path to the pipe file. (can be changed only when instance ins stopped) |