Generate error when the rtp payload data is not mulaw audio
Sebastian Dröge
sebastian at centricular.com
Tue Apr 9 09:25:40 UTC 2019
On Tue, 2019-04-09 at 04:07 -0500, Rohan0993 wrote:
> Sebastian Dröge-3 wrote
> > For statically assigned payload types (< 96) you could
> > detect a wrong format based on that
>
> Thanks for the reply,
>
> how can I do that? I have tried changing the payload type to 0 (for Mulaw)
> at my receiving pipeline. But it didn't work The pipelines simply worked and
> depayloaded garbage data in the filesink file.
You need to add code somewhere that checks for the payload type field.
The depayloaders don't care about it.
You could for example add something in a pad probe before the
depayloader.
--
Sebastian Dröge, Centricular Ltd · https://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190409/bed040c9/attachment.sig>
More information about the gstreamer-devel
mailing list