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
2016-09-09 14:57:58 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
c231f45fe8e80d82fd44a3ef2b23e799e9407270
c231f45f
2 parents
66f251c6
4e756bd0
Merge branch '2.0release' into develop
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
8 行增加
和
3 行删除
README.md
trunk/research/librtmp/srs_h264_raw_publish.c
README.md
查看文件 @
c231f45
...
...
@@ -238,7 +238,7 @@ The `features`, `compare`, `release` and `performance` of SRS.
1.
Stable
[
1.0release branch
][
branch1
]
.
1.
Support publish h264 raw stream(
[
CN
][
v2_CN_SrsLibrtmp2
]
,
[
EN
][
v2_EN_SrsLibrtmp2
]
) by srs-librtmp.
1.
Support
[
6k+ clients
][
bug #194
]
, 3Gbps per process.
1.
Suppport
[
English wiki
]
[
v1_EN_Home
)
.
1.
Suppport
[
English wiki
][
v1_EN_Home
]
.
1.
Research and simplify st,
[
bug #182
][
bug #182
]
.
1.
Support compile
[
srs-librtmp on windows
][
srs-librtmp
]
,
[
bug #213
][
bug #213
]
.
1.
Support
[
10k+ clients
][
bug #251
]
, 4Gbps per process.
...
...
@@ -1016,6 +1016,10 @@ Winlin
[
v1_EN_Edge
]:
https://github.com/ossrs/srs/wiki/v1_EN_Edge
[
v1_CN_RtmpUrlVhost
]:
https://github.com/ossrs/srs/wiki/v1_CN_RtmpUrlVhost
[
v1_EN_RtmpUrlVhost
]:
https://github.com/ossrs/srs/wiki/v1_EN_RtmpUrlVhost
[
v1_CN_RTMPHandshake
]:
https://github.com/ossrs/srs/wiki/v1_CN_RTMPHandshake
[
v1_EN_RTMPHandshake
]:
https://github.com/ossrs/srs/wiki/v1_EN_RTMPHandshake
[
v1_CN_HTTPServer
]:
https://github.com/ossrs/srs/wiki/v1_CN_HTTPServer
[
v1_EN_HTTPServer
]:
https://github.com/ossrs/srs/wiki/v1_EN_HTTPServer
[
v1_CN_DeliveryHLS
]:
https://github.com/ossrs/srs/wiki/v1_CN_DeliveryHLS
[
v1_EN_DeliveryHLS
]:
https://github.com/ossrs/srs/wiki/v1_EN_DeliveryHLS
[
v1_CN_DeliveryHLS2
]:
https://github.com/ossrs/srs/wiki/v1_CN_DeliveryHLS#hlsaudioonly
...
...
trunk/research/librtmp/srs_h264_raw_publish.c
查看文件 @
c231f45
...
...
@@ -154,7 +154,8 @@ int main(int argc, char** argv)
int
pts
=
0
;
// @remark, to decode the file.
char
*
p
=
h264_raw
;
for
(
int
count
=
0
;
p
<
h264_raw
+
file_size
;
count
++
)
{
int
count
=
0
;
for
(;
p
<
h264_raw
+
file_size
;)
{
// @remark, read a frame from file buffer.
char
*
data
=
NULL
;
int
size
=
0
;
...
...
@@ -188,7 +189,7 @@ int main(int argc, char** argv)
(
nut
==
7
?
"SPS"
:
(
nut
==
8
?
"PPS"
:
(
nut
==
5
?
"I"
:
(
nut
==
1
?
"P"
:
(
nut
==
9
?
"AUD"
:
(
nut
==
6
?
"SEI"
:
"Unknown"
)))))));
// @remark, when use encode device, it not need to sleep.
if
(
count
==
10
)
{
if
(
count
++
==
9
)
{
usleep
(
1000
*
1000
*
count
/
fps
);
count
=
0
;
}
...
...
请
注册
或
登录
后发表评论