File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -169,10 +169,12 @@ impl API {
169
169
. await
170
170
}
171
171
172
+ /// Returns the internal [`SettingEngine`].
172
173
pub fn setting_engine ( & self ) -> Arc < SettingEngine > {
173
174
Arc :: clone ( & self . setting_engine )
174
175
}
175
176
177
+ /// Returns the internal [`MediaEngine`].
176
178
pub fn media_engine ( & self ) -> Arc < MediaEngine > {
177
179
Arc :: clone ( & self . media_engine )
178
180
}
Original file line number Diff line number Diff line change @@ -2074,10 +2074,12 @@ impl RTCPeerConnection {
2074
2074
gathering_complete_rx
2075
2075
}
2076
2076
2077
+ /// Returns the internal [`RTCDtlsTransport`].
2077
2078
pub fn dtls_transport ( & self ) -> Arc < RTCDtlsTransport > {
2078
2079
Arc :: clone ( & self . internal . dtls_transport )
2079
2080
}
2080
2081
2082
+ /// Adds the specified [`RTCRtpTransceiver`] to this [`RTCPeerConnection`].
2081
2083
pub async fn add_transceiver ( & self , t : Arc < RTCRtpTransceiver > ) {
2082
2084
self . internal . add_rtp_transceiver ( t) . await
2083
2085
}
You can’t perform that action at this time.
0 commit comments