Commit d977ed05 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: adaptive: expose redirection to caller

parent b952a7fe
......@@ -439,6 +439,11 @@ std::string HTTPConnection::extraRequestHeaders() const
return ss.str();
}
const ConnectionParams & HTTPConnection::getRedirection() const
{
return locationparams;
}
StreamUrlConnection::StreamUrlConnection(vlc_object_t *p_object)
: AbstractConnection(p_object)
{
......
......@@ -73,6 +73,7 @@ namespace adaptive
virtual ssize_t read (void *p_buffer, size_t len);
void setUsed( bool );
const ConnectionParams &getRedirection() const;
protected:
virtual bool connected () const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment