-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added raw packets for realtime encode/decode #221
base: master
Are you sure you want to change the base?
Conversation
@dioptre Thanks for the pull request. Just curious what is the use case for opus encoded audio without a container? |
Fast efficient real-time streaming working like a charm. I don't have time to write unit tests this week. Thanks |
just my 2 cents. encoderWorker.min.js:1 Uncaught ReferenceError: postMessage is not defined i think in segmentPacket function you can't invoke postMessage(). need change upper IF to be aware that inrementing framesInPage variable without resetting will lead to overflow. so i added reset |
digging little deeper in source i found better (and working!) solution. (I need RAW opus frames. each frame is distinct byteArray element inserted into another byteArray) patching needed only in 3 functions: encode, flush, encodeFinalFrame (encoderWorker.js). This won't touch 'hot' path functions that deal with Ogg packing. |
I need this solution too.. |
how we would contact? |
The solution you have is good but doesn't work with decoding ogg frames, so
how about you add encodeRaw etc.
…On Wed, Feb 10, 2021, 02:21 dUkk ***@***.***> wrote:
@pitonoved <https://github.com/pitonoved>
I need this solution too..
how we would contact?
Original Author does not communicate what should i do (post here changed
lines in original code or pull another request)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#221 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFZTGFH4FEWCILXJTWUCHDS6JM2XANCNFSM4SL4DXYA>
.
|
Do we still have this solution? |
No description provided.