Skip to content

Commit 8144153

Browse files
author
yngrtc
committed
remove rtc submodule
1 parent d10edfc commit 8144153

File tree

8 files changed

+14
-26
lines changed

8 files changed

+14
-26
lines changed

.github/workflows/cargo.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222
runs-on: ${{ matrix.os }}
2323
steps:
2424
- uses: actions/checkout@v2
25-
with:
26-
submodules: recursive
2725
- name: Build
2826
run: cargo build --verbose
2927
- name: Run tests
@@ -34,8 +32,6 @@ jobs:
3432
runs-on: ubuntu-latest
3533
steps:
3634
- uses: actions/checkout@v2
37-
with:
38-
submodules: recursive
3935
- uses: actions-rs/toolchain@v1
4036
with:
4137
toolchain: stable

.github/workflows/grcov.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ jobs:
2828
steps:
2929
- name: Checkout source code
3030
uses: actions/checkout@v2
31-
with:
32-
submodules: recursive
3331

3432
- name: Install Rust
3533
uses: actions-rs/toolchain@v1

.github/workflows/tests.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: tests
22

33
on:
44
push:
5-
branches: [master]
5+
branches: [ master ]
66
pull_request:
7-
branches: [master]
7+
branches: [ master ]
88

99
concurrency:
1010
group: ${{ github.workflow }}-${{ github.ref }}
@@ -20,11 +20,9 @@ jobs:
2020
steps:
2121
- name: Checkout code
2222
uses: actions/checkout@v2
23-
with:
24-
submodules: recursive
2523

2624
- name: Build and run chat server and tests in Docker
27-
run: |
25+
run: |
2826
docker build -t chat-server .
2927
docker run -d --name chat-server -p 8080:8080 -p 3478-3495:3478-3495/udp chat-server
3028

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ url = { version = "2", features = [] }
2727
hex = { version = "0.4", features = [] }
2828

2929
# RTC protocols
30-
shared = { path = "rtc/shared" }
31-
sdp = { path = "rtc/sdp" }
32-
stun = { path = "rtc/stun" }
33-
rtp = { path = "rtc/rtp" }
34-
rtcp = { path = "rtc/rtcp" }
35-
srtp = { path = "rtc/srtp" }
36-
dtls = { path = "rtc/dtls" }
37-
sctp = { path = "rtc/sctp" }
38-
data = { path = "rtc/data" }
30+
shared = { version = "0.1", package = "rtc-shared" }
31+
sdp = { version = "0.1", package = "rtc-sdp" }
32+
stun = { version = "0.1", package = "rtc-stun" }
33+
rtp = { version = "0.1", package = "rtc-rtp" }
34+
rtcp = { version = "0.1", package = "rtc-rtcp" }
35+
srtp = { version = "0.1", package = "rtc-srtp" }
36+
dtls = { version = "0.1", package = "rtc-dtls" }
37+
sctp = { version = "0.1", package = "rtc-sctp" }
38+
datachannel = { version = "0.1", package = "rtc-datachannel" }
3939

4040
[dev-dependencies]
4141
# common

rtc

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/description/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ impl RTCRtpHeaderExtension {
7575
}
7676

7777
/// A MediaConfig defines the codecs supported by a PeerConnection, and the
78-
/// configuration of those codecs. A MediaConfig must not be shared between
78+
/// configuration of those codecs. A MediaConfig must not be rtc-shared between
7979
/// PeerConnections.
8080
pub struct MediaConfig {
8181
registry: Registry,

src/handler/data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use crate::messages::{
22
ApplicationMessage, DTLSMessageEvent, DataChannelEvent, DataChannelMessage,
33
DataChannelMessageParams, DataChannelMessageType, MessageEvent, TaggedMessageEvent,
44
};
5-
use data::message::{message_channel_ack::*, message_channel_open::*, message_type::*, *};
5+
use datachannel::message::{message_channel_ack::*, message_channel_open::*, message_type::*, *};
66
use log::{debug, error, warn};
77
use retty::channel::{Handler, InboundContext, InboundHandler, OutboundContext, OutboundHandler};
88
use shared::error::Result;

0 commit comments

Comments
 (0)