diff options
author | Mikhail Zabaluev <mikhail.zabaluev@nokia.com> | 2009-11-10 17:21:29 +0200 |
---|---|---|
committer | Mikhail Zabaluev <mikhail.zabaluev@nokia.com> | 2009-11-10 17:21:29 +0200 |
commit | e3ddb746648c5b58eff1ac78080e39710797d786 (patch) | |
tree | 0db9060a1ef103f812772fd2b6b842696eb36316 /tpsip | |
parent | d5c7ff32132dd5ce40b633bbdd54d0352b441582 (diff) |
Plug in the audio/telephone-event formatting routines
Diffstat (limited to 'tpsip')
-rw-r--r-- | tpsip/codec-param-formats.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tpsip/codec-param-formats.c b/tpsip/codec-param-formats.c index 32847d2..3119def 100644 --- a/tpsip/codec-param-formats.c +++ b/tpsip/codec-param-formats.c @@ -300,6 +300,11 @@ tpsip_codec_param_formats_init () codec_param_formats[i] = g_hash_table_new (g_str_hash, g_str_equal); } + tpsip_codec_param_register_format ( + TP_MEDIA_STREAM_TYPE_AUDIO, "telephone-event", + tpsip_codec_param_format_telephone_event, + tpsip_codec_param_parse_telephone_event); + fmtp_attr_regex = g_regex_new ( "(?<" FMTP_MATCH_NAME_PARAM ">" FMTP_TOKEN_PARAM ")" "\\s*=\\s*" |