Lines Matching defs:format
70 mFields.parse(String.format(Locale.US, "o=- %d %d %s", sessionId,
97 for (String format : parts[3].split(" ")) {
98 media.setFormat(format, null);
288 * Returns the {@code fmtp} attribute of the given format or
291 public String getFmtp(String format) {
292 return super.get("a=fmtp:" + format, ' ');
296 * Sets a format and its {@code fmtp} attribute. If the attribute is
299 public void setFormat(String format, String fmtp) {
300 mFormats.remove(format);
301 mFormats.add(format);
302 super.set("a=rtpmap:" + format, ' ', null);
303 super.set("a=fmtp:" + format, ' ', fmtp);
307 * Removes a format and its {@code fmtp} attribute.
309 public void removeFormat(String format) {
310 mFormats.remove(format);
311 super.set("a=rtpmap:" + format, ' ', null);
312 super.set("a=fmtp:" + format, ' ', null);
321 for (String format : mFormats) {
323 types[length] = Integer.parseInt(format);
353 String format = String.valueOf(type);
354 mFormats.remove(format);
355 mFormats.add(format);
356 super.set("a=rtpmap:" + format, ' ', rtpmap);
357 super.set("a=fmtp:" + format, ' ', fmtp);
374 for (String format : mFormats) {
375 buffer.append(' ').append(format);