Skip to content

Commit

Permalink
remove rtc submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
yngrtc committed Mar 2, 2024
1 parent d10edfc commit 8144153
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 26 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Build
run: cargo build --verbose
- name: Run tests
Expand All @@ -34,8 +32,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/grcov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v2
with:
submodules: recursive

- name: Install Rust
uses: actions-rs/toolchain@v1
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: tests

on:
push:
branches: [master]
branches: [ master ]
pull_request:
branches: [master]
branches: [ master ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -20,11 +20,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive

- name: Build and run chat server and tests in Docker
run: |
run: |
docker build -t chat-server .
docker run -d --name chat-server -p 8080:8080 -p 3478-3495:3478-3495/udp chat-server
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ url = { version = "2", features = [] }
hex = { version = "0.4", features = [] }

# RTC protocols
shared = { path = "rtc/shared" }
sdp = { path = "rtc/sdp" }
stun = { path = "rtc/stun" }
rtp = { path = "rtc/rtp" }
rtcp = { path = "rtc/rtcp" }
srtp = { path = "rtc/srtp" }
dtls = { path = "rtc/dtls" }
sctp = { path = "rtc/sctp" }
data = { path = "rtc/data" }
shared = { version = "0.1", package = "rtc-shared" }
sdp = { version = "0.1", package = "rtc-sdp" }
stun = { version = "0.1", package = "rtc-stun" }
rtp = { version = "0.1", package = "rtc-rtp" }
rtcp = { version = "0.1", package = "rtc-rtcp" }
srtp = { version = "0.1", package = "rtc-srtp" }
dtls = { version = "0.1", package = "rtc-dtls" }
sctp = { version = "0.1", package = "rtc-sctp" }
datachannel = { version = "0.1", package = "rtc-datachannel" }

[dev-dependencies]
# common
Expand Down
1 change: 0 additions & 1 deletion rtc
Submodule rtc deleted from d819c9
2 changes: 1 addition & 1 deletion src/description/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ impl RTCRtpHeaderExtension {
}

/// A MediaConfig defines the codecs supported by a PeerConnection, and the
/// configuration of those codecs. A MediaConfig must not be shared between
/// configuration of those codecs. A MediaConfig must not be rtc-shared between
/// PeerConnections.
pub struct MediaConfig {
registry: Registry,
Expand Down
2 changes: 1 addition & 1 deletion src/handler/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::messages::{
ApplicationMessage, DTLSMessageEvent, DataChannelEvent, DataChannelMessage,
DataChannelMessageParams, DataChannelMessageType, MessageEvent, TaggedMessageEvent,
};
use data::message::{message_channel_ack::*, message_channel_open::*, message_type::*, *};
use datachannel::message::{message_channel_ack::*, message_channel_open::*, message_type::*, *};
use log::{debug, error, warn};
use retty::channel::{Handler, InboundContext, InboundHandler, OutboundContext, OutboundHandler};
use shared::error::Result;
Expand Down

0 comments on commit 8144153

Please sign in to comment.