-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
flatbuffers #1064
flatbuffers #1064
Conversation
@jmillan this branch uses NPM I'm merging |
# Conflicts: # worker/Makefile
Done and pushed. |
# Conflicts: # worker/src/RTC/RtpStream.cpp
# Conflicts: # .github/workflows/mediasoup-node.yaml # .gitignore # CHANGELOG.md # npm-scripts.js # worker/src/lib.cpp
# Conflicts: # CHANGELOG.md # npm-scripts.mjs # package.json
# Conflicts: # npm-scripts.mjs
Questions. Sometimes I see this: if (flatbuffers::IsFieldPresent(options->listenInfo(), FBS::Transport::ListenInfo::VT_ANNOUNCEDIP)) and sometimes I see this (which is way nicer): if (body->port().has_value())
{
port = body->port().value();
} I'd love if the latter could be used everywhere, no idea if possible. |
I may be crazy but |
Already thown by flatbuffers.
Removed explicit |
# Conflicts: # CHANGELOG.md
# Conflicts: # CHANGELOG.md
# Conflicts: # CHANGELOG.md
…iled files (#1198) - Instead of writing into all transpiled JS files in `node/lib/`, read `package.json` just once in launch time and read "version" from it. - I'm not happy with this, not sure if better than before. But clearly we are gonna remove this useless `mediasoup.version` public getter in v4.
@jmillan @nazar-pc, the most important missing piece here is:
So I'd like to discuss about this. ProblemCurrently, as soon as we change/add/delete any file in
Questions
|
|
|
Neither and both. We will no longer ship
I believe we do not, we can just suppress warnings on the whole module. Basically we will have |
FBS: Simplify Data[Consumer|Producer] send messages For some reason we were not sending everything as binary in this branch.
Update Cargo.lock which was missing.
Compile flatbuffers for Rust in build.rs
FBS: Remove unneeded message type member It's not needed since the body contained in the message is aleady typed.
I'm writing all missing docs in versatica/mediasoup-website#50 |
Do not put there anything that it's not related to the project (such as files autogenerated by project tasks/scripts). Everything else (`.vscode`, `.idea`, `.DS_Store`, etc) can be individually added to our local `.git/info/exclude` file).
@jmillan I'm marking this PR as ready. |
* FBS: Node, Fix RtpParameters Always pass encodings, header extensions and rtcp.
It makes it complain for every log or assert macro.
- Do not call `cleanWorkerArtifacts()` in `flatcNode()`. No reason for that plus it is bypassing the `MEDIASOUP_LOCAL_DEV` env purpose. - Use more readable object arguments.
Do not process handshake if there is no remote fingerprint.
WIP to remove JSON in favour of flatbuffers for as the worker communication format.
Extras that come along with this changes:
memcpy
that are not executed now.TODO: flatbuffers related
TODO: flatbuffers unrealed. Changes made in flatbuffer branch, not present in v3
TransportListenInfo
in the website (PR [flatbuffers] Add ListenInfo in all transports and send/recv buffer size options #1084).rtcpListenInfo
inPlainTransportOptions
once PR PlainTransportOptions: add optional rtcpListenInfo #1099 is merged here.DataProducer
andDataConsumer
(PR [flatbuffers] Add pause() and resume() in DataProducer and DataConsumer #1104):pause()
andresume()
inDataProducer
andDataConsumer
.paused
getter inDataProducer
andDataConsumer
.dataproducerpause
anddataproducerresume
events inDataConsumer
.pause
andresume
events inDataProducer.observer
andDataConsumer.observer
.paused?: boolean
intransport.consumeData()
andtransport.produceData()
.