Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5263e57

Browse filesBrowse files
committed
fix wrapping of ice transport in dtls transport Python wrapper
1 parent 7c8492a commit 5263e57
Copy full SHA for 5263e57

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Open diff view settings
Collapse file

‎python-webrtc/python/webrtc/interfaces/rtc_dtls_transport.py‎

Copy file name to clipboardExpand all lines: python-webrtc/python/webrtc/interfaces/rtc_dtls_transport.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ class RTCDtlsTransport(WebRTCObject):
2323
@property
2424
def ice_transport(self) -> 'webrtc.RTCIceTransport':
2525
""":obj:`webrtc.RTCIceTransport`: Returns a reference to the underlying :obj:`webrtc.RTCIceTransport` object."""
26-
return self._native_obj.iceTransport
26+
from webrtc import RTCIceTransport
27+
28+
return RTCIceTransport._wrap(self._native_obj.iceTransport)
2729

2830
@property
2931
def state(self) -> 'webrtc.DtlsTransportState':

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.