[farsight2/master] Our h263-1998 negotiation function was really for h263-2000...
Olivier Crête
olivier.crete at collabora.co.uk
Sun Mar 15 14:06:28 PDT 2009
---
gst/fsrtpconference/fs-rtp-specific-nego.c | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-specific-nego.c b/gst/fsrtpconference/fs-rtp-specific-nego.c
index d3e6e2e..8a62e76 100644
--- a/gst/fsrtpconference/fs-rtp-specific-nego.c
+++ b/gst/fsrtpconference/fs-rtp-specific-nego.c
@@ -59,7 +59,7 @@ static FsCodec *
sdp_is_compat_ilbc (FsCodec *local_codec, FsCodec *remote_codec,
gboolean validate_config);
static FsCodec *
-sdp_is_compat_h263_1998 (FsCodec *local_codec, FsCodec *remote_codec,
+sdp_is_compat_h263_2000 (FsCodec *local_codec, FsCodec *remote_codec,
gboolean validate_config);
static FsCodec *
sdp_is_compat_theora_vorbis (FsCodec *local_codec, FsCodec *remote_codec,
@@ -68,7 +68,7 @@ sdp_is_compat_theora_vorbis (FsCodec *local_codec, FsCodec *remote_codec,
static struct SdpCompatCheck sdp_compat_checks[] = {
{FS_MEDIA_TYPE_AUDIO, "iLBC", sdp_is_compat_ilbc,
{NULL}},
- {FS_MEDIA_TYPE_VIDEO, "H263-1998", sdp_is_compat_h263_1998,
+ {FS_MEDIA_TYPE_VIDEO, "H263-2000", sdp_is_compat_h263_2000,
{NULL}},
{FS_MEDIA_TYPE_AUDIO, "VORBIS", sdp_is_compat_theora_vorbis,
{"configuration", NULL}},
@@ -409,13 +409,13 @@ sdp_is_compat_ilbc (FsCodec *local_codec, FsCodec *remote_codec,
static FsCodec *
-sdp_is_compat_h263_1998 (FsCodec *local_codec, FsCodec *remote_codec,
+sdp_is_compat_h263_2000 (FsCodec *local_codec, FsCodec *remote_codec,
gboolean validate_config)
{
GList *mylistitem = NULL, *remote_param_list = NULL;
FsCodecParameter *profile = NULL;
- GST_DEBUG ("Using H263-1998 negotiation function");
+ GST_DEBUG ("Using H263-2000 negotiation function");
if (remote_codec->clock_rate != 90000)
{
@@ -431,7 +431,9 @@ sdp_is_compat_h263_1998 (FsCodec *local_codec, FsCodec *remote_codec,
return NULL;
}
- /* First lets check if there is a profile */
+ /* First lets check if there is a profile, it MUST be the same
+ * as ours
+ */
for (remote_param_list = remote_codec->optional_params;
remote_param_list;
--
1.5.6.5
More information about the farsight-commits
mailing list