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
this works in my browser but inside android webview and in some browsers like bing for android I get this error: failed to construct 'Request': the 'duplex' member must be specified for a request with a streaming body
I tried setting duplex half and that didn't work too I got some other errors
Expected behavior
Expected to inatialize the youtube client
Current behavior
The issue is still the same I tried fixing it for several hours happens only in android webview
Version
Edge
Anything else?
No response
Checklist
I am running the latest version.
I checked the documentation and found no answer.
I have searched the existing issues and made sure this is not a duplicate.
I have provided sufficient information.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
const createEnhancedFetch = (timeout = 10000) => {
return async (input, init) => {
const controller = new AbortController();
const timeoutId = setTimeout(() => controller.abort(), timeout);
};
};
// Initialize YouTube client
const initializeYouTubeClient = async () => {
return await Innertube.create({
fetch: createEnhancedFetch(),
generate_session_locally: true,
cache: new UniversalCache(true),
});
};
Failure Logs
Expected behavior
Expected to inatialize the youtube client
Current behavior
The issue is still the same I tried fixing it for several hours happens only in android webview
Version
Edge
Anything else?
No response
Checklist
The text was updated successfully, but these errors were encountered: