Home
last modified time | relevance | path

Searched refs:origMLineParts (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/examples/objc/AppRTCDemo/
DARDSDPUtils.m64 NSArray *origMLineParts =
66 if (origMLineParts.count > 3) {
68 [NSMutableArray arrayWithCapacity:origMLineParts.count];
71 [newMLineParts addObject:origMLineParts[origPartIndex++]];
72 [newMLineParts addObject:origMLineParts[origPartIndex++]];
73 [newMLineParts addObject:origMLineParts[origPartIndex++]];
75 for (; origPartIndex < origMLineParts.count; ++origPartIndex) {
76 if (![codecRtpMap isEqualToString:origMLineParts[origPartIndex]]) {
77 [newMLineParts addObject:origMLineParts[origPartIndex]];
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DPeerConnectionClient.java842 String[] origMLineParts = lines[mLineIndex].split(" "); in preferCodec() local
843 if (origMLineParts.length > 3) { in preferCodec()
847 newMLine.append(origMLineParts[origPartIndex++]).append(" "); in preferCodec()
848 newMLine.append(origMLineParts[origPartIndex++]).append(" "); in preferCodec()
849 newMLine.append(origMLineParts[origPartIndex++]).append(" "); in preferCodec()
851 for (; origPartIndex < origMLineParts.length; origPartIndex++) { in preferCodec()
852 if (!origMLineParts[origPartIndex].equals(codecRtpMap)) { in preferCodec()
853 newMLine.append(" ").append(origMLineParts[origPartIndex]); in preferCodec()