iOS: add type to peer connection local streams

BUG=

Review-Url: https://codereview.webrtc.org/2249173002
Cr-Commit-Position: refs/heads/master@{#13825}
This commit is contained in:
vopatop.skam
2016-08-18 14:21:20 -07:00
committed by Commit bot
parent c21560b3e1
commit 96b6b8336a
3 changed files with 4 additions and 3 deletions

View File

@ -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];
}