Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2017-01-11 17:42:34 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e6eafd3b978558aa93d9abacc0cd63e298a833a5
e6eafd3b
1 parent
fec6f96a
fix #740, convert ts aac audio private stream 1 to common. 2.0.229
隐藏空白字符变更
内嵌
并排对比
正在显示
4 个修改的文件
包含
15 行增加
和
1 行删除
README.md
trunk/src/app/srs_app_mpegts_udp.cpp
trunk/src/core/srs_core.hpp
trunk/src/main/srs_main_ingest_hls.cpp
README.md
查看文件 @
e6eafd3
...
...
@@ -345,6 +345,7 @@ Remark:
## History
*
v2.0, 2017-01-11, fix
[
#740
][
bug #740
]
, convert ts aac audio private stream 1 to common. 2.0.229
*
v2.0, 2017-01-11, fix
[
#588
][
bug #588
]
, kbps interface error. 2.0.228
*
v2.0, 2017-01-11, fix
[
#736
][
bug #736
]
, recovery the hls dispose. 2.0.227
*
v2.0, 2017-01-10, refine hls html5 video template.
...
...
@@ -1275,6 +1276,7 @@ Winlin
[
bug #635
]:
https://github.com/ossrs/srs/issues/635
[
bug #736
]:
https://github.com/ossrs/srs/issues/736
[
bug #588
]:
https://github.com/ossrs/srs/issues/588
[
bug #740
]:
https://github.com/ossrs/srs/issues/740
[
bug #xxxxxxxxxx
]:
https://github.com/ossrs/srs/issues/xxxxxxxxxx
[
exo #828
]:
https://github.com/google/ExoPlayer/pull/828
...
...
trunk/src/app/srs_app_mpegts_udp.cpp
查看文件 @
e6eafd3
...
...
@@ -300,6 +300,12 @@ int SrsMpegtsOverUdp::on_ts_message(SrsTsMessage* msg)
msg
->
dts
,
msg
->
pts
,
msg
->
payload
->
length
(),
msg
->
packet
->
payload_unit_start_indicator
,
msg
->
continuity_counter
,
msg
->
sid
,
msg
->
is_audio
()
?
"A"
:
msg
->
is_video
()
?
"V"
:
"N"
,
msg
->
stream_number
());
}
// When the audio SID is private stream 1, we use common audio.
// @see https://github.com/ossrs/srs/issues/740
if
(
msg
->
channel
->
apply
==
SrsTsPidApplyAudio
&&
msg
->
sid
==
SrsTsPESStreamIdPrivateStream1
)
{
msg
->
sid
=
SrsTsPESStreamIdAudioCommon
;
}
// when not audio/video, or not adts/annexb format, donot support.
if
(
msg
->
stream_number
()
!=
0
)
{
...
...
trunk/src/core/srs_core.hpp
查看文件 @
e6eafd3
...
...
@@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// current release version
#define VERSION_MAJOR 2
#define VERSION_MINOR 0
#define VERSION_REVISION 22
8
#define VERSION_REVISION 22
9
// generated by configure, only macros.
#include <srs_auto_headers.hpp>
...
...
trunk/src/main/srs_main_ingest_hls.cpp
查看文件 @
e6eafd3
...
...
@@ -759,6 +759,12 @@ int SrsIngestSrsOutput::on_ts_message(SrsTsMessage* msg)
msg
->
dts
,
msg
->
pts
,
msg
->
payload
->
length
(),
msg
->
packet
->
payload_unit_start_indicator
,
msg
->
continuity_counter
,
msg
->
sid
,
msg
->
is_audio
()
?
"A"
:
msg
->
is_video
()
?
"V"
:
"N"
,
msg
->
stream_number
());
// When the audio SID is private stream 1, we use common audio.
// @see https://github.com/ossrs/srs/issues/740
if
(
msg
->
channel
->
apply
==
SrsTsPidApplyAudio
&&
msg
->
sid
==
SrsTsPESStreamIdPrivateStream1
)
{
msg
->
sid
=
SrsTsPESStreamIdAudioCommon
;
}
// when not audio/video, or not adts/annexb format, donot support.
if
(
msg
->
stream_number
()
!=
0
)
{
ret
=
ERROR_STREAM_CASTER_TS_ES
;
...
...
请
注册
或
登录
后发表评论