On Mi, 2016-05-18 at 07:05 -0700, de_ninja wrote:
> I want to stream audio encoded as mp3 with udpsink with this
> pipeline:
>
> *gst-launch-1.0 audiotestsrc ! lamemp3enc ! udpsink host=224.0.0.1
> port=8001*
>
> I receive packets with a size of 104 bytes.
> How can I send bigger data packets with udp?
>
> I also tried: *queue min-threshold-bytes=1024* but the packet size is
> still 104 bytes.
>
> Thanks for any help!
You could use the rndbuffersize element with same min and max to
enforce a specific buffer size. But streaming raw MP3 over UDP is not
ideal, consider using RTP. RTP payloaders could also bundle multiple
MP3 frames in a single packet (not sure if ours can, but it could be
added).
--
Sebastian Dröge, Centricular Ltd ·
http://www.centricular.com_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel