Re: [FFmpeg-devel] [PATCH] flv: fix stereo flag when writing PCMA/PCMU

2024-02-04 Thread Marton Balint
On Wed, 31 Jan 2024, aler9 wrote: Hello again, i'm bumping this patch since currently it's impossible to stream 16khz or stereo G711 tracks with RTMP, as these are always marked as 8khz, mono tracks. Please consider merging. Thanks. Will apply, thanks. Marton Il giorno dom 21 gen 2024

Re: [FFmpeg-devel] [PATCH] flv: fix stereo flag when writing PCMA/PCMU

2024-01-31 Thread aler9
Hello again, i'm bumping this patch since currently it's impossible to stream 16khz or stereo G711 tracks with RTMP, as these are always marked as 8khz, mono tracks. Please consider merging. Thanks. Il giorno dom 21 gen 2024 alle ore 16:16 Alessandro Ros ha scritto: > Currently, when writing P

[FFmpeg-devel] [PATCH] flv: fix stereo flag when writing PCMA/PCMU

2024-01-21 Thread Alessandro Ros
Currently, when writing PCMA or PCMU tracks with FLV or RTMP, the stereo flag and sample rate flag inside RTMP audio messages are overridden, making impossible to distinguish between mono and stereo tracks. This patch fixes the issue by restoring the same flag mechanism of all other codecs, that ta