Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
14fae49c
Commit
14fae49c
authored
Dec 13, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split RTP sout further
parent
1d22fe1f
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
774 additions
and
722 deletions
+774
-722
modules/stream_out/Modules.am
modules/stream_out/Modules.am
+1
-1
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+16
-721
modules/stream_out/rtp.h
modules/stream_out/rtp.h
+21
-0
modules/stream_out/rtpfmt.c
modules/stream_out/rtpfmt.c
+736
-0
No files found.
modules/stream_out/Modules.am
View file @
14fae49c
...
...
@@ -6,7 +6,7 @@ SOURCES_stream_out_duplicate = duplicate.c
SOURCES_stream_out_es = es.c
SOURCES_stream_out_display = display.c
SOURCES_stream_out_gather = gather.c
SOURCES_stream_out_rtp = rtp.h rtp.c rtcp.c rtsp.c
SOURCES_stream_out_rtp = rtp.h rtp.c rt
pfmt.c rt
cp.c rtsp.c
SOURCES_stream_out_switcher = switcher.c
SOURCES_stream_out_bridge = bridge.c
SOURCES_stream_out_mosaic_bridge = mosaic_bridge.c
...
...
modules/stream_out/rtp.c
View file @
14fae49c
This diff is collapsed.
Click to expand it.
modules/stream_out/rtp.h
View file @
14fae49c
...
...
@@ -41,6 +41,27 @@ void rtp_del_sink( sout_stream_id_t *id, int fd );
uint16_t
rtp_get_seq
(
const
sout_stream_id_t
*
id
);
unsigned
rtp_get_num
(
const
sout_stream_id_t
*
id
);
/* RTP packetization */
void
rtp_packetize_common
(
sout_stream_id_t
*
id
,
block_t
*
out
,
int
b_marker
,
int64_t
i_pts
);
void
rtp_packetize_send
(
sout_stream_id_t
*
id
,
block_t
*
out
);
size_t
rtp_mtu
(
const
sout_stream_id_t
*
id
);
size_t
rtp_plen
(
const
sout_stream_id_t
*
id
,
unsigned
ptime
);
int
rtp_packetize_l16
(
sout_stream_t
*
,
sout_stream_id_t
*
,
block_t
*
);
int
rtp_packetize_l8
(
sout_stream_t
*
,
sout_stream_id_t
*
,
block_t
*
);
int
rtp_packetize_mpa
(
sout_stream_t
*
,
sout_stream_id_t
*
,
block_t
*
);
int
rtp_packetize_mpv
(
sout_stream_t
*
,
sout_stream_id_t
*
,
block_t
*
);
int
rtp_packetize_ac3
(
sout_stream_t
*
,
sout_stream_id_t
*
,
block_t
*
);
int
rtp_packetize_split
(
sout_stream_t
*
,
sout_stream_id_t
*
,
block_t
*
);
int
rtp_packetize_mp4a
(
sout_stream_t
*
,
sout_stream_id_t
*
,
block_t
*
);
int
rtp_packetize_mp4a_latm
(
sout_stream_t
*
,
sout_stream_id_t
*
,
block_t
*
);
int
rtp_packetize_h263
(
sout_stream_t
*
,
sout_stream_id_t
*
,
block_t
*
);
int
rtp_packetize_h264
(
sout_stream_t
*
,
sout_stream_id_t
*
,
block_t
*
);
int
rtp_packetize_amr
(
sout_stream_t
*
,
sout_stream_id_t
*
,
block_t
*
);
int
rtp_packetize_spx
(
sout_stream_t
*
,
sout_stream_id_t
*
,
block_t
*
);
int
rtp_packetize_t140
(
sout_stream_t
*
,
sout_stream_id_t
*
,
block_t
*
);
/* RTCP */
typedef
struct
rtcp_sender_t
rtcp_sender_t
;
rtcp_sender_t
*
OpenRTCP
(
vlc_object_t
*
obj
,
int
rtp_fd
,
int
proto
,
...
...
modules/stream_out/rtpfmt.c
0 → 100644
View file @
14fae49c
This diff is collapsed.
Click to expand it.
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