sip: media: use number types for payload id and clock rate
This is needed for the next commits where we check the received SDP offers/answers.
This commit is contained in:
committed by
Guido Gunther
parent
7d113d4180
commit
157dc1fffb
@@ -121,9 +121,9 @@ calls_sip_media_manager_static_capabilities (CallsSipMediaManager *self,
|
||||
for (node = self->supported_codecs; node != NULL; node = node->next) {
|
||||
MediaCodecInfo *codec = node->data;
|
||||
|
||||
g_string_append_printf (media_line, " %s", codec->payload_id);
|
||||
g_string_append_printf (media_line, " %u", codec->payload_id);
|
||||
g_string_append_printf (attribute_lines,
|
||||
"a=rtpmap:%s %s/%s%s",
|
||||
"a=rtpmap:%u %s/%u%s",
|
||||
codec->payload_id,
|
||||
codec->name,
|
||||
codec->clock_rate,
|
||||
|
||||
Reference in New Issue
Block a user