Skip to content

Commit

Permalink
fix some error
Browse files Browse the repository at this point in the history
  • Loading branch information
BenLocal committed Jan 3, 2025
1 parent 8d6b2f1 commit 7ffa4cf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: sudo apt install -y clang libavcodec-dev libavformat-dev libavutil-dev pkg-config
run: sudo apt install -y clang libavcodec-dev libavformat-dev libavutil-dev pkg-config libsrtp2
- name: Build
run: cargo build -vv
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ Cargo.lock
# Added by cargo

/target

.cargo/config.toml
4 changes: 3 additions & 1 deletion rszlm-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,9 @@ fn find_libsrtp2() {
.statik(is_static())
.probe("libsrtp2")
{
println!("find libsrtp2 from pkg_config");
println!(
"find libsrtp2 from pkg_config, if you want to use webrtc, please install libsrtp2"
);
} else {
build_srtp();
// check srtp build result
Expand Down
2 changes: 1 addition & 1 deletion src/player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::collections::HashMap;

use rszlm_sys::*;

use crate::{box_to_mut_void_ptr, const_ptr_to_string, const_str_to_ptr};
use crate::{box_to_mut_void_ptr, const_ptr_to_string, const_str_to_ptr, init::EnvIni};

pub struct ProxyPlayer(mk_proxy_player);

Expand Down

0 comments on commit 7ffa4cf

Please sign in to comment.