Commit 4f6cc614 authored by Benjamin Pracht's avatar Benjamin Pracht

* all :

  - Get rid of the old TS over RTP stream output method in OSX interface
  - ab= and vb= parameters are now (hopefully) always updated
parent a69c9d8f
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>IBDocumentLocation</key> <key>IBDocumentLocation</key>
<string>539 187 505 517 0 0 1024 746 </string> <string>514 222 505 517 0 0 1024 746 </string>
<key>IBEditorPositions</key> <key>IBEditorPositions</key>
<dict> <dict>
<key>1617</key> <key>1617</key>
...@@ -14,17 +14,16 @@ ...@@ -14,17 +14,16 @@
<string>54 452 185 199 0 0 1024 746 </string> <string>54 452 185 199 0 0 1024 746 </string>
</dict> </dict>
<key>IBFramework Version</key> <key>IBFramework Version</key>
<string>362.0</string> <string>364.0</string>
<key>IBLockedObjects</key> <key>IBLockedObjects</key>
<array> <array>
<integer>1789</integer> <integer>1789</integer>
</array> </array>
<key>IBOpenObjects</key> <key>IBOpenObjects</key>
<array> <array>
<integer>1411</integer> <integer>1617</integer>
<integer>29</integer> <integer>29</integer>
<integer>21</integer> <integer>21</integer>
<integer>1617</integer>
</array> </array>
<key>IBSystem Version</key> <key>IBSystem Version</key>
<string>7H63</string> <string>7H63</string>
......
...@@ -144,7 +144,6 @@ ...@@ -144,7 +144,6 @@
[[o_stream_type itemAtIndex: 1] setTitle: @"MMSH"]; [[o_stream_type itemAtIndex: 1] setTitle: @"MMSH"];
[[o_stream_type itemAtIndex: 2] setTitle: @"UDP"]; [[o_stream_type itemAtIndex: 2] setTitle: @"UDP"];
[[o_stream_type itemAtIndex: 3] setTitle: @"RTP"]; [[o_stream_type itemAtIndex: 3] setTitle: @"RTP"];
[[o_stream_type itemAtIndex: 4] setTitle: @"RTP (New)"];
[o_stream_type_lbl setStringValue: _NS("Type")]; [o_stream_type_lbl setStringValue: _NS("Type")];
[o_mux_lbl setStringValue: _NS("Encapsulation Method")]; [o_mux_lbl setStringValue: _NS("Encapsulation Method")];
...@@ -299,20 +298,6 @@ ...@@ -299,20 +298,6 @@
[o_channel_name setEnabled: YES]; [o_channel_name setEnabled: YES];
} }
else if( [o_mode isEqualToString: @"RTP"] ) else if( [o_mode isEqualToString: @"RTP"] )
{
[o_stream_address setEnabled: YES];
[o_stream_ttl setEnabled: YES];
[o_stream_ttl_stp setEnabled: YES];
[[o_mux_selector itemAtIndex: 1] setEnabled: NO];
[[o_mux_selector itemAtIndex: 2] setEnabled: NO];
[[o_mux_selector itemAtIndex: 3] setEnabled: NO];
[[o_mux_selector itemAtIndex: 4] setEnabled: NO];
[[o_mux_selector itemAtIndex: 5] setEnabled: NO];
[[o_mux_selector itemAtIndex: 6] setEnabled: NO];
[[o_mux_selector itemAtIndex: 7] setEnabled: NO];
[[o_mux_selector itemAtIndex: 8] setEnabled: YES];
}
else if( [o_mode isEqualToString: @"RTP (New)"] )
{ {
[o_stream_address setEnabled: YES]; [o_stream_address setEnabled: YES];
[o_stream_ttl setEnabled: YES]; [o_stream_ttl setEnabled: YES];
...@@ -335,11 +320,11 @@ ...@@ -335,11 +320,11 @@
} }
} }
if( ![[o_mux_selector selectedItem] isEnabled] && ![o_mode isEqualToString: @"RTP (New)"] ) if( ![[o_mux_selector selectedItem] isEnabled] && ![o_mode isEqualToString: @"RTP"] )
{ {
[o_mux_selector selectItemAtIndex: 0]; [o_mux_selector selectItemAtIndex: 0];
} }
else if (![[o_mux_selector selectedItem] isEnabled] && [o_mode isEqualToString: @"RTP (New)"] ) else if (![[o_mux_selector selectedItem] isEnabled] && [o_mode isEqualToString: @"RTP"] )
{ {
[o_mux_selector selectItemAtIndex: 8]; [o_mux_selector selectItemAtIndex: 8];
} }
...@@ -419,10 +404,7 @@ ...@@ -419,10 +404,7 @@
o_announce = [o_announce stringByAppendingString: @",slp"]; o_announce = [o_announce stringByAppendingString: @",slp"];
} }
} }
else if ( [o_mode isEqualToString: @"RTP"] ) if ( ![o_mode isEqualToString: @"RTP"] )
o_mode = @"rtp";
if ( ![o_mode isEqualToString: @"RTP (New)"] )
{ {
[o_mrl_string appendFormat: [o_mrl_string appendFormat:
...@@ -573,7 +555,6 @@ ...@@ -573,7 +555,6 @@
} }
if ( [o_transcode_audio_chkbox state] == NSOnState ) if ( [o_transcode_audio_chkbox state] == NSOnState )
{ {
fprintf(stderr,"%s\n",[[o_transcode_audio_bitrate stringValue] cString]);
[o_transcode_string appendFormat: @"acodec=\"%@\",ab=\"%@\"", [o_transcode_string appendFormat: @"acodec=\"%@\",ab=\"%@\"",
[o_transcode_audio_selector titleOfSelectedItem], [o_transcode_audio_selector titleOfSelectedItem],
[o_transcode_audio_bitrate stringValue]]; [o_transcode_audio_bitrate stringValue]];
...@@ -593,9 +574,9 @@ fprintf(stderr,"%s\n",[[o_transcode_audio_bitrate stringValue] cString]); ...@@ -593,9 +574,9 @@ fprintf(stderr,"%s\n",[[o_transcode_audio_bitrate stringValue] cString]);
NSString *o_mode; NSString *o_mode;
o_mode = [[o_stream_type selectedCell] title]; o_mode = [[o_stream_type selectedCell] title];
[o_channel_name setEnabled: [o_sap_chkbox state] || [o_slp_chkbox state] [o_channel_name setEnabled: [o_sap_chkbox state] || [o_slp_chkbox state]
|| [o_mode isEqualToString: @"RTP (New)"]]; || [o_mode isEqualToString: @"RTP"]];
if ([o_mode isEqualToString: @"RTP (New)"]) if ([o_mode isEqualToString: @"RTP"])
{ {
if ([[sender title] isEqualToString: _NS("SAP announce")]) if ([[sender title] isEqualToString: _NS("SAP announce")])
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment