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
2015-01-08 17:44:08 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
b46675693148a54123f7f229a8f9b6591abf1fac
b4667569
2 parents
6c833902
27e0521a
merge from feilong for bug #281.
显示空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
14 行增加
和
3 行删除
README.md
trunk/src/app/srs_app_hls.cpp
trunk/src/core/srs_core.hpp
README.md
查看文件 @
b466756
...
...
@@ -508,6 +508,7 @@ Supported operating systems and hardware:
*
2013-10-17, Created.
<br/>
## History
*
v2.0, 2015-01-08, hotfix
[
#281
](
https://github.com/winlinvip/simple-rtmp-server/issues/281
)
, fix hls bug ignore type-9 send aud. 2.0.93
*
v2.0, 2015-01-03, fix
[
#274
](
https://github.com/winlinvip/simple-rtmp-server/issues/274
)
, http-callback support on_dvr when reap a dvr file. 2.0.89
*
v2.0, 2015-01-03, hotfix to remove the pageUrl for http callback. 2.0.88
*
v2.0, 2015-01-03, fix
[
#179
](
https://github.com/winlinvip/simple-rtmp-server/issues/179
)
, dvr support custom filepath by variables. 2.0.87
...
...
@@ -561,6 +562,7 @@ Supported operating systems and hardware:
*
v2.0, 2014-10-18, remove supports for OSX(darwin). 2.0.1.
*
v2.0, 2014-10-16, revert github srs README to English. 2.0.0.
*
v1.0, 2015-01-08, hotfix
[
#281
](
https://github.com/winlinvip/simple-rtmp-server/issues/281
)
, fix hls bug ignore type-9 send aud. 1.0.20
*
v1.0, 2015-01-03, hotfix to remove the pageUrl for http callback. 1.0.19
*
v1.0, 2015-01-02, hotfix
[
#207
](
https://github.com/winlinvip/simple-rtmp-server/issues/207
)
, trim the last 0 of log. 1.0.18
*
v1.0, 2015-01-02, hotfix
[
#216
](
https://github.com/winlinvip/simple-rtmp-server/issues/216
)
, http-callback post in application/json content-type. 1.0.17
...
...
trunk/src/app/srs_app_hls.cpp
查看文件 @
b466756
...
...
@@ -1272,9 +1272,13 @@ int SrsHlsCache::cache_video(SrsAvcAacCodec* codec, SrsCodecSample* sample)
// 6: Supplemental enhancement information (SEI) sei_rbsp( ), page 61
// @see: ngx_rtmp_hls_append_aud
if
(
!
aud_sent
)
{
if
(
nal_unit_type
==
9
)
{
// @remark, when got type 9, we donot send aud_nal, but it will make
// ios unhappy, so we remove it.
// @see https://github.com/winlinvip/simple-rtmp-server/issues/281
/*if (nal_unit_type == 9) {
aud_sent = true;
}
}*/
if
(
nal_unit_type
==
1
||
nal_unit_type
==
5
||
nal_unit_type
==
6
)
{
// for type 6, append a aud with type 9.
vb
->
append
((
const
char
*
)
aud_nal
,
sizeof
(
aud_nal
));
...
...
@@ -1485,6 +1489,10 @@ int SrsHls::on_video(SrsSharedPtrMessage* __video)
sample
->
clear
();
if
((
ret
=
codec
->
video_avc_demux
(
video
->
payload
,
video
->
size
,
sample
))
!=
ERROR_SUCCESS
)
{
if
(
sample
->
frame_type
==
SrsCodecVideoAVCFrameVideoInfoFrame
)
{
srs_warn
(
"hls igone the info frame, ret=%d"
,
ret
);
return
ERROR_SUCCESS
;
}
srs_error
(
"hls codec demux video failed. ret=%d"
,
ret
);
return
ret
;
}
...
...
trunk/src/core/srs_core.hpp
查看文件 @
b466756
...
...
@@ -31,7 +31,8 @@ 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 92
#define VERSION_REVISION 93
// server info.
#define RTMP_SIG_SRS_KEY "SRS"
#define RTMP_SIG_SRS_ROLE "origin/edge server"
...
...
请
注册
或
登录
后发表评论