Minor ObjC header updates.

BUG=

Review URL: https://codereview.webrtc.org/1845133002

Cr-Commit-Position: refs/heads/master@{#12183}
This commit is contained in:
tkchin
2016-03-31 12:08:03 -07:00
committed by Commit bot
parent 4a206a96c1
commit 8b9ca953a4
15 changed files with 122 additions and 66 deletions

View File

@ -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;
}
@end
- (int)channelId {
return _nativeDataChannelInit.id;
}
- (void)setChannelId:(int)channelId {
_nativeDataChannelInit.id = channelId;
}
@end