telegramdesktop / telegramdesktop/tdesktop

Automatic media download setting for proxy

Open
#30,786 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
33k
Forks
7.2k
Avg merge
1d 18h
Merged PRs (30d)
12

Description

Is your feature request related to a problem?

Preloading and auto-playing of videos creates the large load on proxy servers.
It's wasting of resources when a user auto-download videos, but do not watch them.

Describe the solution you'd like

Add the special mode "When using a proxy" for "Automatic media download" setting.

Additional context
"Automatic media download" - "When using a proxy"

There are settings for Wi-Fi, mobile and roaming modes:

Image

I would like to have a special "Automatic media download" mode especially for proxies.

I think it would useful, especially if it will have only auto-downloading of "Photos" by default.

The most people use the default settings and all of them have the enable auto-downloading of videos.

Yes, it's cool and fancy in normal days, but if a user is needed to use a proxy, I sure, he would prefer a stable connection, than a non-working-fancy auto-played videos.

And it will greatly decrease the load of proxy servers.


Also, I noted than sometimes proxies have a problem with video streaming, while I can download the entire video and play it then with no problem.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing where the Automatic media download settings are defined and where proxy usage is detected. Implement a distinct “When using a proxy” mode with the requested default media behavior, then verify that downloads follow it only while a proxy is active.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.