Commit graph

58 commits

Author SHA1 Message Date
Olivier Crête
dad751644e dtmfsrc: Reply to latency query 2015-09-01 15:49:07 -04:00
Olivier Crête
155ed569c3 rtpdtmfsrc: clock-base and seqnum-base -> timestamp-offset and seqnum-offset
These were renamed in GstRTPBasePayload in 1.0
2014-10-10 18:12:32 -04:00
Tim-Philipp Müller
d9c2914c90 g_memmove() is deprecated
Just use plain memmove(), g_memmove() is deprecated in
recent GLib versions.

https://bugzilla.gnome.org/show_bug.cgi?id=712811
2013-11-21 15:30:34 +00:00
Tim-Philipp Müller
47fccbe635 rtpdtmfsrc: fix compiler warning
gstrtpdtmfsrc.c: In function 'gst_dtmf_src_prepare_message.isra.1':
gstrtpdtmfsrc.c:669:3: error: 's' may be used uninitialized in this function
2013-01-26 22:58:29 +00:00
Olivier Crête
92f9a9d9ff rtpdtmfsrc: Post the messages after the clock wait
This way, the messages will be closer in time to when the packets are sent out
2013-01-25 20:45:43 -05:00
Olivier Crête
0d316b4f43 rtpdtmfsrc: Only set the duration when starting to send
The duration depends on the clock rate, which could change due to renegotiation
2013-01-25 20:45:43 -05:00
Olivier Crête
90497aa3cd rtpdtmfsrc: remove "ssrc" from caps
ssrc is uint and we don't have a uint range type
2013-01-25 20:45:43 -05:00
Tim-Philipp Müller
beb3c9c9be Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Tim-Philipp Müller
488549bb54 Use gst_element_class_set_static_metadata()
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.
2012-10-17 17:46:34 +01:00
Wim Taymans
124a33dc95 fix for caps api changes 2012-03-11 19:06:59 +01:00
Wim Taymans
aad9a2fc57 GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING 2012-02-08 16:37:13 +01:00
Olivier Crête
bc44628831 dtmf: port to 0.11 2012-01-25 11:55:13 +01:00
Thijs Vermeir
dcadfe6621 dtmf: fix compiler warning for uninitialized values 2011-11-09 11:56:07 +01:00
Olivier Crête
76b1ac09a3 dtmfsrc: Reject start/stop requests that come out of order 2011-11-08 17:45:48 -05:00
Olivier Crête
479ab0db68 dtmf: Post messages when starting to send/receive DTMF
This way, the UI can display the DTMF events as they as being sent.
2011-11-08 17:45:48 -05:00
Olivier Crête
9e521e2b6d dtmf: Add more debug 2011-08-24 12:24:18 -04:00
Olivier Crête
9a5a8e49da dtmf: Max event type is 15 2011-08-24 12:24:18 -04:00
Olivier Crête
0656a861e3 rtpdtmfsrc: Correctly recognize the end of a buffer 2011-08-24 12:24:18 -04:00
Olivier Crête
a3de27c68b rtpdtmfsrc: Make sure rtpdtmfsrc timestamps don't overlap 2011-08-24 12:24:17 -04:00
Olivier Crête
3a5d14993a rtpdtmfsrc: Put the inter digit interval at the end, not at the start
The reason is to let rtpdtmfmux drop buffers during the inter digit interval,
this way, there will be more silence around the DTMF tones so IVFs will have
a better chance recognizing them.
2011-08-24 12:24:17 -04:00
Olivier Crête
340a65b484 rtpdtmfsrc: Start at the last_stop from the start event if there was one
The goal is to try to not have a GAP between the audio and the DTMF
2011-08-24 12:24:17 -04:00
Olivier Crête
e7038fd520 rtpdtmfsrc: Respect ptime from the caps
Respect the ptime from the caps for the DTMF packets
2011-08-24 12:24:17 -04:00
Olivier Crête
94f75d08af rtpdtmfsrc: Just error out if there is no clock 2011-08-24 12:24:17 -04:00
Olivier Crête
d68165cff8 dtmf: Move duplicate #defines into a common include
Centralize duplicated constants so they have the same value.
Also standardise minimum tone duration to 250ms and minimum inter-tone
interval to 100ms.
2011-04-13 21:59:42 -04:00
Olivier Crête
27cafd8d8e dtmf: Remove leftover MAEMO_BROKEN defines
Remove defines to work around bugs in old Maemo releases
2011-04-12 16:42:48 -04:00
Stefan Kost
7bc9009b37 various (gst): add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
2010-10-19 15:47:17 +03:00
Olivier Crête
032090d9c2 dtmf: Remove rtpdtmfmux stream-lock code 2010-06-02 20:47:08 -04:00
Benjamin Otte
d79780dd62 Add -Wredundant-decls flag
and fix warnings from it
2010-03-22 12:05:59 +01:00
Benjamin Otte
ecd6632f18 gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
Olivier Crête
e9f782544e dtmf: Use GSlice for internal event structures 2009-08-12 17:08:01 -04:00
Tim-Philipp Müller
195be0da01 rtpdtmfsrc: Cleanup events on finalize
Problem found by Laurent Glayal

