Mercurial > libavformat.hg
changeset 2865:51aa1054528c libavformat
Real RTSP support, from Ronald S. Bultje rsbultje gmail - part 2 x-pn-tng support
author | lu_zero |
---|---|
date | Fri, 28 Dec 2007 11:23:25 +0000 |
parents | 254eb8cf1c27 |
children | ccbca87ccd5e |
files | rtsp.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rtsp.c Fri Dec 28 11:10:17 2007 +0000 +++ b/rtsp.c Fri Dec 28 11:23:25 2007 +0000 @@ -604,12 +604,17 @@ "/", &p); if (*p == '/') p++; + if (!strcasecmp (transport_protocol, "rtp")) { get_word_sep(profile, sizeof(profile), "/;,", &p); lower_transport[0] = '\0'; if (*p == '/') { /* rtp/avp/<protocol> */ p++; get_word_sep(lower_transport, sizeof(lower_transport), ";,", &p); + } + } else if (!strcasecmp (transport_protocol, "x-pn-tng")) { /* x-pn-tng/<protocol> */ + get_word_sep(lower_transport, sizeof(lower_transport), "/;,", &p); + profile[0] = '\0'; } if (!strcasecmp(lower_transport, "TCP")) th->protocol = RTSP_PROTOCOL_RTP_TCP;