Open Bug 1419982 Opened 7 years ago Updated 3 months ago

Twitch.Tv provides abnormally insane buffering at random times.

Categories

(Core :: Audio/Video: Playback, defect, P3)

58 Branch
defect

Tracking

()

REOPENED
Tracking Status
platform-rel --- ?

People

(Reporter: megarig_2000, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [platform-rel-Twitch][media-twitch])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:58.0) Gecko/20100101 Firefox/58.0 Build ID: 20171120142222 Steps to reproduce: Visit many of my favorite Twitch streams. Actual results: It starts to buffer excessively, raising latency like crazy. Expected results: No excessive buffering.
This started in Firefox 58 Beta 4 (32-bit), I can replicate it in the latest Nightly 59 (20171122103138) mostly in Safe Mode. Also getting Web Page Slowing Down prompts on the Nightly and Beta while in Safe Mode, I'm reporting because the crazy buffers happen in Normal Mode. No problems at all using SRWare Iron 62.0.3250.0 On the desktop it's fine with Firefox 57(64-bit) on Normal Mode. In Safe Mode, it does random freezes(but no buffer, could be due to the powerful CPU?) and raises latency. Also, in Safe Mode I notice the typing bug, slow at response. Laptop: A6-6310 (4 cores 1.8Ghz(2-4 cores) and 2.4Ghz(1 core)), 4GB RAM Single Channel, Windows 10 Home 64-bit, HDD, AMD R4 integrated graphics. Desktop: FX-6300 (6 cores locked max at 3.6Ghz), 8GB of RAM dual-channel, Windows 10 Home 64-Bit, SSD, Nvidia GTX 750 Ti. What's odd is that it can happen at random streams, yet they work fine in Chromium browsers. Also, a problematic stream throwing 720@30fps with 2500Kbps bitrate, but going to one that is not being problematic with 1080p@30fps with 5000Kbps. Must be how Firefox handles the lower-quality(unpartnered) streams? This question can't be determined. From the Nightly thing I mentioned, it could be scripts that aren't handled right by Firefox, but any guess is as good as mine. I could throw stream URLs but they aren't on 24/7, so waiting for them to ever go on is trivial. Anything I can do to help with I'll be happy to provide any information.
Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
(In reply to megarig_2000 from comment #1) > Anything I can do to help with I'll be happy to provide any information. An example URL would be useful as well as the information from about:support
Can you also get a ping time when the issue is occurring from: $ ping 8.8.8.8
Well, the problem with the video is not happening in the desktop anymore, but the typing is(only in Safe Mode). You can see the browser taking time to display the letters, must be my fast typing and it doesn't in Regular Mode. The refreshing is not currently happening, as I type this, so I'll have to report in a few days. It might have been fixed, I can't say for sure. Test site: https://www.twitch.tv/sn0w10wl Stream in Safe Mode: 13 seconds latency Stream in Regular Mode(Desktop and laptop): 6 seconds latency How do I do the Ping thing? (Laptop Firefox 57b7)I did a random ping test(In Safe Mode) and got 108ms, with and 96ms a second run. (While it was doing the buffering, raising latency.) Restarting in Regular Mode, Ping Test 78 then 81 the second test. After the tested the stream latency, 6 second latency for a good while. Site example: https://www.twitch.tv/monstercat only my laptop, since it must be CPU not handling it but it's a 24/7 stream Replicate problem on desktop(Just the typing part) and laptop: https://www.twitch.tv/sn0w10wl Application Basics ------------------ Name: Firefox Version: 58.0b7 Build ID: 20171127135700 Update Channel: beta User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:58.0) Gecko/20100101 Firefox/58.0 OS: Windows_NT 10.0 Multiprocess Windows: 1/1 (Enabled by default) Web Content Processes: 2/1 Stylo: content = true (enabled by default), chrome = false (disabled by default) Google Key: Found Mozilla Location Service Key: Found Safe Mode: true Crash Reports for the Last 3 Days --------------------------------- All Crash Reports Firefox Features ---------------- Name: Activity Stream Version: 2017.11.03.1438-bf427ddd ID: activity-stream@mozilla.org Name: Application Update Service Helper Version: 2.0 ID: aushelper@mozilla.org Name: Firefox Screenshots Version: 19.2.0 ID: screenshots@mozilla.org Name: Follow-on Search Telemetry Version: 0.9.6 ID: followonsearch@mozilla.com Name: Form Autofill Version: 1.0 ID: formautofill@mozilla.org Name: Photon onboarding Version: 1.0 ID: onboarding@mozilla.org Name: Pocket Version: 1.0.5 ID: firefox@getpocket.com Name: Shield Recipe Client Version: 76.1 ID: shield-recipe-client@mozilla.org Name: Web Compat Version: 1.1 ID: webcompat@mozilla.org Extensions ---------- Name: Auto Unload Tab Version: 0.9.1.5 Enabled: false ID: {d3c46ca0-999d-11da-a72b-0800200c9a66} Name: Brief Version: 2.5.5rc99 Enabled: false ID: brief@mozdev.org Name: Download Manager (S3) Version: 4.13 Enabled: false ID: s3download@statusbar Name: DownThemAll! Version: 3.0.8 Enabled: false ID: {DDC359D1-844A-42a7-9AA1-88A850A938A8} Name: Feedbro Version: 3.33.0 Enabled: false ID: {a9c2ad37-e940-4892-8dce-cd73c6cbbc0c} Name: FlashStopper Version: 2.4.9 Enabled: false ID: flashstopper@byo.co.il Name: FrankerFaceZ Version: 4.0 Enabled: false ID: frankerfacez@frankerfacez.com Name: LastPass: Free Password Manager Version: 4.2.1.21 Enabled: false ID: support@lastpass.com Name: LoadTabOnSelect Version: 1.2 Enabled: false ID: {d1dde0fa-0445-484f-852a-94521cc47495} Name: restartFox Version: 0.1.9 Enabled: false ID: restartfox@bleed Name: SwagButton Version: 269 Enabled: false ID: shopearn@prodege.com Name: Tab Mix Plus Version: 0.5.0.4 Enabled: false ID: {dc572301-7619-498c-a57d-39143191b318} Name: uBlock Origin Version: 1.14.18 Enabled: false ID: uBlock0@raymondhill.net Name: Unload Tab Version: 1.1 Enabled: false ID: {b3fdb2a9-f31a-4f12-b7b3-085aba679868} Name: Video Downloader professional Version: 1.98.2 Enabled: false ID: ffext_basicvideoext@startpage24 Graphics -------- Features Compositing: Basic Asynchronous Pan/Zoom: wheel input enabled; scrollbar drag enabled; keyboard enabled; autoscroll enabled WebGL 1 Driver WSI Info: - WebGL 1 Driver Renderer: WebGL is currently disabled. WebGL 1 Driver Version: - WebGL 1 Driver Extensions: - WebGL 1 Extensions: - WebGL 2 Driver WSI Info: - WebGL 2 Driver Renderer: WebGL is currently disabled. WebGL 2 Driver Version: - WebGL 2 Driver Extensions: - WebGL 2 Extensions: - DirectWrite: true (10.0.16299.15) GPU #1 Active: Yes Description: AMD Radeon(TM) R4 Graphics Vendor ID: 0x1002 Device ID: 0x9851 Driver Version: 23.20.788.0 Driver Date: 11-2-2017 Drivers: aticfx64 aticfx64 aticfx64 amdxc64 aticfx32 aticfx32 aticfx32 amdxc32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64 Subsys ID: 22cd103c RAM: 512 Diagnostics ClearType Parameters: Gamma: 2.2 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 300 AzureCanvasAccelerated: 0 AzureCanvasBackend: skia AzureContentBackend: skia AzureFallbackCanvasBackend: cairo ClearType Parameters: Gamma: 2.2 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 300 Decision Log HW_COMPOSITING: blocked by runtime: Acceleration blocked by safe-mode D3D11_COMPOSITING: unavailable by default: Hardware compositing is disabled DIRECT2D: unavailable by default: Direct2D requires Direct3D 11 compositing D3D11_HW_ANGLE: unavailable by default: D3D11 compositing is disabled disabled by env: D3D11 compositing is disabled GPU_PROCESS: blocked by runtime: Safe-mode is enabled WEBRENDER: opt-in by default: WebRender is an opt-in feature unavailable by runtime: ANGLE is disabled OMTP: blocked by runtime: OMTP blocked by safe-mode Media ----- Audio Backend: wasapi Max Channels: 2 Preferred Channel Layout: stereo Preferred Sample Rate: 48000 Output Devices Name: Group Speaker/HP (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0282&SUBSYS_103C22CD&REV_1000\4&39d8aedf&0&0001 1 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1005\4&10dd5a02&0&0001 Input Devices Name: Group Stereo Mix (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0282&SUBSYS_103C22CD&REV_1000\4&39d8aedf&0&0001 Internal AUX Jack (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1005\4&10dd5a02&0&0001 Microphone (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0282&SUBSYS_103C22CD&REV_1000\4&39d8aedf&0&0001 Headset Mic (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0282&SUBSYS_103C22CD&REV_1000\4&39d8aedf&0&0001 Microphone (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0282&SUBSYS_103C22CD&REV_1000\4&39d8aedf&0&0001 Important Modified Preferences ------------------------------ accessibility.typeaheadfind: true accessibility.typeaheadfind.flashBar: 0 browser.cache.disk.capacity: 358400 browser.cache.disk.filesystem_reported: 1 browser.cache.disk.smart_size.first_run: false browser.cache.disk.smart_size.use_old_max: false browser.cache.frecency_experiment: 4 browser.cache.memory.capacity: 65536 browser.display.show_image_placeholders: true browser.link.open_newwindow.override.external: 3 browser.places.smartBookmarksVersion: 8 browser.search.context.loadInBackground: true browser.search.useDBForOrder: true browser.sessionstore.interval: 120000 browser.sessionstore.max_tabs_undo: 100 browser.sessionstore.upgradeBackup.latestBuildID: 20171127135700 browser.startup.homepage_override.buildID: 20171127135700 browser.startup.homepage_override.mstone: 58.0 browser.tabs.loadBookmarksInBackground: true browser.tabs.loadDivertedInBackground: true browser.tabs.remote.autostart.2: true browser.tabs.selectOwnerOnClose: false browser.tabs.tabMaxWidth: 200 browser.tabs.tabMinWidth: 80 browser.tabs.warnOnClose: false browser.tabs.warnOnOpen: false browser.urlbar.autocomplete.enabled: true browser.urlbar.lastSuggestionsPromptDate: 20170928 browser.urlbar.maxRichResults: 12 browser.urlbar.timesBeforeHidingSuggestionsHint: 0 dom.disable_window_move_resize: true dom.forms.autocomplete.formautofill: true dom.ipc.processCount: 1 dom.push.userAgentID: 22168bafd9884f86b75887d162e56805 extensions.lastAppVersion: 58.0 general.autoScroll: false gfx.crash-guard.d3d11layers.appVersion: 56.0 gfx.crash-guard.d3d11layers.deviceID: 0x9851 gfx.crash-guard.d3d11layers.driverVersion: 22.19.662.4 gfx.crash-guard.d3d11layers.feature-d2d: true gfx.crash-guard.d3d11layers.feature-d3d11: true gfx.crash-guard.status.d3d11layers: 2 layers.mlgpu.sanity-test-failed: false media.benchmark.vp9.fps: 38 media.benchmark.vp9.versioncheck: 3 media.gmp-gmpopenh264.abi: x86-msvc-x64 media.gmp-gmpopenh264.lastUpdate: 1508978488 media.gmp-gmpopenh264.version: 1.7.1 media.gmp-manager.buildID: 20171127135700 media.gmp-manager.lastCheck: 1511914367 media.gmp-widevinecdm.abi: x86-msvc-x64 media.gmp-widevinecdm.lastUpdate: 1508701900 media.gmp-widevinecdm.version: 1.4.8.1008 media.gmp.storage.version.observed: 1 media.hardware-video-decoding.failed: false network.cookie.prefsMigrated: true network.cookie.thirdparty.sessionOnly: true network.dns.disablePrefetch: true network.http.max-connections: 48 network.http.max-connections-per-server: 16 network.http.max-persistent-connections-per-proxy: 16 network.http.max-persistent-connections-per-server: 8 network.http.pipelining.maxrequests: 8 network.http.request.max-start-delay: 0 network.http.speculative-parallel-limit: 0 network.predictor.cleaned-up: true network.predictor.enabled: false network.prefetch-next: false places.database.lastMaintenance: 1511760753 places.history.expiration.transient_current_max_pages: 124408 plugin.disable_full_page_plugin_for_types: application/pdf plugin.expose_full_path: true plugins.ctprollout.cohort: test plugins.ctprollout.cohortSample: 0.142133 privacy.clearOnShutdown.cookies: false privacy.clearOnShutdown.downloads: false privacy.clearOnShutdown.history: false privacy.clearOnShutdown.sessions: false privacy.donottrackheader.enabled: true privacy.history.custom: true privacy.sanitize.sanitizeOnShutdown: true security.sandbox.content.tempDirSuffix: {5b3985a1-de07-4654-9c46-4086ecbe0147} services.sync.declinedEngines: services.sync.engine.addresses.available: true services.sync.engine.creditcards.available: true storage.vacuum.last.brief.sqlite: 1506658454 storage.vacuum.last.index: 1 storage.vacuum.last.places.sqlite: 1509338319 ui.osk.debug.keyboardDisplayReason: IKPOS: Touch screen not found. user.js Preferences ------------------- Your profile folder contains a user.js file, which includes preferences that were not created by Firefox. Important Locked Preferences ---------------------------- Places Database --------------- JavaScript ---------- Incremental GC: true Accessibility ------------- Activated: false Prevent Accessibility: 0 Accessible Handler Used: true Accessibility Instantiator: Library Versions ---------------- NSPR Expected minimum version: 4.17 Version in use: 4.17 NSS Expected minimum version: 3.34 Version in use: 3.34 NSSSMIME Expected minimum version: 3.34 Version in use: 3.34 NSSSSL Expected minimum version: 3.34 Version in use: 3.34 NSSUTIL Expected minimum version: 3.34 Version in use: 3.34 Experimental Features --------------------- Sandbox ------- Content Process Sandbox Level: 4 Effective Content Process Sandbox Level: 4 Internationalization & Localization ----------------------------------- Application Settings Requested Locales: ["en-US"] Available Locales: ["en-US"] App Locales: ["en-US"] Regional Preferences: ["en-US"] Default Locale: "en-US" Operating System System Locales: ["en-US"] Regional Preferences: ["en-US"]
Okay, I tested on https://www.twitch.tv/marphos1 and ping was (using PowerShell and Command Prompt) on the laptop: Minimum 29ms, Maximum 67ms, and Average 39ms. Second time of Min 28 ms, Max 40ms, Avg 32ms. I got on Chromium(SRWare Iron) and steady 6 seconds. Well, I did get a short buffer raising it to 15 seconds, but restarting the player went back to 6 seconds almost indefinitely. Firefox would buffer and raise latency no matter how many times I restarted the player. Tried Firefox again(checking due to buffering and latency increase once again): Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Min = 29ms, Max = 48ms, Avg = 35ms
Can you try setting the media.wmf.low-latency.enabled preference to true? (you go into about:config and search the preference there, then flip its value from false to true) thank you
Flags: needinfo?(megarig_2000)
also, please change your user agent value to look like chrome to see if it's not a twitch issue serving firefox different content. this add-ons will do: https://mybrowseraddon.com/useragent-switcher.html (User-agent switcher 0.2.0)
Well...I waited 2 days for my frequent streamers to show up, but they haven't streamed lately, so I went scouting for any other streams to see if the solutions worked. Random stream in question: https://www.twitch.tv/smokindank5280 I flipped the thing to true and it didn't fix the problem. I even tried the MPEG string, not together. I changed the string to Chrome, whatever preset it had, and it still happens. Okay, disabling Hardware Acceleration lessens the buffers but it still happens, at least it will be a long while beore it reaches 90 seconds, didn't test that long but it was around 30 seconds before restarting the player. I use 1 Content Process Limit, due to being 4 cores and 4GB of RAM. Since Smokin Dank 5280 has quality settings, I tested those. Using 720p (Source) on Iron. No problems. Using Firefox 58(All back to my Normal Configured settings) all resolutions still the same on buffers. Firefox Nightly 59 (20171203220339 New Profile) all default profile settings but same problem. Made changes you requested and no difference(except the UA switcher). What's odd is that it only happens at night for me but during the day time, I can see the same streamers without the latency thing. If it was my net at fault, I don't know why Iron is not this problematic. I'll try on EDGE and IE. IE, Twitch is too intesive of a site for the aging browser but it was steady 4-5 seconds latency for a long time. EDGE stayed at a steady 8 seconds. Firefox 58b8 Checking that advanced stats of Twitch: Buffer size 0 - 1 seconds (causes the buffering of course) It's the only reason why the latency goes up. Latency to Broadcaster 14 seconds Latency to Encoder 12 seconds Playback Rate: 3000Kbps Memory usage 64MB Buffer size numbers fluctuate, it's good when the size is bigger. Iron does steady 4 or 5 during the time Firefox drops. Firefox does 4 - 7 seconds on buffer in a stable stream. Firefox is set to "No Proxy." Disabled Panda Antivirus, no change. Something that is odd, if I see the stream from a streamer I watch that is merely hosting the streamer, the game doesn't have the latency problem. Person A hosts Person B, watching it from Person A's channel is fine, but Person B's actual channel has the latency thing. On Iron, Edge, and IE, I test on the streamer's actual channel. Obviously a Twitch problem but it's somehting Firefox devs could understand better than I.
Flags: needinfo?(megarig_2000)
(In reply to megarig_2000 from comment #8) > What's odd is that it only happens at night for me but during the day time, > I can see the same streamers without the latency thing. If it was my net at > fault, I don't know why Iron is not this problematic. I'll try on EDGE and > IE. Do you have other people sharing your Internet connection at night? Specifically, do you have more mobile phones on your wifi?
Flags: needinfo?(megarig_2000)
Okay, I'll have to repeat myself. Using Firefox: 52ESR, 56.0.2, 57.0.1, 58b9. If I watch at certain times at night(any of the said above), the streams buffer immensely raising my latency and they can go beyond 90 seconds. While that happens, I close Firefox and get on SRWare Iron and it doesn't produce this problem, it stays on low latency indefinitely, unless a minor buffering here or there, which can go to 10 seconds but hardly happens. Speaking of mobile, I tried problematic channel on my phone(Windows phone using EDGE) on 1080p 30fps 5000Kbps and it wasn't causing any problems, either. I tried Basilisk during the problematic times on Firefox, and it wasn't having a problem either. Now, if Basilik still has Firefox inside said browser, who knows why it doesn't. So, it could be the Low Latency option that streamers activate on their end to be a problem with Firefox. I think I could see some streams with low latency during this problematic time as well, but said low-latency streams weren't buffering like crazy or at all. As I have stated, if Twitch is hosting someone, or if another streamer is hosting someone, during the problematic times, I'm not having problems on the channel that is hosting the problem stream. Also, the streams don't have to be heavy sites, I get this problem on streams without any viewers other than myself. I could watch Twitch Presents with like 400 viewers and active chatters without a problem, so I guess that's odd. TL;DR I also messaged Twitch about this. So, the problem can be the Low-Latency option activated by the streamers and it only affects Firefox, or the way Firefox decodes something that is messing up buffering.
Flags: needinfo?(megarig_2000)
But to answer your question? No, I don't know if anyone else is using the net. I'll check on the next occurrence. Anything to pinpoint the problem.
The family went out for today, so I wanted to try again. The only question I have is why the Buffer Size goes to 0, which starts the buffering(Even the ads have buffering). The lowest it goes on SRWare Iron is 2, thus no buffering problem. Same stream no problem on my desktop, on Normal mode. It does give me Page Slowing down on Safe Mode and horrible typing still, yet latency is great. Problem stream: https://www.twitch.tv/ladyassassin15 No problem here: Edge, Palemoon, Basilisk, SRWare Iron, IE11 Tried combinations of disabling and enabling: Multiprocess, Servo, Webrender (Force Angle) So, I tried browser.tab.remote.autostart.2 to false and the buffering lessend or it was past it's annoying time. So, I re-enabled it and...it was the same as off, so just past the annoying part. Still buffering over time raising latency, unbearable experience. Tried Low Latency on WMF again: Buffering still but a little better? Low latency on and Hardware acceleration off: Seems better but the user went offline at this point to test longer. It was doing great. Tomorrow I'll test HW off and Latency off, to see if Latency made the difference.
https://www.twitch.tv/marphos1 Okay, this time I decided to try NoScript and reset everything back to normal(Option and abou:config): Whatever it shows on the list, I only allowed Twitch.tv, frankerfacez.com, and twitchcdn.net. And the buffering was gone, typing was a bit laggy so I'll try with 4(default) instead of my usual 1 process. So the problems are some(or one) of these: 0914.global.ssl.fastly.net (Clear) amazon-adsystem.com (Clear) doubleclick.net (Clear) ext-twitch.tv (I think this is it) (Assumption correct, but I'll finish the list for any others) google-analytics.com (Clear) googletagservices.com (Clear) imasdk.googleapis.com (This causes me to start at latency 15 a few times vs 7, maybe culprit) krxd.net () mixpanel.com () quantserve.com () scorecardresearch.com ttvnw.net twitchsvc.net (clear) Allow some of the top scripts and more show up: adsafeprotected.com 2mdn.net bidr.io flashtalking.com moatads.com streamlabs.com streamlegends.com Side complaint, I have to reload the page for the scripts to start and it just increases RAM like crazy. (No Script doesn't lock the things I allow if I restart the browser, so I have to just remove the Ram Hog process with Task Manager, but I can only do it so much before the RAM stays too high that I have to restart the browser) Another ticket for another day. Now, typing is causing the buffering since the site is too intensive, not a problem when all scripts were running, something I mentioned on Safe Mode on my desktop as well. So, now typing is the cause of buffering where used to get random buffers just sitting watching the stream and not typing. Offset somewhere. Not sure which script I allowed that fixed it, might have to do a full test again. (twitchsvc.net fixes that) The streamer went off for the night before finishing the rest of the list, and some more scripts appeared, goodie. I'll report the extension thing to Twitch, must be favoritism due to the optimizations on other browsers. Okay, now SmokinDank is streaming: Decided to just try the Ext Twitch thing, with Twitch.tv, frankerfacez.com, twitchsvc and twitchcdn.net. The crazy buffering started again. It got weirder. The buffering problem would still happen even with just FF, Twitch, Twitchsvc and TwitchCdn. I closed the browser, went to SRWare Iron, it was fine without buffers. I thought was just his stream. I closed Iron and went back to Firefox and only enabled those 4, except EXT Twitch, and it was all great. Must be the browser cleared Cache and restarting wouldn't, or I don't know.
Good to know you find the root cause of this bug. It looks like not a Firefox bug, so I am going to close it. Please feel free to file other bugs if you find any.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
(In reply to Blake Wu [:bwu][:blakewu] from comment #14) > Good to know you find the root cause of this bug. It looks like not a > Firefox bug, so I am going to close it. > Please feel free to file other bugs if you find any. if it's not a firefox issue, why doesn't the issue occurs with other browsers? closing this bug already seems like we could missing the real reason. it may not be a Audio/Video issue, but obviously how we're handling the JS in ext-twitch.tv is a problem. The user shouldn't have to block a particular domain for playback to be okay
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: WORKSFORME → ---
There's widgets that cause this. For a long time(year or 2, maybe longer?), Firefox has had a problem with these widgets in multiple sites(Been using Chromium for these sites exclusively, just because of that). Periscope, Smashcast, and now Twitch; who knows how many others. I haven't touched the thing but simply just for loading on the player is enough to do this buffering. Okay, let me finish up by saying that the only thing that shows up on the other browsers is an "X" and when clicking the x it shows a "+," so it seems to not load the script or at least the effect. Firefox and Opera load everything. So, Firefox is doing it right but it doesn't end well for it. https://www.twitch.tv/thatssobrandon Below is the culprit: https://i.gyazo.com/40e9fecd5b9377436ca6fd4616f15b7e.png (Sorry, this part is going off topic, but trying to make a point. Also, spamming the hearts is showing support for the streamer, in Periscope.) https://www.periscope.tv/w/1ZkKzdbNVdgJv?channel=music Tested Periscope(on my desktop) and it eventually chokes during the heart spam where the video stream freezes so I wait for it to unfreeze, and on the laptop it makes it a choppy stream just for loading the heart widget, not even doing anything(none of the NoScript scripts block the widget without making the entire player inoperable). Chromium on desktop was fluid without problems with a long time spamming. Chromium and Edge on the laptop are fluid on playback even though hearts clump up and letting go makes them fly up fluid, yet slightly affect to the playback for a second - 3 on EDGE. Palemoon doesn't show the heart at all, playback smooth. The site refuses to load in IE(Just a gray page that goes nowhere). Conclusion: Twitch just reintroduced an old problem plaguing Firefox. Problem: Every site that uses these methods. My guess: Either these scripts are optimized with Chromium in mind or Firefox simply can't handle them, or needs a powerful CPU. Is it using multi-thread on Firefox, or that is why it helps on Chromium?
platform-rel: --- → ?
Whiteboard: [platform-rel-Twitch]
Priority: -- → P3

Hi, I know it's been a long while, I wonder if you still encounter this issue on Twitch?
Thank you.

Flags: needinfo?(megarig_2000)

Have the same issue.
It happens on both Windows and Linux.

Twitch perfomance on firefox is awful at all.

I am also experiencing this bug. I'm running Firefox 91.0 on macOS 11.5.1

Would y'all mind to capture a profiled result with Media preset while this issue is happening on Twitch?
Thank you.


Since this is still reproducible on latest version, raise the priority of this bug.

Severity: normal → S3
Flags: needinfo?(djbystedt)
Flags: needinfo?(bugzilla)
Priority: P3 → P2
Whiteboard: [platform-rel-Twitch] → [platform-rel-Twitch][media-twitch]

I dont know how to set "Media" preset, and have not found any mention of "preset" in docs (https://profiler.firefox.com/docs/#/)

i've opened stream on twitch and started recording.
video was stuttering all the time (almost slideshow).

then i saved result (56MB json file) and uploaded it to https://profiler.firefox.com

uploaded result: https://share.firefox.dev/3mlSKQG
original profile.json file: https://disk.yandex.ru/d/1GwKc7a6nd7H8g

Flags: needinfo?(bugzilla)

ah, i got it, here is one using Media preset: https://share.firefox.dev/3k2yUaB
is this ok?

Flags: needinfo?(alwu)

Yes, I can see the both audio and video decoding seems not smooth enough which causes buffering. What system you're using? Would you mind to provide the information from about:support? In addition, does this issue happen on every twitch video? Could you give us an example url on which you can reproduce the issue?
Thank you,

Flags: needinfo?(alwu) → needinfo?(bugzilla)
Attached file about_support.txt

attached info from about:support

Flags: needinfo?(bugzilla)

does this issue happen on every twitch video

yes

Could you give us an example url on which you can reproduce the issue?

any stream on twitch.tv

Blocks: twitch
Priority: P2 → P3

What is a reason for lowering proirity?

Flags: needinfo?(alwu)

Priority is used for the proposed fix landing version. P2 is for this verision or the next version. But considering with the current information we have, I still don't have a clear idea about how to solve this issue, so I expect this issue would still be there for a while, which would be P3.

However, we have some discussion with Twitch about their cache header usage, maybe that would help on this issue as well? But we would still track this issue that is why I moved it under the twitch metabug.

Flags: needinfo?(alwu)
Depends on: 1763640

Clear needinfos that are pending on inactive users.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit auto_nag documentation.

Flags: needinfo?(megarig_2000)
Flags: needinfo?(djbystedt)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: