Glimesh / rtmp-ingest

RTMP Ingest for Glimesh.tv -- Work in progress!
MIT License
8 stars 3 forks source link

Convert AAC to Opus audio format #4

Closed clone1018 closed 2 years ago

clone1018 commented 3 years ago

We presumably receive AAC in from our RTMP streaming clients, however our FTL & WebRTC stack require Opus. We need to convert the audio to Opus before sending it over the RTP stream.

Relevant lines: https://github.com/Glimesh/rtmp-ingest/blob/98e8d35808f521f5db9c48b47dd1d0e78653f90e/rtmp.go#L170-L221

From my cursory research, it seemed like a native program would be require to accomplish this. There's no pure-Go solution I could find.

clone1018 commented 2 years ago

This was completed in https://github.com/Glimesh/rtmp-ingest/pull/8 and is working well.