Android client. Add some options to channel prop#3320
Conversation
|
small and nice improvements. Thanks. |
|
is 500 ms even used? So What should I do, How do I calculate the sliders to become what you want? |
|
@bear101 by the way, when will you decide to merge all my pull requests? |
|
@bear101 I incorrectly used seekbar for this case, but seekbar is not good and it's limited, but I used edit text like disk quota and max users text boxes also like desktop qt client, so now user is free to enter any number. I also added the (msec) hint so user knows that they should enter in mili seconds, like disk quota (kbites) hint |
6399abd to
da652a9
Compare
|
@hwangsihu did you test it on your Android device? |
|
Yeah, It's working fine. |
|
Ah, I missed something. It's an issue where fixed volumes are enabled by default. I'll fix this. |
c3cb0e4 to
500796d
Compare
|
While editing, I made a few adjustments to match qtTeamTalk. |
500796d to
c13c6da
Compare
fd0f340 to
c68d504
Compare
|
@bear101 why are you asking @hwangsihu to test my changes in his android device? you think I don't test my own changes when i'm opening a pull request? please respect contributors who are taking their times to work on your project. My pull requests are open here more than 3 or 4 weeks now, while my pull request I sent to nvda repozitory has been merged less than 24 hours. You don't see all my hevvy work on teamtalk android in the passed? |
|
I don't think there's any reason to delay. Please approve any PRs you think can now be merged. I almost fixed the problematic code in Amir's PRs. And this is the master branch, not the production branch. There is no perfect person in this world. It's natural for problems to arise, and it's up to someone to fix them whenever they are discovered. According to Amir's claims, he lives in Iran and is currently suffering from an internet blockade. Despite struggling with VPN issues, he hasn't stopped contributing to TeamTalkAndroid. I think we need to respect these passionate developers. |
|
@hwangsihu true. Actually, as you even see, my code didn't have any problem they were working fine, but @bear101 requested a bit of stile change. For example, replacing number 1000 with a menu item baced url, and renamings like that but everything I post, I test them actually i'm so sensitiv about my code. Sometimes I need to compile a code 100 times and test them to make them work. And about my life status, the troo fakt is that people from other cuntrys with easy lives can't understand this. How a person from denmark can understand a person's problems in iran? that's why they don't care |
|
@bear101 @hwangsihu please also merge my other pull requests they are all ready for review. |
- Remove unused AdapterView import - Fix the column-0 indentation of the fixed-volume visibility lines and split the two-statements-per-line setEnabled/setVisibility calls - Replace the leftover "Medium Text" placeholder in the voice/media duration labels with an empty string Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
seekbars were incorrect choise for these. Now users are able to enter any number they want in miliseconds
- Rename the fixed-volume slider label "Volume" to "Volume level" - Fix the default channel audio config so fixed volume (AGC) is off by default with gain level 9600, matching qtTeamTalk/TeamTalkClassic. Corrected in the SDK AudioConfigConstants (Java) and mirrored in the .NET binding so all clients share the same defaults. - Take voice/media stream timeouts in seconds (1-decimal) like the qtTeamTalk channel dialog, so sub-second values are preserved Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
c68d504 to
ce2bd0f
Compare
|
@bear101 when will you press the merge button for this pr? |
|
@hwangsihu @amirmahdifard here's an AI answer to how to write good git commit messages: Writing a good Git commit message is essential for maintaining a clear and useful project history. Here’s a concise guide to crafting effective commit messages: Structure of a Good Commit Message
Example: Add user authentication middleware
Example: |
|
@amirmahdifard now please fix your commit messages using these rules of thumb with regard to commit messages. Also don't use the "Android client" prefix in the subject. If you want to know what code is changed you can look at the files. Use the |
|
@hwangsihu aren't the 4 commits overwriting the same code? It doesn't make sense to write changes that are overwritten in later commits. |
|
@bear101 it is impossible to edit a commit message that is already sent. I will do in my new commits from now on. And how you like the title of the pr to look like? |
Android client should use TeamTalkConstants.DEFAULT_CHANNEL_AUDIOCONFIG_LEVEL
| TextView fixvolLabel = findViewById(R.id.fixvolumeLabel); | ||
| SeekBar fixvolume = findViewById(R.id.fixvolumeSeekBar); | ||
|
|
||
| fixvolume.setMax((SoundLevel.SOUND_GAIN_MAX - SoundLevel.SOUND_GAIN_MIN) / 1000); |
There was a problem hiding this comment.
This is where you should assign TeamTalkConstants.DEFAULT_CHANNEL_AUDIOCONFIG_LEVEL
Revert DEFAULT_AGC_GAINLEVEL to 8000
|
@bear101 done. i merged your pr which you opened for this branch and your changes are now here. I will merge your prs whenever you open pr to my branches |
|
@amirmahdifard please clean up the commits. There should be one commit for
|
|
@bear101 I don't want to touch this branch anymore because @hwangsihu messed up this branch, so I don't know what is going on in this branch anymore. I'm now only responceable for my pause stream and rightswork branches. Thanks so @hwangsihu fix this branch because you touched it. |
This will make a squash commit treat the values as unchanged and thereby keeps existing compatibility
Revert to DEFAULT_AGC_ENABLE to true
|
@bear101 i've merged your pull request, and also I've enabled this branch access, so you can work on it directly. |
| TextView fixvolLabel = findViewById(R.id.fixvolumeLabel); | ||
| SeekBar fixvolume = findViewById(R.id.fixvolumeSeekBar); | ||
|
|
||
| fixvolume.setMax((SoundLevel.SOUND_GAIN_MAX - SoundLevel.SOUND_GAIN_MIN) / 1000); |
|
@bear101 yes. fixvolume.setMax((SoundLevel.SOUND_GAIN_MAX - SoundLevel.SOUND_GAIN_MIN) / 1000); works fine up on my tests when I was implementing this feature at first. But now I haven't tested this pr since a long time. But the last time I tested it and pushed to github It was correct. Do you want me to delete this completely and implement this again, or you want to work on the current implementation and add this one? |
|
The "create channel activity" looks really bad with these changes. The Audio Configuration options should be moved to a sub-activity (like Audio Codec configuration). The main "create channel activity" should only contain a minimum set of information. |
|
But when I asked you one time, You told me to Add it to the main activity. Also, Audio codec configuration is devided by tabs, opuce, speeks, speeks vbr etc, but fixed audio volume for all users option is a globel option. So I don't understand what you mean or how you want to desighn this. This pr just adds 3 new controles to channel prop activity. |
enable fixed audio volume for all users and its slider
stream timeout timers
voice stream max duration
media file stream max duration