Skip to content
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

Allow Lua and Duktape plugins to relay extensions when relaying RTP packets #3162

Merged
merged 1 commit into from
Feb 13, 2023

Conversation

lminiero
Copy link
Member

@lminiero lminiero commented Feb 9, 2023

Since we merged #1884, the Lua and Duktape plugins had basically no RTP extensions support, except for those originated by the core (e.g., mid). In fact, since #1884 required the plugins to explicitly use the .extensions property to carry on specific extensions, and Lua/Duktape didn't use it (simply resetting the struct), this resulted in extension properties passed by media senders to be stripped by the core when relaying packets to receivers. This patch addresses this shortcoming, and ensures we now copy the struct along properly. I've tested this briefly with the audio-level extension in both plugins, and it looks like it's working as expected.

Planning to merge soon, so if you have feedback please do say so.

@lminiero lminiero added the multistream Related to Janus 1.x label Feb 9, 2023
@lminiero
Copy link
Member Author

Merging.

@lminiero lminiero merged commit 51a4c9f into master Feb 13, 2023
@lminiero lminiero deleted the lua-duktape-exts branch February 13, 2023 10:50
lminiero added a commit that referenced this pull request Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multistream Related to Janus 1.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant