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

Unified Diff: webrtc/api/objc/RTCDataChannelConfiguration.mm

Issue 1845133002: Minor ObjC header updates. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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 | « webrtc/api/objc/RTCDataChannelConfiguration.h ('k') | webrtc/api/objc/RTCVideoFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/objc/RTCDataChannelConfiguration.mm
diff --git a/webrtc/api/objc/RTCDataChannelConfiguration.mm b/webrtc/api/objc/RTCDataChannelConfiguration.mm
index 77de4eeb6790741bdda5a675e40fadc8e0712bb2..4a1dcb061c84ddb4ec205080ef8e166d7005ad26 100644
--- a/webrtc/api/objc/RTCDataChannelConfiguration.mm
+++ b/webrtc/api/objc/RTCDataChannelConfiguration.mm
@@ -25,6 +25,14 @@
_nativeDataChannelInit.ordered = isOrdered;
}
+- (NSInteger)maxRetransmitTimeMs {
+ return self.maxPacketLifeTime;
+}
+
+- (void)setMaxRetransmitTimeMs:(NSInteger)maxRetransmitTimeMs {
+ self.maxPacketLifeTime = maxRetransmitTimeMs;
+}
+
- (int)maxPacketLifeTime {
return _nativeDataChannelInit.maxRetransmitTime;
}
@@ -58,11 +66,19 @@
}
- (int)streamId {
- return _nativeDataChannelInit.id;
+ return self.channelId;
}
- (void)setStreamId:(int)streamId {
- _nativeDataChannelInit.id = streamId;
+ self.channelId = streamId;
+}
+
+- (int)channelId {
+ return _nativeDataChannelInit.id;
+}
+
+- (void)setChannelId:(int)channelId {
+ _nativeDataChannelInit.id = channelId;
}
-@end
+@end
« no previous file with comments | « webrtc/api/objc/RTCDataChannelConfiguration.h ('k') | webrtc/api/objc/RTCVideoFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698