Commit 81c65a65 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* adapted the wizard to use the RTP stream out module instead of the removed...

* adapted the wizard to use the RTP stream out module instead of the removed RTP access out. Please check the other interfaces...
parent b1a9a82e
...@@ -1525,28 +1525,56 @@ static VLCWizard *_o_sharedInstance = nil; ...@@ -1525,28 +1525,56 @@ static VLCWizard *_o_sharedInstance = nil;
[o_sap_option appendFormat: @"sap,name=\"%s\"", [o_sap_option appendFormat: @"sap,name=\"%s\"",
[[o_userSelections objectForKey:@"sapText"] UTF8String]]; [[o_userSelections objectForKey:@"sapText"] UTF8String]];
} }
if( [[o_strmgMthds objectAtIndex: [[o_userSelections objectForKey: @"stmgMhd"] intValue]] objectAtIndex:0] == @"rtp" )
{
/* RTP is no access out, but a stream out module */
[o_opts_string appendFormat:
@":sout=#%s%srtp{mux=%s,dst=%s,%s}",
[o_duplicateCmd UTF8String], [o_trnscdCmd UTF8String],
[[[o_encapFormats objectAtIndex: [[o_userSelections objectForKey: @"encapFormat"] intValue]] objectAtIndex:0]
UTF8String],
[[o_userSelections objectForKey: @"stmgDest"] UTF8String],
[o_sap_option UTF8String]];
}
else
{
[o_opts_string appendFormat: [o_opts_string appendFormat:
@":sout=#%s%sstandard{mux=%s,dst=%s,access=%s,%s}", @":sout=#%s%sstandard{mux=%s,dst=%s,access=%s,%s}",
[o_duplicateCmd UTF8String], [o_trnscdCmd UTF8String], [o_duplicateCmd UTF8String], [o_trnscdCmd UTF8String],
[[[o_encapFormats objectAtIndex: [[o_userSelections [[[o_encapFormats objectAtIndex: [[o_userSelections objectForKey: @"encapFormat"] intValue]] objectAtIndex:0]
objectForKey: @"encapFormat"] intValue]] objectAtIndex:0] UTF8String],
UTF8String], [[o_userSelections objectForKey: @"stmgDest"] [[o_userSelections objectForKey: @"stmgDest"] UTF8String],
UTF8String], [[[o_strmgMthds objectAtIndex: [[o_userSelections [[[o_strmgMthds objectAtIndex: [[o_userSelections objectForKey: @"stmgMhd"] intValue]] objectAtIndex:0]
objectForKey: @"stmgMhd"] intValue]] objectAtIndex:0] UTF8String],
UTF8String], [o_sap_option UTF8String]]; [o_sap_option UTF8String]];
}
} }
else else
{ {
/* no SAP, just streaming */ /* no SAP, just streaming */
if( [[o_strmgMthds objectAtIndex: [[o_userSelections objectForKey: @"stmgMhd"] intValue]] objectAtIndex:0] == @"rtp" )
{
/* RTP is different from the other protocols, as it isn't provided through an access out module anymore */
[o_opts_string appendFormat:
@":sout=#%s%srtp{mux=%s,dst=%s}",
[o_duplicateCmd UTF8String],
[o_trnscdCmd UTF8String],
[[[o_encapFormats objectAtIndex: [[o_userSelections objectForKey: @"encapFormat"] intValue]] objectAtIndex:0]
UTF8String],
[[o_userSelections objectForKey: @"stmgDest"] UTF8String]];
}
else
{
/* all other protocols are cool */
[o_opts_string appendFormat: [o_opts_string appendFormat:
@":sout=#%s%sstandard{mux=%s,dst=%s,access=%s}", @":sout=#%s%sstandard{mux=%s,dst=%s,access=%s}",
[o_duplicateCmd UTF8String], [o_trnscdCmd UTF8String], [o_duplicateCmd UTF8String],
[[[o_encapFormats objectAtIndex: [[o_userSelections [o_trnscdCmd UTF8String],
objectForKey: @"encapFormat"] intValue]] objectAtIndex:0] [[[o_encapFormats objectAtIndex: [[o_userSelections objectForKey: @"encapFormat"] intValue]] objectAtIndex:0]
UTF8String], [[o_userSelections objectForKey: UTF8String],
@"stmgDest"] UTF8String], [[[o_strmgMthds objectAtIndex: [[o_userSelections objectForKey: @"stmgDest"] UTF8String],
[[o_userSelections objectForKey: @"stmgMhd"] intValue]] [[[o_strmgMthds objectAtIndex: [[o_userSelections objectForKey: @"stmgMhd"] intValue]] objectAtIndex:0] UTF8String]];
objectAtIndex:0] UTF8String]]; }
} }
} }
......
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