Skip to content

Update to janus 0.13.0 #5

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

Merged
merged 3 commits into from
Oct 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ RUN git clone https://github.com/sctplab/usrsctp.git && \
cd / && rm -rf usrsctp


# 2022-02-18 15:38 24ec58f4e9b16557f27b15b7a6afa23abbf39c45 (post v0.11.8 from 0.x branch)
# 2022-10-21 15:02 7b6bcdcdbe02dd05932d778592f4c03604a83684 (post v0.13.0 from 0.x branch)
RUN git clone -b 0.x https://github.com/meetecho/janus-gateway.git && \
cd janus-gateway && \
git checkout 24ec58f4e9b16557f27b15b7a6afa23abbf39c45 && \
git checkout 7b6bcdcdbe02dd05932d778592f4c03604a83684 && \
sh autogen.sh && \
CFLAGS="${CFLAGS} -fno-omit-frame-pointer" ./configure --prefix=/usr --disable-all-plugins --disable-all-handlers && \
make && make install && make configs && \
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ fn send_fir<T: IntoIterator<Item = U>, U: AsRef<Session>>(publishers: T) {
let mut packet = PluginRtcpPacket {
video: 1,
buffer: fir.as_mut_ptr(),
length: fir.len() as i16,
length: fir.len() as u16,
};
relay_rtcp(publisher.as_ref().as_ptr(), &mut packet);
}
Expand Down Expand Up @@ -796,7 +796,7 @@ extern "C" fn handle_admin_message(_message: *mut RawJanssonValue) -> *mut RawJa

static PLUGIN: Plugin = build_plugin!(
LibraryMetadata {
api_version: 16,
api_version: 17,
version: 1,
name: c_str!("Janus SFU plugin"),
package: c_str!("janus.plugin.sfu"),
Expand Down