Skip to content

Commit 833b057

Browse files
committed
docs
1 parent b8a524f commit 833b057

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

webrtc/src/lib.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
//! - Support for Multicast DNS (mDNS)
2121
//! - Interceptors for RTP, RTCP, and DataChannel packets
2222
//!
23-
//! ## Usage
24-
//! ...
25-
//!
2623
//! ## Key Concepts
2724
//!
2825
//! The WebRTC API, as defined by the W3C specification, is composed of a number of
@@ -74,8 +71,8 @@
7471
//! - [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
7572
//! - [MIT License](https://opensource.org/license/mit/)
7673
//!
77-
//! [`RTCConfiguration`]: peer_connection::configuration::RTCConfiguration
78-
//! [`RTCPeerConnection`]: peer_connection::RTCPeerConnection
74+
//! [`RTCConfiguration`]: crate::peer_connection::configuration::RTCConfiguration
75+
//! [`RTCPeerConnection`]: crate::peer_connection::RTCPeerConnection
7976
8077
// re-export sub-crates
8178
pub use {data, dtls, ice, interceptor, mdns, media, rtcp, rtp, sctp, sdp, srtp, stun, turn, util};

webrtc/src/peer_connection/peer_connection_state.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
use std::fmt;
22

3-
/// PeerConnectionState indicates the state of the PeerConnection.
3+
/// Indicates the state of the [`RTCPeerConnection`].
4+
///
5+
/// [`RTCPeerConnection`]: crate::peer_connection::RTCPeerConnection
46
#[derive(Default, Debug, Copy, Clone, PartialEq, Eq)]
57
pub enum RTCPeerConnectionState {
68
#[default]

webrtc/src/peer_connection/policy/rtcp_mux_policy.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ pub enum RTCRtcpMuxPolicy {
99
#[default]
1010
Unspecified = 0,
1111

12-
/// RTCPMuxPolicyNegotiate indicates to gather ICE candidates for both
12+
/// Gather ICE candidates for both
1313
/// RTP and RTCP candidates. If the remote-endpoint is capable of
1414
/// multiplexing RTCP, multiplex RTCP on the RTP candidates. If it is not,
1515
/// use both the RTP and RTCP candidates separately.
1616
#[serde(rename = "negotiate")]
1717
Negotiate = 1,
1818

19-
/// RTCPMuxPolicyRequire indicates to gather ICE candidates only for
19+
/// Gather ICE candidates only for
2020
/// RTP and multiplex RTCP on the RTP candidates. If the remote endpoint is
2121
/// not capable of rtcp-mux, session negotiation will fail.
2222
#[serde(rename = "require")]

0 commit comments

Comments
 (0)