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
b83ce73c
Commit
b83ce73c
authored
Oct 20, 2005
by
Marian Durkovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added RTP method to streamout dialog
parent
81f01438
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
1 deletion
+43
-1
modules/gui/wxwidgets/streamout.cpp
modules/gui/wxwidgets/streamout.cpp
+42
-1
modules/gui/wxwidgets/wxwidgets.h
modules/gui/wxwidgets/wxwidgets.h
+1
-0
No files found.
modules/gui/wxwidgets/streamout.cpp
View file @
b83ce73c
...
...
@@ -361,6 +361,45 @@ void SoutDialog::UpdateMRL()
net_ports
[
MMSH_ACCESS_OUT
]
->
GetValue
()
);
dup_opts
+=
wxT
(
"}"
);
}
if
(
access_checkboxes
[
RTP_ACCESS_OUT
]
->
IsChecked
()
)
{
if
(
!
dup_opts
.
IsEmpty
()
)
dup_opts
+=
wxT
(
","
);
dup_opts
+=
wxT
(
"dst=std{access=rtp,mux="
);
dup_opts
+=
encapsulation
+
wxT
(
",url="
);
wxString
rtp_addr
=
net_addrs
[
RTP_ACCESS_OUT
]
->
GetLineText
(
0
);
if
((
rtp_addr
[
0u
]
!=
'['
)
&&
(
rtp_addr
.
Find
(
':'
)
!=
-
1
))
{
dup_opts
+=
wxT
(
"["
)
+
rtp_addr
+
wxT
(
"]"
);
}
else
{
dup_opts
+=
rtp_addr
;
}
dup_opts
+=
wxString
::
Format
(
wxT
(
":%d"
),
net_ports
[
RTP_ACCESS_OUT
]
->
GetValue
()
);
/* SAP if RTP */
if
(
sap_checkbox
->
IsChecked
()
)
{
dup_opts
+=
wxT
(
",sap"
);
if
(
!
announce_group
->
GetLineText
(
0
).
IsEmpty
()
)
{
dup_opts
+=
wxT
(
",group=
\"
"
);
dup_opts
+=
announce_group
->
GetLineText
(
0
);
dup_opts
+=
wxT
(
"
\"
"
);
}
if
(
!
announce_addr
->
GetLineText
(
0
).
IsEmpty
()
)
{
dup_opts
+=
wxT
(
",name=
\"
"
);
dup_opts
+=
announce_addr
->
GetLineText
(
0
);
dup_opts
+=
wxT
(
"
\"
"
);
}
}
dup_opts
+=
wxT
(
"}"
);
}
if
(
access_checkboxes
[
UDP_ACCESS_OUT
]
->
IsChecked
()
)
{
if
(
!
dup_opts
.
IsEmpty
()
)
dup_opts
+=
wxT
(
","
);
...
...
@@ -379,7 +418,7 @@ void SoutDialog::UpdateMRL()
dup_opts
+=
wxString
::
Format
(
wxT
(
":%d"
),
net_ports
[
UDP_ACCESS_OUT
]
->
GetValue
()
);
/* SAP
only
if UDP */
/* SAP if UDP */
if
(
sap_checkbox
->
IsChecked
()
)
{
dup_opts
+=
wxT
(
",sap"
);
...
...
@@ -439,6 +478,7 @@ wxPanel *SoutDialog::AccessPanel( wxWindow* parent )
wxU
(
_
(
"File"
)),
wxU
(
_
(
"HTTP"
)),
wxU
(
_
(
"MMSH"
)),
wxU
(
_
(
"RTP"
)),
wxU
(
_
(
"UDP"
)),
};
...
...
@@ -922,6 +962,7 @@ void SoutDialog::OnAccessTypeChange( wxCommandEvent& event )
switch
(
i_access_type
)
{
case
UDP_ACCESS_OUT
:
case
RTP_ACCESS_OUT
:
misc_subpanels
[
ANN_MISC_SOUT
]
->
Enable
(
event
.
GetInt
()
);
for
(
i
=
1
;
i
<
ENCAPS_NUM
;
i
++
)
...
...
modules/gui/wxwidgets/wxwidgets.h
View file @
b83ce73c
...
...
@@ -597,6 +597,7 @@ enum
FILE_ACCESS_OUT
,
HTTP_ACCESS_OUT
,
MMSH_ACCESS_OUT
,
RTP_ACCESS_OUT
,
UDP_ACCESS_OUT
,
ACCESS_OUT_NUM
};
...
...
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