@@ -137,6 +137,9 @@ public class SessionDescription {
attributeMap.put("msid-semantic", " WMS my-media-stream");
for (Map.Entry<String, RtpContentMap.DescriptionTransport> entry : contentMap.contents.entrySet()) {
+
+ //TODO sprinkle in a few noWhiteSpaces checks into various parameters and types
+
final String name = entry.getKey();
RtpContentMap.DescriptionTransport descriptionTransport = entry.getValue();
RtpDescription description = descriptionTransport.description;
@@ -145,10 +145,7 @@ public class RtpDescription extends GenericDescription {
public int getValue() {
final String value = getAttribute("value");
- if (value == null) {- return 0;- }- return SessionDescription.ignorantIntParser(value);
+ return Integer.parseInt(value);
}