Comments (2)
The problem is down to how any task without a live connection is demoted from Live to Idle. This is expected and correct, and serves the dual function of pausing present tracks. However, we then trigger promotions using the following check on messages sent to the Mixer
:
songbird/src/driver/tasks/message/mixer.rs
Lines 42 to 46 in 1b98c30
The new connection is filled in using MixerMessage::SetConn
, which will not trigger promotion. However, when fixing this we need to take extra care with SetConn
to restore the forwarding task if no promotion occurs, and we need to take care that no messages are lost on the main channel.
from songbird.
Closed by #222.
from songbird.
Related Issues (20)
- How to get mutable state for buffer? HOT 1
- `join` method returns Err but connecting to voice channel is successful HOT 7
- Passing in `Opus` encoded audio to `play_source` for passthrough to discord only works if the audio is under 1432 bytes. HOT 5
- How to make Queue Event HOT 1
- How to play/load audio source from base64 HOT 1
- Get songbird instance from external api call HOT 1
- I have tried to work with poise but can't get it to work.
- add custom arg for ffmpeg HOT 5
- thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: Ws(Json(Error("invalid value: integer `18`, expected opcode in [0--9] + [12--13]", line: 1, column: 8)))', src\main.rs:159:218 HOT 4
- Possible memory leak in Serenity 0.12 and Songbird 0.4. HOT 4
- ChildContainers has no audio output HOT 1
- Get aux_metadata from a TrackHandle HOT 2
- The track ends sooner than expected HOT 1
- Event on User join HOT 1
- No voice join event for users HOT 2
- Getting an invalid opcode when attempting to play audio HOT 2
- ogg/vorbis playback fails due to invalid modulo if source_packet.frames() returns 0 HOT 1
- Potential bug when writing to `opus_slot` in `mix_symph_indiv` for Opus Passthrough. HOT 10
- Loops stop working after stopping or playing audio over another HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from songbird.