Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Unified Diff: webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm

Issue 2249173002: iOS: add type to peer connection local streams (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: fix codestyle Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « AUTHORS ('k') | webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm
diff --git a/webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm b/webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm
index 428eb2496f5cceaad1e754b8bb19197de19c1005..0af400ba1a652f6c61a5a39b23a8493a3c6e7f36 100644
--- a/webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm
+++ b/webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm
@@ -204,7 +204,7 @@ void PeerConnectionDelegateAdapter::OnIceCandidatesRemoved(
@implementation RTCPeerConnection {
- NSMutableArray *_localStreams;
+ NSMutableArray<RTCMediaStream *> *_localStreams;
std::unique_ptr<webrtc::PeerConnectionDelegateAdapter> _observer;
rtc::scoped_refptr<webrtc::PeerConnectionInterface> _peerConnection;
BOOL _hasStartedRtcEventLog;
@@ -241,7 +241,7 @@ void PeerConnectionDelegateAdapter::OnIceCandidatesRemoved(
return self;
}
-- (NSArray *)localStreams {
+- (NSArray<RTCMediaStream *> *)localStreams {
return [_localStreams copy];
}
« no previous file with comments | « AUTHORS ('k') | webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698