tinguy1 / T1Nstereo

best stereo plugin for better discord
Apache License 2.0
5 stars 2 forks source link

rtc connecting #1

Open Bruhmomenthahlal opened 6 months ago

Bruhmomenthahlal commented 6 months ago

I have everything I need for the plugin to work and every time I join a vc it says rtc connecting then says in connected from a different location or my discord crashes

thehero6965 commented 5 months ago

UPDATE:

https://github.com/thehero6965/T1Nstereohotfix05212024/blob/main/T1Nstereo.plugin.js posted it because yea

I looked into it myself, you need to dash out lines 741-743 in the T1Nstereo javascript plugin. This will disable bitrate min/max. e.g: (Lines are bolded for reference.)

if (tin.encodingVideoBitRate) {
                tin.encodingVideoBitRate = videobitrate
              } //made by tinguy1 on github dont steal pussy
              tin3.bitrateMin = streambitrate
              tin3.bitrateMax = streambitrate
              tin3.bitrateTarget = streambitrate
              //made by tinguy1 on github dont steal pussy
              if (tin.streamParameters) {
                tin.streamParameters[0].maxBitrate = streambitrate
              } //made by tinguy1 on github dont steal pussy

these lines-

              //tin3.bitrateMin = streambitrate
              //tin3.bitrateMax = streambitrate
              //tin3.bitrateTarget = streambitrate

these are going to need to be dashed out (with //). Tested the stereo functions, they still work. although the quality might differ. Hopefully that fixes it temporarily and the guy returns.