lib/sdp/session_template.erb in sdp-0.1.0 vs lib/sdp/session_template.erb in sdp-0.2.0
- old
+ new
@@ -12,10 +12,12 @@
e=<%= email_address %>
<% end %>
<% if phone_number %>
p=<%= phone_number %>
<% end %>
-c=<%= network_type %> <%= address_type %> <%= connection_address %>
+<% if connection_network_type %>
+c=<%= connection_network_type %> <%= connection_address_type %> <%= connection_address %>
+<% end %>
<% if bandwidth %>
b=<%= bandwidth_type %>:<%= bandwidth %>
<% end %>
t=<%= start_time %> <%= stop_time %>
<% if repeat_interval %>