*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
[o_misc_lbl setTitle: _NS("Stream Announcing")];
[o_sap_chkbox setTitle: _NS("SAP announce")];
- [o_slp_chkbox setTitle: _NS("SLP announce")];
[o_rtsp_chkbox setTitle: _NS("RTSP announce")];
[o_http_chkbox setTitle:_NS("HTTP announce")];
[o_file_chkbox setTitle:_NS("Export SDP as file")];
o_mode = [[o_method selectedCell] title];
[o_sap_chkbox setEnabled: NO];
- [o_slp_chkbox setEnabled: NO];
[o_http_chkbox setEnabled: NO];
[o_rtsp_chkbox setEnabled: NO];
[o_file_chkbox setEnabled: NO];
[[o_mux_selector itemAtIndex: 7] setEnabled: NO];
[[o_mux_selector itemAtIndex: 8] setEnabled: YES];
[o_sap_chkbox setEnabled: YES];
- [o_slp_chkbox setEnabled: YES];
[o_channel_name setEnabled: YES];
}
else if( [o_mode isEqualToString: @"RTP"] )
[[o_mux_selector itemAtIndex: 8] setEnabled: YES];
[o_mux_selector selectItemAtIndex: 8];
[o_sap_chkbox setEnabled: YES];
- [o_slp_chkbox setEnabled: NO];
[o_rtsp_chkbox setEnabled: YES];
[o_http_chkbox setEnabled: YES];
[o_file_chkbox setEnabled: YES];
else
{
[o_mrl_string appendFormat:
- @"std{access=file,mux=%@,url=\"%@\"}",
+ @"std{access=file,mux=%@,dst=\"%@\"}",
o_mux_string, [o_file_field stringValue]];
}
}
else
[o_announce appendFormat:@",sap"];
}
- if( [o_slp_chkbox state] == NSOnState )
- {
- if ( ![[o_channel_name stringValue] isEqualToString: @""] )
- [o_announce appendFormat:@
- "slp,name=%@",[o_channel_name stringValue]];
- else
- [o_announce appendString: @",slp"];
- }
}
if ( ![o_mode isEqualToString: @"RTP"] )
{
}
[o_mrl_string appendFormat:
- @"std{access=%@,mux=%@,url=%@%@}",
+ @"std{access=%@,mux=%@,dst=%@%@}",
o_mode, o_mux_string, o_finalStreamAddress, o_announce];
}
else
o_transcode_string = [NSMutableString stringWithString:@"transcode{"];
if ( [o_transcode_video_chkbox state] == NSOnState )
{
- [o_transcode_string appendFormat: @"vcodec=\"%@\",vb=\"%@\""
+ [o_transcode_string appendFormat: @"vcodec=\"%@\",vb=\"%@\"" \
",scale=\"%@\"",
[o_transcode_video_selector titleOfSelectedItem],
[o_transcode_video_bitrate stringValue],
{
NSString *o_mode;
o_mode = [[o_stream_type selectedCell] title];
- [o_channel_name setEnabled: [o_sap_chkbox state] || [o_slp_chkbox state]
- || [o_mode isEqualToString: @"RTP"]];
+ [o_channel_name setEnabled: [o_sap_chkbox state] ||
+ [o_mode isEqualToString: @"RTP"]];
if ([o_mode isEqualToString: @"RTP"])
{