[vlc-devel] commit: osx/framework: minor rtp streaming improvement ( Felix Paul Kühne )

git version control git at videolan.org
Sat Dec 19 17:29:28 CET 2009


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Dec 19 17:04:22 2009 +0100| [7a73b990d2127ca7b643cc383a207ad3b481ab5b] | committer: Felix Paul Kühne 

osx/framework: minor rtp streaming improvement

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7a73b990d2127ca7b643cc383a207ad3b481ab5b
---

 .../macosx/framework/Sources/VLCStreamOutput.m     |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/projects/macosx/framework/Sources/VLCStreamOutput.m b/projects/macosx/framework/Sources/VLCStreamOutput.m
index f33ca22..1fba281 100644
--- a/projects/macosx/framework/Sources/VLCStreamOutput.m
+++ b/projects/macosx/framework/Sources/VLCStreamOutput.m
@@ -49,7 +49,8 @@
                                             [NSDictionary dictionaryWithObjectsAndKeys:
                                                 @"ts", @"muxer",
                                                 @"file", @"access",
-                                                @"sap", @"sdp",
+                                                @"sdp", @"sdp",
+                                                @"sap", @"sap",
                                                 name, @"name",
                                                 @"239.255.1.1", @"destination", nil
                                             ], @"rtpOptions",
@@ -200,9 +201,11 @@
         NSString * destination = [rtpOptions objectForKey:@"destination"];
         NSString * sdp = [rtpOptions objectForKey:@"sdp"];
         NSString * name = [rtpOptions objectForKey:@"name"];
+        NSString * sap = [rtpOptions objectForKey:@"sap"];
         if( muxer )       [subOptions addObject:[NSString stringWithFormat:@"muxer=%@", muxer]];
         if( destination ) [subOptions addObject:[NSString stringWithFormat:@"dst=%@", destination]];
         if( sdp )      [subOptions addObject:[NSString stringWithFormat:@"sdp=%@", sdp]];
+        if( sap )      [subOptions addObject:@"sap"];
         if( name )      [subOptions addObject:[NSString stringWithFormat:@"name=\"%@\"", name]];
         [optionsAsArray addObject:[NSString stringWithFormat:@"rtp{%@}", [subOptions componentsJoinedByString:@","]]];
         [subOptions removeAllObjects];




More information about the vlc-devel mailing list