} else if (av_stristart(p, "Authentication-Info:", &p) && auth_state) {
p += strspn(p, SPACE_CHARS);
ff_http_auth_handle_header(auth_state, "Authentication-Info", p);
+ } else if (av_stristart(p, "Content-Base:", &p)) {
+ p += strspn(p, SPACE_CHARS);
+ av_strlcpy(reply->content_base, p , sizeof(reply->content_base));
}
}
av_freep(&content);
return AVERROR_INVALIDDATA;
}
+ if (reply->content_base[0])
+ av_strlcpy(rt->control_uri, reply->content_base,
+ sizeof(rt->control_uri));
av_log(s, AV_LOG_VERBOSE, "SDP:\n%s\n", content);
/* now we got the SDP description, we parse it */