Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
317ce5cf
Commit
317ce5cf
authored
Aug 23, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix struct duplication
parent
16e51807
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
59 additions
and
120 deletions
+59
-120
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+0
-59
modules/stream_out/rtp.h
modules/stream_out/rtp.h
+59
-0
modules/stream_out/rtsp.c
modules/stream_out/rtsp.c
+0
-61
No files found.
modules/stream_out/rtp.c
View file @
317ce5cf
...
...
@@ -158,65 +158,6 @@ static int Del ( sout_stream_t *, sout_stream_id_t * );
static
int
Send
(
sout_stream_t
*
,
sout_stream_id_t
*
,
block_t
*
);
struct
sout_stream_sys_t
{
/* sdp */
int64_t
i_sdp_id
;
int
i_sdp_version
;
char
*
psz_sdp
;
vlc_mutex_t
lock_sdp
;
char
*
psz_session_name
;
char
*
psz_session_description
;
char
*
psz_session_url
;
char
*
psz_session_email
;
/* */
vlc_bool_t
b_export_sdp_file
;
char
*
psz_sdp_file
;
/* sap */
vlc_bool_t
b_export_sap
;
session_descriptor_t
*
p_session
;
httpd_host_t
*
p_httpd_host
;
httpd_file_t
*
p_httpd_file
;
httpd_host_t
*
p_rtsp_host
;
httpd_url_t
*
p_rtsp_url
;
char
*
psz_rtsp_control
;
char
*
psz_rtsp_path
;
/* */
char
*
psz_destination
;
int
i_port
;
int
i_port_audio
;
int
i_port_video
;
int
i_ttl
;
vlc_bool_t
b_latm
;
/* when need to use a private one or when using muxer */
int
i_payload_type
;
/* in case we do TS/PS over rtp */
sout_mux_t
*
p_mux
;
sout_access_out_t
*
p_access
;
int
i_mtu
;
sout_access_out_t
*
p_grab
;
uint16_t
i_sequence
;
uint32_t
i_timestamp_start
;
uint8_t
ssrc
[
4
];
block_t
*
packet
;
/* */
vlc_mutex_t
lock_es
;
int
i_es
;
sout_stream_id_t
**
es
;
/* */
int
i_rtsp
;
rtsp_client_t
**
rtsp
;
};
static
int
AccessOutGrabberWrite
(
sout_access_out_t
*
,
block_t
*
);
static
void
SDPHandleUrl
(
sout_stream_t
*
,
char
*
);
...
...
modules/stream_out/rtp.h
View file @
317ce5cf
...
...
@@ -72,3 +72,62 @@ struct sout_stream_id_t
/* RTSP url control */
httpd_url_t
*
p_rtsp_url
;
};
struct
sout_stream_sys_t
{
/* sdp */
int64_t
i_sdp_id
;
int
i_sdp_version
;
char
*
psz_sdp
;
vlc_mutex_t
lock_sdp
;
char
*
psz_session_name
;
char
*
psz_session_description
;
char
*
psz_session_url
;
char
*
psz_session_email
;
/* */
vlc_bool_t
b_export_sdp_file
;
char
*
psz_sdp_file
;
/* sap */
vlc_bool_t
b_export_sap
;
session_descriptor_t
*
p_session
;
httpd_host_t
*
p_httpd_host
;
httpd_file_t
*
p_httpd_file
;
httpd_host_t
*
p_rtsp_host
;
httpd_url_t
*
p_rtsp_url
;
char
*
psz_rtsp_control
;
char
*
psz_rtsp_path
;
/* */
char
*
psz_destination
;
int
i_port
;
int
i_port_audio
;
int
i_port_video
;
int
i_ttl
;
vlc_bool_t
b_latm
;
/* when need to use a private one or when using muxer */
int
i_payload_type
;
/* in case we do TS/PS over rtp */
sout_mux_t
*
p_mux
;
sout_access_out_t
*
p_access
;
int
i_mtu
;
sout_access_out_t
*
p_grab
;
uint16_t
i_sequence
;
uint32_t
i_timestamp_start
;
uint8_t
ssrc
[
4
];
block_t
*
packet
;
/* */
vlc_mutex_t
lock_es
;
int
i_es
;
sout_stream_id_t
**
es
;
/* */
int
i_rtsp
;
rtsp_client_t
**
rtsp
;
};
modules/stream_out/rtsp.c
View file @
317ce5cf
...
...
@@ -49,66 +49,6 @@ struct rtsp_client_t
sout_access_out_t
**
access
;
};
struct
sout_stream_sys_t
{
/* sdp */
int64_t
i_sdp_id
;
int
i_sdp_version
;
char
*
psz_sdp
;
vlc_mutex_t
lock_sdp
;
char
*
psz_session_name
;
char
*
psz_session_description
;
char
*
psz_session_url
;
char
*
psz_session_email
;
/* */
vlc_bool_t
b_export_sdp_file
;
char
*
psz_sdp_file
;
/* sap */
vlc_bool_t
b_export_sap
;
session_descriptor_t
*
p_session
;
httpd_host_t
*
p_httpd_host
;
httpd_file_t
*
p_httpd_file
;
httpd_host_t
*
p_rtsp_host
;
httpd_url_t
*
p_rtsp_url
;
char
*
psz_rtsp_control
;
char
*
psz_rtsp_path
;
/* */
char
*
psz_destination
;
int
i_port
;
int
i_port_audio
;
int
i_port_video
;
int
i_ttl
;
vlc_bool_t
b_latm
;
/* when need to use a private one or when using muxer */
int
i_payload_type
;
/* in case we do TS/PS over rtp */
sout_mux_t
*
p_mux
;
sout_access_out_t
*
p_access
;
int
i_mtu
;
sout_access_out_t
*
p_grab
;
uint16_t
i_sequence
;
uint32_t
i_timestamp_start
;
uint8_t
ssrc
[
4
];
block_t
*
packet
;
/* */
vlc_mutex_t
lock_es
;
int
i_es
;
sout_stream_id_t
**
es
;
/* */
int
i_rtsp
;
rtsp_client_t
**
rtsp
;
};
static
int
RtspCallback
(
httpd_callback_sys_t
*
p_args
,
httpd_client_t
*
cl
,
httpd_message_t
*
answer
,
httpd_message_t
*
query
);
...
...
@@ -250,7 +190,6 @@ static int RtspCallback( httpd_callback_sys_t *p_args,
case
HTTPD_MSG_PLAY
:
{
rtsp_client_t
*
rtsp
;
/* for now only multicast so easy */
answer
->
i_status
=
200
;
psz_session
=
httpd_MsgGet
(
query
,
"Session"
);
...
...
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