Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom User Agent #23

Closed
andekande opened this issue Jan 24, 2023 · 1 comment
Closed

Custom User Agent #23

andekande opened this issue Jan 24, 2023 · 1 comment

Comments

@andekande
Copy link

andekande commented Jan 24, 2023

From comment in #21 (comment)

Getting 'media error' also in 16.8.0 when trying to play from stream that requires a specific http header.

I Did some code analysis and found this:
e5eebb7#r95076585

The derived classes never pass the new data object in, which renders getDefaultRequestHeaders() useless:
https://github.com/efoxbr/megacubo/blob/master/www/nodejs-project/modules/streamer/adapters/ts.js#L6
https://github.com/efoxbr/megacubo/blob/master/www/nodejs-project/modules/streamer/adapters/aac.js#L6
https://github.com/efoxbr/megacubo/blob/master/www/nodejs-project/modules/streamer/utils/downloader.js#L15
https://github.com/efoxbr/megacubo/blob/master/www/nodejs-project/modules/streamer/utils/proxy-base.js#L6

Further did overwrite files by SDK from https://dl.nwjs.io/v0.37.4/ to no effect. Still can't see a console. Shouldn't it be detected by chrome://inspect/#devices ?

@EdenwareApps
Copy link
Owner

EdenwareApps commented Jan 30, 2023

Overwriting with the SDK files should give the option to open DevTools by pressing F12 or right clicking. The DevTools should also be accessible at 127.0.0.1:9000.

If it doesn't work let me know.

About UA, thanks for confirming. I had made a test M3U file to verify this and it really looks OK:

https://app.megacubo.net/test/test.m3u

Let me know if you notice any other problems.

P.S: Version 16.8.1 installers were updated few hours ago with commit v16.8.1-rev3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants