-
-
Notifications
You must be signed in to change notification settings - Fork 110
Conversation
Codecov Report
@@ Coverage Diff @@
## main #161 +/- ##
==========================================
- Coverage 73.84% 73.67% -0.17%
==========================================
Files 21 21
Lines 906 927 +21
Branches 221 229 +8
==========================================
+ Hits 669 683 +14
- Misses 235 242 +7
Partials 2 2
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I'm generally happy with this PR - I like how it doesn't interfere with existing code and instead builds on top as a utility.
However, two thoughts:
- It seemingly only support Ogg opus output from FFmpeg (not all FFmpeg instances will support this, or for users that want inline volume, this is unnecessary)
- No tests - if you could add tests that would be good, otherwise if you really do not want to I can add them once the PR is ready, but either way I think we should have tests here before merging.
Would appreciate if you could figure out a nice way of deciding whether to use Opus or PCM output here, maybe using the existing logic to help decide this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have done everything. It would be great if you make test files and check it's actual use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 imo options like reconnect
, reconnect_time
, seek
should be handled by the users since this api provides arguments
option? Users should have full control over this 😕
I know about this. Options like It will be easier for people who have just shifted from discord voice old module to find
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests have been added. I have included only 2 tests since FFMPEG either convert it to OPUS or PCM according to inLineVolume.
Updating
Thanks, I got my reply for re-review. |
Let's see how much time will it take to merge |
can you merge this? it would be very helpful |
I am going to make another pull request soon. So wait till then. |
Please describe the changes this PR makes and why it should be merged:
Added in-built support for FFMPEG without disturbing createAudioResource function.
Created a whole new function in audio - resource file. [ createFFMPEGResource() ]
Status and versioning classification:
Resolves #143 , #117 , #141 , #124.