Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
21b3fcf9
Commit
21b3fcf9
authored
5 years ago
by
Adrien Béraud
Committed by
Sébastien Blin
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
libav_utils: cleanup
Change-Id: I73e6ad39f6b0dc37e9142d33b079dae230c92367
parent
93286f4a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/media/libav_utils.cpp
+0
-8
0 additions, 8 deletions
src/media/libav_utils.cpp
src/media/libav_utils.h
+0
-4
0 additions, 4 deletions
src/media/libav_utils.h
src/media/socket_pair.cpp
+1
-1
1 addition, 1 deletion
src/media/socket_pair.cpp
with
1 addition
and
13 deletions
src/media/libav_utils.cpp
+
0
−
8
View file @
21b3fcf9
...
...
@@ -183,14 +183,6 @@ void ring_avcodec_init()
std
::
call_once
(
already_called
,
init_once
);
}
void
ring_url_split
(
const
char
*
url
,
char
*
hostname
,
size_t
hostname_size
,
int
*
port
,
char
*
path
,
size_t
path_size
)
{
av_url_split
(
NULL
,
0
,
NULL
,
0
,
hostname
,
hostname_size
,
port
,
path
,
path_size
,
url
);
}
bool
is_yuv_planar
(
const
AVPixFmtDescriptor
&
desc
)
{
...
...
This diff is collapsed.
Click to expand it.
src/media/libav_utils.h
+
0
−
4
View file @
21b3fcf9
...
...
@@ -38,10 +38,6 @@ namespace jami { namespace libav_utils {
const
char
*
const
DEFAULT_H264_PROFILE_LEVEL_ID
=
"profile-level-id=428029"
;
const
char
*
const
MAX_H264_PROFILE_LEVEL_ID
=
"profile-level-id=640034"
;
void
ring_url_split
(
const
char
*
url
,
char
*
hostname
,
size_t
hostname_size
,
int
*
port
,
char
*
path
,
size_t
path_size
);
bool
is_yuv_planar
(
const
AVPixFmtDescriptor
&
desc
);
std
::
string
getError
(
int
err
);
...
...
This diff is collapsed.
Click to expand it.
src/media/socket_pair.cpp
+
1
−
1
View file @
21b3fcf9
...
...
@@ -323,7 +323,7 @@ SocketPair::openSockets(const char* uri, int local_rtp_port)
char
path
[
1024
];
int
dst_rtp_port
;
lib
av_u
tils
::
ring_url_split
(
uri
,
hostname
,
sizeof
(
hostname
),
&
dst_rtp_port
,
path
,
sizeof
(
path
));
av_u
rl_split
(
NULL
,
0
,
NULL
,
0
,
hostname
,
sizeof
(
hostname
),
&
dst_rtp_port
,
path
,
sizeof
(
path
)
,
uri
);
const
int
local_rtcp_port
=
local_rtp_port
+
1
;
const
int
dst_rtcp_port
=
dst_rtp_port
+
1
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment