Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
196bf28c
Commit
196bf28c
authored
Nov 07, 2011
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtsp: Set http custom headers via the AVOption
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
10da1e91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rtsp.c
libavformat/rtsp.c
+2
-2
No files found.
libavformat/rtsp.c
View file @
196bf28c
...
...
@@ -1462,7 +1462,7 @@ redirect:
"Pragma: no-cache
\r\n
"
"Cache-Control: no-cache
\r\n
"
,
sessioncookie
);
ff_http_set_headers
(
rt
->
rtsp_hd
,
headers
);
av_opt_set
(
rt
->
rtsp_hd
->
priv_data
,
"headers"
,
headers
,
0
);
/* complete the connection */
if
(
ffurl_connect
(
rt
->
rtsp_hd
))
{
...
...
@@ -1485,7 +1485,7 @@ redirect:
"Content-Length: 32767
\r\n
"
"Expires: Sun, 9 Jan 1972 00:00:00 GMT
\r\n
"
,
sessioncookie
);
ff_http_set_headers
(
rt
->
rtsp_hd_out
,
headers
);
av_opt_set
(
rt
->
rtsp_hd_out
->
priv_data
,
"headers"
,
headers
,
0
);
av_opt_set
(
rt
->
rtsp_hd_out
->
priv_data
,
"chunksize"
,
"-1"
,
0
);
/* Initialize the authentication state for the POST session. The HTTP
...
...
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