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

Feat webrtc sdk #283

Merged
merged 49 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
c839932
feat: allow connect from sdk with sender and receiver
giangndm May 5, 2024
2655856
feat: webrtc-sdk send server event to client
giangndm May 5, 2024
a63b843
WIP: handling client event
giangndm May 5, 2024
ae02391
WIP: allow simple attach remote stream from sdk
giangndm May 6, 2024
94774bd
feat: remove stun-rs, reuse str0m in stun parse
giangndm May 6, 2024
39bb099
fix typos
giangndm May 6, 2024
0a4e424
feat: join fast and lazy
giangndm May 6, 2024
832b592
fix: wrong output order in endpoint logic. TODO: refactor with easier…
giangndm May 6, 2024
056844b
refactor: update with new sans-io-runtime for simpler data flow. now …
giangndm May 10, 2024
8e46c39
fixed typos
giangndm May 10, 2024
3d51bbf
feat: allow dynamic update sdp and create sender, receiver
giangndm May 10, 2024
bbce4b0
add more log when track control not found
giangndm May 10, 2024
51ef7d7
feat: dynamic atach-detach remote source
giangndm May 10, 2024
c4ab5af
add test TODO
giangndm May 10, 2024
27a28fb
refactor webrtc sdk handle rpc
giangndm May 10, 2024
eecefcd
feat: config local track limit layer
giangndm May 11, 2024
d9d724e
feat: allow config limit layer in local track
giangndm May 11, 2024
9b28d58
feat: more info for track joined and leave event
giangndm May 13, 2024
adb9f7f
switch default BitrateControlMode to DynamicConsumers
giangndm May 13, 2024
5d0fad7
allow config remote stream on-air
giangndm May 13, 2024
5c88a60
update protobuf to v3 and fix remote bitrate control with max-bitrate…
giangndm May 13, 2024
318b858
remove remote track after stop
giangndm May 14, 2024
e7819f7
use default MediaLayersBitrate when it not-set for speeding up video …
giangndm May 14, 2024
46c2607
remove remote track when detach
giangndm May 14, 2024
7205fe7
reduce log
giangndm May 14, 2024
7caccff
simpify bwe_state
giangndm May 14, 2024
32aede0
allow restart-ice
giangndm May 14, 2024
936863a
fix warns
giangndm May 14, 2024
3ab3210
fix warns
giangndm May 14, 2024
466009b
fix warns
giangndm May 14, 2024
2e0aca4
auto detect local ip
giangndm May 14, 2024
2c8d45a
fixing build proto3 with optional
giangndm May 14, 2024
43b3219
switched to auto install protoc instead of manual by apt-get
giangndm May 14, 2024
2013c11
add GITHUB_TOKEN to Install Protoc actions for avoiding Rate limit
giangndm May 14, 2024
89d969b
restore protobuf build script for adapting with new protoc version
giangndm May 14, 2024
5d01aaf
add GITHUB_TOKEN to Install Protoc actions for avoiding Rate limit
giangndm May 14, 2024
3d03dc3
fixing build protobuf in github release actions
giangndm May 14, 2024
923a8b4
fixing build protobuf in github release actions
giangndm May 14, 2024
22e86ea
fixing build protobuf in github ci actions
giangndm May 14, 2024
98a07bd
fixing build protobuf in github ci actions
giangndm May 14, 2024
cbeece0
update protobuf and fix cluster mode
giangndm May 15, 2024
cf87ffb
fix: reduce interval in sdn for reducing cpu
giangndm May 15, 2024
716d16e
update sdn for fixing pubsub error
giangndm May 15, 2024
7dc4d1c
two nodes run script
giangndm May 16, 2024
9fc3dc6
feat: webrtc sdk with remote-ice api
giangndm May 16, 2024
61b2dc8
fix: missing handle request key-frame in sdk
giangndm May 16, 2024
9f7ac74
feat: webrtc sdk sender state event
giangndm May 20, 2024
40a73bb
feat: local track emit event
giangndm May 21, 2024
516759b
feat: create new session if ice-restart request with not exists conn_id
giangndm May 21, 2024
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
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ${{ matrix.os }}
env:
RUST_BACKTRACE: 1

strategy:
matrix:
build:
Expand Down Expand Up @@ -151,11 +151,7 @@ jobs:

- name: Install dev-tools
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y --no-install-recommends pkg-config musl-dev musl-tools protobuf-compiler

- name: Install mac dev-tools
if: matrix.os == 'macos-latest'
run: brew install protobuf
run: sudo apt-get install -y --no-install-recommends pkg-config musl-dev musl-tools

- name: Patch some libs
run: |
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,14 @@ jobs:
- name: Install deps
run: |
sudo apt-get update
sudo apt install -y libsoxr-dev libopus-dev libssl-dev libfdk-aac-dev protobuf-compiler
sudo apt install -y libsoxr-dev libopus-dev libssl-dev libfdk-aac-dev
- name: Install Rust
run: rustup update stable
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
version: "25.1"
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Running cargo test
Expand Down
Loading
Loading