public Collection<Attribute> encode() { Vector<Attribute> list = new Vector(); list.add(sdpFactory.createAttribute("rtpmap", toSdp())); if (getEncoding().equalsIgnoreCase("telephone-event")) { list.add(sdpFactory.createAttribute("fmtp", payloadType + " 0-15")); } else if (getEncoding().equalsIgnoreCase("g729")) { list.add(sdpFactory.createAttribute("fmtp", payloadType + " annex=b")); } return list; }
public Collection<Attribute> encode() { Vector<Attribute> list = new Vector(); list.add(sdpFactory.createAttribute("rtpmap", toSdp())); if (getEncoding().equalsIgnoreCase("telephone-event")) { list.add(sdpFactory.createAttribute("fmtp", payloadType + " 0-15")); } else if (getEncoding().equalsIgnoreCase("g729")) { list.add(sdpFactory.createAttribute("fmtp", payloadType + " annex=b")); } return list; }
public Collection<Attribute> encode() { ArrayList<Attribute> list = new ArrayList(); if (this.getEncoding().equals(VideoFormat.H261)) { list.add(sdpFactory.createAttribute("rtpmap", rtpmap())); } return list; } }
public Collection<Attribute> encode() { ArrayList<Attribute> list = new ArrayList(); if (this.getEncoding().equals(VideoFormat.H261)) { list.add(sdpFactory.createAttribute("rtpmap", rtpmap())); } return list; } }
sdpFactory.createAttribute(END_OF_CANDIDATES, null)); trickleUpdate.add(0, sdpFactory.createAttribute(MID, streamName));
sessionAttributes.add(sdpFactory.createAttribute(ICE_UFRAG, uFrag)); sessionAttributes.add(sdpFactory.createAttribute(ICE_PWD, pwd));
if (f.equalsIgnoreCase("AMR")) { Vector<Attribute> attributes = ((MediaDescription)sdp.getMediaDescriptions(false).get(0)).getAttributes(false); attributes.add(sdpFactory.createAttribute("rtpmap", "99 AMR/8000"));
if (f.equalsIgnoreCase("AMR")) { Vector<Attribute> attributes = ((MediaDescription)sdp.getMediaDescriptions(false).get(0)).getAttributes(false); attributes.add(sdpFactory.createAttribute("rtpmap", "99 AMR/8000"));
sdpFactory.createAttribute(ICE_OPTIONS, allOptions));