Haibo Chen(陈海博)
|
133866a944
|
Transcode: Bugfix: Fix loop transcoding with host. #3516. v6.0.168 v7.0.41 (#4325)
#### What issue has been resolved?
for issue: https://github.com/ossrs/srs/issues/3516
https://github.com/ossrs/srs/issues/4055
https://github.com/ossrs/srs/pull/3618
#### What is the root cause of the problem?
The issue arises from a mismatch between the `input` and `output`
formats within the
[`SrsEncoder::initialize_ffmpeg`](https://github.com/ossrs/srs/pull/4325/files#diff-a3dd7c498fc26d36def2e8c2c3b7edfe1bf78f0620b1a838aefa70ba119cad03L241-L254)
function.
For example:
Input: `rtmp://127.0.0.1:1935/live?vhost=__defaultVhost__/livestream_ff`
Output:
`rtmp://127.0.0.1:1935/live/livestream_ff?vhost=__defaultVhost__`
This may result in the failure of the [code
segment](https://github.com/ossrs/srs/pull/4325/files#diff-a3dd7c498fc26d36def2e8c2c3b7edfe1bf78f0620b1a838aefa70ba119cad03L292-L298)
responsible for determining whether to loop.
#### What is the approach to solving this issue?
It simply involves modifying the order of `stream` and `vhost`.
#### How was the issue introduced?
The commit introducing this bug is:
7d47017a00
The order of [parameters in the configuration
file](7d47017a00 (diff-428de168925d659dae72bb49273c3b048ed2800906c6848560badae854250126L26-R26))
has been modified to address the `ingest` issue.
#### Outstanding issues
Please note that this PR does not entirely resolve the issue; for
example, modifying the `output` format in configuration still results in
exceptions. To comprehensively address this problem, extensive code
modifications would be required.
However, strictly adhering to the configuration file format can
effectively prevent this issue.
---------
Co-authored-by: Jacob Su <suzp1984@gmail.com>
Co-authored-by: john <hondaxiao@tencent.com>
Co-authored-by: winlin <winlinvip@gmail.com>
|
2025-06-04 10:11:58 -04:00 |
|
ChenGH
|
13597d1b7f
|
update copyright to 2025. v5.0.218 v6.0.159 v7.0.21 (#4271)
update copyright to 2025
---------
Co-authored-by: john <hondaxiao@tencent.com>
Co-authored-by: winlin <winlinvip@gmail.com>
|
2025-01-14 17:35:18 +08:00 |
|
winlin
|
2a2da2253f
|
Switch to 2013-2024. v6.0.109
|
2024-01-01 10:51:24 +08:00 |
|
winlin
|
29eff1a242
|
Refine LICENSE.
|
2023-10-23 14:33:19 +08:00 |
|
winlin
|
c46ef81ff2
|
SRS5: Update license date to 2023. v5.0.123
PICK 72f8ed4916
|
2023-01-01 08:56:20 +08:00 |
|
winlin
|
d117145b95
|
Update date from 2021 to 2022.
|
2022-06-20 19:22:25 +08:00 |
|
winlin
|
fa78cf3354
|
Prefix with srs_protocol in protocol directory.
|
2022-06-09 20:26:58 +08:00 |
|
winlin
|
d5c86dc5fa
|
Switch LICENSE from MIT to **MIT or MulanPSL-2.0**. v5.0.21
|
2022-01-13 18:40:22 +08:00 |
|
Winlin
|
c8a1e0f3da
|
Refine AUTHORS.txt to AUTHORS.md, etc. 5.0.8 (#2464)
* Refine AUTHORS.txt to AUTHORS.md, etc. 5.0.8
* Update README.md
* Update README.md
* Refine format for AUTHORS.md
|
2021-07-08 14:30:47 +08:00 |
|
winlin
|
15901cacee
|
SquashSRS4: Use SPDX-License-Identifier: MIT. 5.0.3
|
2021-05-31 13:42:20 +08:00 |
|
winlin
|
8b74c7cb89
|
SquashSRS4: Happy 2021
|
2021-04-16 09:29:43 +08:00 |
|
winlin
|
c78595c1fa
|
For #1634, refactor encoder output, support timestamp variables.
|
2020-03-11 19:19:17 +08:00 |
|
winlin
|
66b194cd63
|
For #1634, refactor encoder process management.
|
2020-03-11 19:08:36 +08:00 |
|
winlin
|
2fa151726b
|
For #1592, rename ff_log_dir.
|
2020-02-05 12:15:44 +08:00 |
|
winlin
|
d783a12f89
|
Happy 2020
|
2019-12-30 10:10:35 +08:00 |
|
winlin
|
a1398892d0
|
Refine const timeouts in time unit
|
2019-04-17 08:08:31 +08:00 |
|
winlin
|
6239dfa489
|
Apply time unit
|
2019-04-07 16:25:52 +08:00 |
|
winlin
|
b2d1d84634
|
Change to 2019
|
2019-01-01 21:37:28 +08:00 |
|
winlin
|
330100769f
|
Always enable SRS_TRANSCODE
|
2018-12-22 19:48:55 +08:00 |
|
winlin
|
ba4ef34d27
|
Merge 2.0release
|
2018-11-27 21:24:51 +08:00 |
|
Mirko Velic
|
70ad16ff6a
|
Add request stream param to encoder output format parameters. (#1237)
|
2018-10-08 07:01:49 +08:00 |
|
winlin
|
ca1395a807
|
Change date from 2017 to 2018
|
2018-01-07 10:58:53 +08:00 |
|
winlin
|
6eae93258a
|
For #913, APP support complex error.
|
2018-01-01 19:39:57 +08:00 |
|
winlin
|
9db2a04c3b
|
For #913, coroutine support complex error.
|
2017-06-11 18:44:20 +08:00 |
|
winlin
|
9ca36970aa
|
Fix #908, use empty coroutine to avoid NULL pointer.
|
2017-06-04 19:13:56 +08:00 |
|
winlin
|
1bf99e8f3e
|
For #907, Wrap ST, only use in service ST.
|
2017-05-30 09:05:02 +08:00 |
|
winlin
|
6993ac226f
|
For #906, #902, use coroutine for reusable2 thread
|
2017-05-29 20:49:29 +08:00 |
|
winlin
|
ea9a5f26d9
|
For #906, #902, use coroutine for reusable thread
|
2017-05-29 20:33:32 +08:00 |
|
winlin
|
b21f92f97a
|
For #906, #902, remove the thread start and stop event
|
2017-05-29 18:42:36 +08:00 |
|
HungMingWu
|
815d50f00a
|
Remove warning: C++11 requires a space between string literal and macro (#874)
On Ubuntu 17.04, the default gcc compiler version is 6.3.0.
It switch standard from c++98 to c++11.
So it would generate verbose warnings.
|
2017-05-06 14:05:22 +08:00 |
|
winlin
|
0a57a46016
|
Refine LICENSE
|
2017-03-25 21:29:29 +08:00 |
|
winlin
|
f32aab3d92
|
For #299, refine code.
|
2017-03-25 17:21:39 +08:00 |
|
winlin
|
3fe338d1c5
|
for #742, use ms for application clock tbn.
|
2017-01-17 12:25:30 +08:00 |
|
winlin
|
750f4413c8
|
merge srs2 for #536
|
2017-01-16 12:47:48 +08:00 |
|
winlin
|
142a9733b2
|
refine encoder code for #536.
|
2017-01-16 12:42:25 +08:00 |
|
winlin
|
7ac932cfa0
|
update to 2013-2017
|
2016-12-16 11:57:25 +08:00 |
|
winlin
|
d0c74fa7cd
|
update 2015 to 2016
|
2015-12-23 11:35:40 +08:00 |
|
winlin
|
01c46bdbfd
|
rename org simle-rtmp-server to ossrs
|
2015-11-11 10:45:45 +08:00 |
|
winlin
|
1ffd5fd455
|
rename org simple-rtmp-server to ossrs
|
2015-11-11 10:37:50 +08:00 |
|
winlin
|
29122b6e70
|
fix #502, transcoder support snapshot.
|
2015-10-20 14:52:34 +08:00 |
|
winlin
|
d8f18aee37
|
use the right int type for port.
|
2015-09-24 18:33:07 +08:00 |
|
winlin
|
c34b0c86e1
|
fix #367, support nginx-rtmp exec. 3.0.1
|
2015-08-25 22:29:00 +08:00 |
|
winlin
|
d103557a8b
|
merge the rtmp sdk to stack.
|
2015-06-13 16:04:59 +08:00 |
|
winlin
|
e5f449ce36
|
refine the thread to three category.
|
2015-05-23 09:20:16 +08:00 |
|
winlin
|
b23e196f20
|
migarate from winlinvip to srs org, move the copyright to srs org.
|
2015-04-29 17:38:23 +08:00 |
|
winlin
|
1102c7a58f
|
refine pithy print to more easyer to use 2.0.121.
|
2015-02-19 18:56:21 +08:00 |
|
winlin
|
a4ba40952a
|
for #250, rename rtmp to protocol dir.
|
2015-01-23 10:07:20 +08:00 |
|
winlin
|
569596c10d
|
update copyright, from 2013 to 2015
|
2014-12-31 20:32:09 +08:00 |
|
winlin
|
c457364321
|
for bug #237, add name for thread. 2.0.47
|
2014-12-03 14:05:15 +08:00 |
|
winlin
|
bc6616bd1f
|
refine code according to inspect of clion. 0.9.219
|
2014-09-28 11:08:30 +08:00 |
|