mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
rtspsrc: do not checksum the stream id
https://bugzilla.gnome.org/show_bug.cgi?id=783307
This commit is contained in:
parent
3a0fe9c2f5
commit
0da5679c6f
1 changed files with 5 additions and 4 deletions
|
@ -1506,12 +1506,13 @@ gst_rtspsrc_collect_connections (GstRTSPSrc * src, const GstSDPMessage * sdp,
|
|||
static gchar *
|
||||
make_stream_id (GstRTSPStream * stream, const GstSDPMedia * media)
|
||||
{
|
||||
gchar *stream_id = g_strdup_printf ("%s%d%d%s%d", media->media, media->port,
|
||||
gchar *stream_id =
|
||||
g_strdup_printf ("%s:%d:%d:%s:%d", media->media, media->port,
|
||||
media->num_ports, media->proto, stream->default_pt);
|
||||
gchar *res = g_compute_checksum_for_string (G_CHECKSUM_MD5, stream_id, -1);
|
||||
|
||||
g_free (stream_id);
|
||||
return res;
|
||||
g_strcanon (stream_id, G_CSET_a_2_z G_CSET_A_2_Z G_CSET_DIGITS, ':');
|
||||
|
||||
return stream_id;
|
||||
}
|
||||
|
||||
/* m=<media> <UDP port> RTP/AVP <payload>
|
||||
|
|
Loading…
Reference in a new issue