You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to add some http headers (to sign the requests to the server), I noticed that in the IjkMediaPlayer class there is the setDataSource method :
Hello,
I would like to add some http headers (to sign the requests to the server), I noticed that in the IjkMediaPlayer class there is the setDataSource method :
@OverRide
public void setDataSource(String path) throws IOException, IllegalArgumentException, SecurityException, IllegalStateException {
mDataSource = path;
_setDataSource (path, null, null);
}
private native void _setDataSource(String path, String[] keys, String[] values) throws IOException, IllegalArgumentException, SecurityException, IllegalStateException;
I can see that the first "setDataSource" method calls the native one with null / null for keys / values.
What are these 2 args ? are they useful to add some http headers to the setDataSource ?
if no, how can I do that ?
Thank you.
The text was updated successfully, but these errors were encountered: