The ffmpeg error messages vary from each time. There are various
combinations of the messages "Sample rate index in program config element
does not match the sample rate index configured by the container", "channel
element 2.5 is not allocated", " Multiple frames in a packet", "Reserved bit
set", and "Prediction is not allowed in AAC-LC".
I suspect the issue has to do with the fact that I only send raw aac,
without adts headers. That's why I included the config parameter in the
caps, as described here:
http://gstreamer-devel.966125.n4.nabble.com/AAC-RTP-streaming-td4684775.html . However, since I still have issues, I would very much appreciate if anyone
knows what I'm doing wrong, or if there are payloader elements or code
examples for including adts headers in the aac rtp stream.