Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
7a73b990
Commit
7a73b990
authored
Dec 19, 2009
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
osx/framework: minor rtp streaming improvement
parent
71d64fc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
projects/macosx/framework/Sources/VLCStreamOutput.m
projects/macosx/framework/Sources/VLCStreamOutput.m
+4
-1
No files found.
projects/macosx/framework/Sources/VLCStreamOutput.m
View file @
7a73b990
...
...
@@ -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
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment