Jump to content

Set HTTP headers for IMediaEncoder.GetMediaInfo


Recommended Posts

Posted

Hi,

 

how can I set/add header values for the HTTP protocoll of the IMediaEncoder.GetMediaInfo(MediaInfoRequest, CancellationToken) method?

The MediaSourceInfo class has a RequiredHttpHeaders property.

Is it possible to this property to MediaInfoRequest in one of the next versions if currently no other way exists?

 

-- Tolotos

 

 

 

 

Posted

No, we'd have to add a property to the media info request object and then figure out how to pass the custom headers into ffprobe, since that is who is actually talking to the remote url.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...