orcasound / orcanode

Software for live-streaming and recording lossy (AAC) or lossless compressed audio (HLS, DASH, FLAC) via AWS S3 buckets. :star:
GNU Affero General Public License v3.0
34 stars 12 forks source link

Make sampling rate for audio configurable by environment variable for stream.sh #4

Closed mcshicks closed 6 years ago

mcshicks commented 6 years ago

The pisound board needs the sampling rate (-ar in ffmpeg) set to 192000. This will break x86 so we need to make is configurable by environment variable

scottveirs commented 6 years ago

Now implemented in stream.sh via .env variables SAMPLE_RATE (and also STREAM_RATE). Should be able to utilize within resin.io as well, with these as device-specific environmental variables.