avstack / jitsi-meet-signalling-c Goto Github PK
View Code? Open in Web Editor NEWC bindings to jitsi-meet-signalling
License: Apache License 2.0
C bindings to jitsi-meet-signalling
License: Apache License 2.0
Hello!
I want to get jitsi meet dll using in unity for windows.
So I downloaded these
jitsi-meet-signalling-c
jitsi-meet-signalling
jitsi-jingle-sdp
gst-meet - for xmpp-parsers
but when I cargo build
command in jitsi-meet-signalling-c, lots of errors has shown me.
OS : Windwos 11
Rust Version : 1.69.0v
Here is the log!
C:\Users\<My Computer Name>\jitsi-meet-signalling-c>cargo build
warning: unused macro definition: `generate_element_enum`
--> C:\Users\<My Computer Name>\gst-meet\jitsi-xmpp-parsers\src\macros.rs:229:14
|
229 | macro_rules! generate_element_enum {
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_macros)]` on by default
warning: unused macro definition: `generate_attribute_enum`
--> C:\Users\<My Computer Name>\gst-meet\jitsi-xmpp-parsers\src\macros.rs:266:14
|
266 | macro_rules! generate_attribute_enum {
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: unused macro definition: `check_ns_only`
--> C:\Users\<My Computer Name>\gst-meet\jitsi-xmpp-parsers\src\macros.rs:316:14
|
316 | macro_rules! check_ns_only {
| ^^^^^^^^^^^^^
warning: unused macro definition: `generate_empty_element`
--> C:\Users\<My Computer Name>\gst-meet\jitsi-xmpp-parsers\src\macros.rs:328:14
|
328 | macro_rules! generate_empty_element {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: unused macro definition: `generate_id`
--> C:\Users\<My Computer Name>\gst-meet\jitsi-xmpp-parsers\src\macros.rs:352:14
|
352 | macro_rules! generate_id {
| ^^^^^^^^^^^
warning: unused macro definition: `generate_elem_id`
--> C:\Users\<My Computer Name>\gst-meet\jitsi-xmpp-parsers\src\macros.rs:372:14
|
372 | macro_rules! generate_elem_id {
| ^^^^^^^^^^^^^^^^
warning: unused macro definition: `impl_pubsub_item`
--> C:\Users\<My Computer Name>\gst-meet\jitsi-xmpp-parsers\src\macros.rs:673:14
|
673 | macro_rules! impl_pubsub_item {
| ^^^^^^^^^^^^^^^^
warning: unused import: `jingle_rtcp_fb::RtcpFb`
--> C:\Users<My Computer Name>\gst-meet\jitsi-xmpp-parsers\src\jingle_rtp.rs:2:3
|
2 | jingle_rtcp_fb::RtcpFb,
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: `jitsi-xmpp-parsers` (lib) generated 8 warnings (run `cargo fix --lib -p jitsi-xmpp-parsers` to apply 1 suggestion)
warning: unused variable: `jingle`
--> C:\Users\<My Computer Name>\jitsi-jingle-sdp\src\lib.rs:677:44
|
677 | fn remove_sources_from_jingle(&mut self, jingle: &Jingle) -> Result<()> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_jingle`
|
= note: `#[warn(unused_variables)]` on by default
warning: `jitsi-jingle-sdp` (lib) generated 1 warning (run `cargo fix --lib -p jitsi-jingle-sdp` to apply 1 suggestion)
Compiling jitsi-meet-signalling v0.1.3 (C:\Users\<My Computer Name>\jitsi-meet-signalling)
error[E0433]: failed to resolve: use of undeclared type `Action`
--> C:\Users\<My Computer Name>\jitsi-meet-signalling\src\conference.rs:236:7
|
236 | Action::SessionAccept,
| ^^^^^^ use of undeclared type `Action`
error[E0433]: failed to resolve: use of undeclared type `Action`
--> C:\Users\<My Computer Name>\jitsi-meet-signalling\src\conference.rs:439:39
|
439 | if jingle.action == Action::SessionInitiate {
| ^^^^^^ use of undeclared type `Action`
error[E0433]: failed to resolve: use of undeclared type `Action`
--> C:\Users\<My Computer Name>\jitsi-meet-signalling\src\conference.rs:479:44
|
479 | else if jingle.action == Action::SessionTerminate {
| ^^^^^^ use of undeclared type `Action`
error[E0433]: failed to resolve: use of undeclared type `Action`
--> C:\Users\<My Computer Name>\jitsi-meet-signalling\src\conference.rs:502:44
|
502 | else if jingle.action == Action::SourceAdd {
| ^^^^^^ use of undeclared type `Action`
error[E0433]: failed to resolve: use of undeclared type `Action`
--> C:\Users\<My Computer Name>\jitsi-meet-signalling\src\conference.rs:525:44
|
525 | else if jingle.action == Action::SourceRemove {
| ^^^^^^ use of undeclared type `Action`
error[E0277]: the trait bound `jitsi_jingle_sdp::Jingle: IqSetPayload` is not satisfied
--> C:\Users\<My Computer Name>\jitsi-meet-signalling\src\conference.rs:243:56
|
243 | let session_accept_iq = Iq::from_set(accept_iq_id, jingle)
| ------------ ^^^^^^ the trait `IqSetPayload` is not implemented for `jitsi_jingle_sdp::Jingle`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `IqSetPayload`:
Append
BindQuery
Block
Destroy
Leave
Prefs
PubSub
PubSubOwner
and 18 others
note: required by a bound in `xmpp_parsers::iq::Iq::from_set`
--> C:\Users\<My Computer Name>\.cargo\git\checkouts\xmpp-rs-3a445189b0f6b2e6\0d03358\parsers\src\iq.rs:84:59
|
84 | pub fn from_set<S: Into<String>>(id: S, payload: impl IqSetPayload) -> Iq {
| ^^^^^^^^^^^^ required by this bound in `Iq::from_set`
error[E0308]: mismatched types
--> C:\Users\<My Computer Name>\jitsi-meet-signalling\src\conference.rs:457:75
|
457 | let offer_sdp = SessionDescription::try_from_jingle(&jingle)?;
| ----------------------------------- ^^^^^^^ expected `jitsi_jingle_sdp::Jingle`, found `Jingle`
| |
| arguments to this function are incorrect
|
= note: `Jingle` and `jitsi_jingle_sdp::Jingle` have similar names, but are actually distinct types
note: `Jingle` is defined in crate `jitsi_xmpp_parsers`
--> C:\Users\<My Computer Name>\gst-meet\jitsi-xmpp-parsers\src\jingle.rs:75:1
|
75 | pub struct Jingle {
| ^^^^^^^^^^^^^^^^^
note: `jitsi_jingle_sdp::Jingle` is defined in crate `jitsi_xmpp_parsers`
--> C:\Users\<My Computer Name>\.cargo\registry\src\github.com-1ecc6299db9ec823\jitsi-xmpp-parsers-0.1.4\src\jingle.rs:78:1
|
78 | pub struct Jingle {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `jitsi_xmpp_parsers` are being used?
note: associated function defined here
--> C:\Users\<My Computer Name>\jitsi-jingle-sdp\src\lib.rs:38:6
|
38 | fn try_from_jingle(jingle: &Jingle) -> Result<SessionDescription>;
| ^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> C:\Users\<My Computer Name>\jitsi-meet-signalling\src\conference.rs:511:57
|
511 | offer_sdp.add_sources_from_jingle(&jingle)?;
| ----------------------- ^^^^^^^ expected `jitsi_jingle_sdp::Jingle`, found `Jingle`
| |
| arguments to this method are incorrect
|
= note: `Jingle` and `jitsi_jingle_sdp::Jingle` have similar names, but are actually distinct types
note: `Jingle` is defined in crate `jitsi_xmpp_parsers`
--> C:\Users\<My Computer Name>\gst-meet\jitsi-xmpp-parsers\src\jingle.rs:75:1
|
75 | pub struct Jingle {
| ^^^^^^^^^^^^^^^^^
note: `jitsi_jingle_sdp::Jingle` is defined in crate `jitsi_xmpp_parsers`
--> C:\Users\<My Computer Name>\.cargo\registry\src\github.com-1ecc6299db9ec823\jitsi-xmpp-parsers-0.1.4\src\jingle.rs:78:1
|
78 | pub struct Jingle {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `jitsi_xmpp_parsers` are being used?
note: method defined here
--> C:\Users\<My Computer Name>\jitsi-jingle-sdp\src\lib.rs:46:6
|
46 | fn add_sources_from_jingle(&mut self, jingle: &Jingle) -> Result<()>;
| ^^^^^^^^^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> C:\Users\<My Computer Name>\jitsi-meet-signalling\src\conference.rs:534:60
|
534 | offer_sdp.remove_sources_from_jingle(&jingle)?;
| -------------------------- ^^^^^^^ expected `jitsi_jingle_sdp::Jingle`, found `Jingle`
| |
| arguments to this method are incorrect
|
= note: `Jingle` and `jitsi_jingle_sdp::Jingle` have similar names, but are actually distinct types
note: `Jingle` is defined in crate `jitsi_xmpp_parsers`
--> C:\Users\<My Computer Name>\gst-meet\jitsi-xmpp-parsers\src\jingle.rs:75:1
|
75 | pub struct Jingle {
| ^^^^^^^^^^^^^^^^^
note: `jitsi_jingle_sdp::Jingle` is defined in crate `jitsi_xmpp_parsers`
--> C:\Users\<My Computer Name>\.cargo\registry\src\github.com-1ecc6299db9ec823\jitsi-xmpp-parsers-0.1.4\src\jingle.rs:78:1
|
78 | pub struct Jingle {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `jitsi_xmpp_parsers` are being used?
note: method defined here
--> C:\Users\<My Computer Name>\jitsi-jingle-sdp\src\lib.rs:47:6
|
47 | fn remove_sources_from_jingle(&mut self, jingle: &Jingle) -> Result<()>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Some errors have detailed explanations: E0277, E0308, E0433.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `jitsi-meet-signalling` due to 9 previous errors
Hi,
I try to build and I get the following error:
error[E0599]: no method named participant
found for struct Conference
in the current scope
--> src\lib.rs:331:29
|
331 | .block_on((*conference).participant())
| ^^^^^^^^^^^ method not found in Conference
Thank you for your time!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.