webrtc-rs / webrtc

A pure Rust implementation of WebRTC
https://webrtc.rs
Apache License 2.0
4.08k stars 363 forks source link

Build failure without minor/major upgrade #537

Closed tedsteen closed 7 months ago

tedsteen commented 7 months ago

Started getting these since yesterday without a minor or major upgrade of webrtc.

error[E0308]: mismatched types
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/webrtc-0.9.0/src/rtp_transceiver/rtp_receiver/mod.rs:309:35
    |
309 |                         return Ok(result);
    |                                -- ^^^^^^ expected `rtp::packet::Packet`, found a different `rtp::packet::Packet`
    |                                |
    |                                arguments to this enum variant are incorrect
    |
    = note: `rtp::packet::Packet` and `rtp::packet::Packet` have similar names, but are actually distinct types

https://github.com/tedsteen/nes-bundler/actions/runs/8020193443/job/21909740302

rainliu commented 7 months ago

sorry for this.

I just yanked webrtc-srtp v0.11.1 and upgrade major version to v0.12.0 and yanked interceptor v0.10.1 and upgrade major version to v0.11.0

rainliu commented 7 months ago

@tedsteen , could you try it again?

tedsteen commented 7 months ago

@tedsteen , could you try it again?

It works now! Thanks!