Fixed crash when PCF is destroyed before MediaStream in ObjC
Bug: webrtc:9231 Change-Id: I04e76172dd0d5ee5e9040e773e63fd4df0c797ce Reviewed-on: https://webrtc-review.googlesource.com/84580 Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Commit-Queue: Kári Helgason <kthelgason@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23699}
This commit is contained in:
committed by
Commit Bot
parent
8b23dba0e5
commit
c806c1d337
@ -26,8 +26,8 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
- (instancetype)initWithFactory:(RTCPeerConnectionFactory *)factory streamId:(NSString *)streamId;
|
||||
|
||||
/** Initialize an RTCMediaStream from a native MediaStreamInterface. */
|
||||
- (instancetype)initWithNativeMediaStream:
|
||||
(rtc::scoped_refptr<webrtc::MediaStreamInterface>)nativeMediaStream;
|
||||
- (instancetype)initWithFactory:(RTCPeerConnectionFactory *)factory
|
||||
nativeMediaStream:(rtc::scoped_refptr<webrtc::MediaStreamInterface>)nativeMediaStream;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user