Fixes bug #591440
2009-08-12 17:08:01 -04:00
Tim-Philipp Müller
2e27e89d28 rtpdtmfsrc: Cleanup events on finalize
Problem found by Laurent Glayal

Fixes bug #591440
2009-08-12 17:08:01 -04:00
Stefan Kost
68811432dc docs: various doc fixes
No short-desc as we have them in the element details.
Also keep things (Makefile.am and sections.txt) sorted.
Reword ambigous returns. No text after since please.
2009-02-25 12:42:36 +02:00
Olivier Crête
c0ad75c810 Document rtpdtmfdepay a bit 2009-02-21 17:48:08 +01:00
Olivier Crête
b95b1516e5 Fix up documentation blobs SGML 2009-02-21 17:48:08 +01:00
Olivier Crête
22b1337ed7 Re-indent to Gst style 2009-02-21 17:48:07 +01:00
Laurent Glayal
d89e80f1c9 [MOVED FROM GST-P-FARSIGHT] Missing format directive 2009-02-21 17:48:07 +01:00
Olivier Crête
918d78dd22 [MOVED FROM GST-P-FARSIGHT] Clarify the documentation of the "event-type" field when specifying dtmf events 2009-02-21 17:48:07 +01:00
Olivier Crete
de1e6bb778 [MOVED FROM GST-P-FARSIGHT] Take the clock-rate from the caps in rtpdtmfsrc
20080613233006-3e2dc-a7d4e918643f4f8c1bb2cc2678558c654025920e.gz
2009-02-21 17:48:05 +01:00
Olivier Crete
b7bb5cd6a0 [MOVED FROM GST-P-FARSIGHT] encoding name has to be upper-case
20080319193251-3e2dc-1581b33be9b486e35ec4948009677ccd5ffdc098.gz
2009-02-21 17:48:04 +01:00
Youness Alaoui
4ec9f3fdfc [MOVED FROM GST-P-FARSIGHT] Fix typos
20080320005041-4f0f6-9d22fa5d155e35b605ea85b1fd9e7197a882a1f0.gz
2009-02-21 17:48:04 +01:00
Olivier Crete
8780522c5d [MOVED FROM GST-P-FARSIGHT] Search&Replace oops
20070917175233-3e2dc-57f579c4b890993f49fa8e9e6470a3eb79d2b922.gz
2009-02-21 17:48:04 +01:00
Olivier Crete
f120296e53 [MOVED FROM GST-P-FARSIGHT] events dont yet belong in the caps
20070917175133-3e2dc-fd1d83b7826b898110fc571ae7c3440f1887434d.gz
2009-02-21 17:48:04 +01:00
Olivier Crete
47c38ea723 [MOVED FROM GST-P-FARSIGHT] Add patch to make it work with maemo dsp sources that payload incorrectly
20070917160820-3e2dc-06b1b1d1b0918b30dabea5a0714cb732b3b8d8dd.gz
2009-02-21 17:48:04 +01:00
Olivier Crete
292816f5cc [MOVED FROM GST-P-FARSIGHT] Oops, set to no preroll when playing->paused too
20070917042649-3e2dc-94adb6aa0617e815a6e233232dabb4bbc48dc82c.gz
2009-02-21 17:48:03 +01:00
Olivier Crete
b55bec0a96 [MOVED FROM GST-P-FARSIGHT] Complete port to basesrc
20070917003654-3e2dc-db0f84dabd9dd1ac929a0461865b8aaa8ef91a77.gz
2009-02-21 17:48:03 +01:00
Olivier Crete
f135a43de2 [MOVED FROM GST-P-FARSIGHT] Add caps negotiation function
20070917002412-3e2dc-ca266816e9629746e9083c5bb8b7f73b94a9b2b0.gz
2009-02-21 17:48:03 +01:00
Olivier Crete
5b7ae694d0 [MOVED FROM GST-P-FARSIGHT] Make interval and packet_redundancy into uint
20070917001552-3e2dc-60032e547b3669b87317c981d985c156aab91b40.gz
2009-02-21 17:48:03 +01:00
Olivier Crete
8ba0818e18 [MOVED FROM GST-P-FARSIGHT] Make the rtp dtmf src use basesrc
20070916194408-3e2dc-734000130dce2434a014acf843d641ff0e60aa5a.gz
2009-02-21 17:48:03 +01:00
Youness Alaoui
da9d38b487 [MOVED FROM GST-P-FARSIGHT] Add another fix for a possible race condition
20070904225753-4f0f6-5ba8c4260c002bb27eb98e9faba3c15799357b57.gz
2009-02-21 17:48:02 +01:00