提交 f23cc46d authored 作者: Nazar Mokrynskyi's avatar Nazar Mokrynskyi

Remove deprecated method

上级 496701f2
......@@ -9,6 +9,7 @@
* usrsctp snapshot 4e06feb01cadcd127d119486b98a4bd3d64aa1e7.
* wingetopt 1.00.
* `WebRtcServer`: A new class that brings to `WebRtcTransports` the ability to listen on a single UDP/TCP port (PR #834, PR #845).
* Minor API breaking changes
# 0.9.3
......
......@@ -16,7 +16,7 @@ pub use crate::ortc::{
ConsumerRtpParametersError, RtpCapabilitiesError, RtpParametersError, RtpParametersMappingError,
};
use crate::producer::{Producer, ProducerId, ProducerOptions};
use crate::router::{Router, RouterId};
use crate::router::Router;
use crate::rtp_parameters::RtpEncodingParameters;
use crate::worker::{Channel, PayloadChannel, RequestError};
use crate::{ortc, uuid_based_wrapper_type};
......@@ -134,13 +134,6 @@ pub trait Transport: Debug + Send + Sync {
#[must_use]
fn id(&self) -> TransportId;
/// Router id.
#[must_use]
#[deprecated = "Use `router().id()` instead"]
fn router_id(&self) -> RouterId {
self.router().id()
}
/// Router to which transport belongs.
fn router(&self) -> &Router;
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论