johzzy
dc778020fc
fix some crash in rtc. ( #2545 )
2021-09-26 17:01:53 +08:00
winlin
f01c9638f1
Support http callback on_play/stop. 5.0.12
2021-09-23 13:38:04 +08:00
zozobreakzou
46adcfb6c9
[rtc] *Fix Fua package bug(payload size minus one). ( #2618 )
...
* This can cause webrtc video PacketBuffer assemble corrupt when (nal size - 1) % 1300 == 0
* issues about webrtc all caused by this bug
2021-09-23 11:10:16 +08:00
winlin
85620a34f5
Squash: Fix rtc to rtmp sync timestamp using sender report. #2470
2021-08-17 07:25:03 +08:00
john
ea8cff6163
RTC: Fix rtc to rtmp sync timestamp using sender report. ( #2470 )
...
* fix annotation spell failed
* RTC to RTMP using SenderReport to sync av timestamp
* update pion/webrtc versio from v3.0.4 -> v3.0.13, auto config sender/receiver report
* Add rtc push flv play regression test
* Add unit test of ntp and av sync time
* Take flag CXX to makefile of utest
* Add annotation about rtc unit test
* Fix compiler error in C++98
* Add FFmpeg log callback funciton.
2021-08-17 06:32:35 +08:00
Haibo Chen
529b89a29e
Fix #2504 coredump bug: caused by publish stream that codec is h.263 ( #2505 )
2021-08-04 17:14:41 +08:00
Haibo Chen
06f10b1894
fix coredump bug: caused by publish stream that codec is h.263 ( #2505 )
2021-08-04 17:06:55 +08:00
Haibo Chen
86c67f7d95
RTC: Support statistic for HTTP-API, HTTP-Callback and Security ( #2483 ) v4.0.144
...
* commit message for your changes. Lines starting
* Update srs_app_rtc_api.cpp
* add SrsRtcConnPlay and SrsRtcConnPublish, in enum SrsRtmpConnType
* Update srs_rtmp_stack.cpp
* Update srs_app_rtc_conn.cpp
* Update srs_app_rtc_api.cpp
* update utest
* Update srs_utest_app.cpp
2021-07-24 08:08:35 +08:00
Haibo Chen
0efd7b1bbc
RTC: Support statistic for HTTP-API, HTTP-Callback and Security ( #2483 )
...
* commit message for your changes. Lines starting
* Update srs_app_rtc_api.cpp
* add SrsRtcConnPlay and SrsRtcConnPublish, in enum SrsRtmpConnType
* Update srs_rtmp_stack.cpp
* Update srs_app_rtc_conn.cpp
* Update srs_app_rtc_api.cpp
* update utest
* Update srs_utest_app.cpp
2021-07-24 08:05:10 +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
Haibo Chen
90b7933dbb
For #2403 , fix padding packets for RTMP2RTC. 4.0.140.
...
Calculate the correct payload_size which pure padding data, in the process of rtc2rtmp, make Chrome happy (#2461 )
* Calculate the correct payload_size which pure padding data, in the process of rtc2rtmp, make Chrome happy
* make clear for magic number
make clear for magic number
* Update srs_app_rtc_source.cpp
2021-07-08 14:27:51 +08:00
Haibo Chen
7eee9aa598
Calculate the correct payload_size which pure padding data, in the process of rtc2rtmp, make Chrome happy ( #2461 )
...
* Calculate the correct payload_size which pure padding data, in the process of rtc2rtmp, make Chrome happy
* make clear for magic number
make clear for magic number
* Update srs_app_rtc_source.cpp
2021-07-08 14:23:53 +08:00
winlin
15901cacee
SquashSRS4: Use SPDX-License-Identifier: MIT. 5.0.3
2021-05-31 13:42:20 +08:00
winlin
3cd22b6e6e
Use SPDX-License-Identifier: MIT. 4.0.124
2021-05-31 12:59:21 +08:00
winlin
f043a7eb48
SquashSRS4: Allow RTC play before publish.
2021-05-19 21:06:17 +08:00
root
d55af6be44
Fix #2362 : Allow WebRTC to play before publishing, for GB28181 as such. 4.0.117
2021-05-19 20:54:22 +08:00
winlin
e3bca883e1
SuqashSRS4: Build SRT native
2021-05-16 16:14:00 +08:00
winlin
dae6dc5395
Rename SrsRtcStream* to SrsRtcSource*. 4.0.113
2021-05-15 12:33:02 +08:00
winlin
2dd58665fa
Rename SrsSource* to SrsLiveSource*. 4.0.112
2021-05-15 12:30:13 +08:00
winlin
a1d7fe46c1
SquashSRS4: Rename SrsRtpPacket2 to SrsRtpPacket.
2021-05-15 08:53:54 +08:00
winlin
ddd7a378b1
Rename SrsRtpPacket2 to SrsRtpPacket. 4.0.111
2021-05-15 08:47:09 +08:00
winlin
6a980683f7
SquashSRS4: Remove object cache and stat api
2021-05-14 18:17:42 +08:00
winlin
f7b32252b0
RTC: Remove Object Cache Pool, no effect. 4.0.110
2021-05-14 16:12:11 +08:00
winlin
53e20d4a37
RTC: Eliminate unused stat code
2021-05-14 09:06:12 +08:00
winlin
8895d36746
SquashSRS4: Refine shared fast timer
2021-05-08 17:44:15 +08:00
winlin
2ad24b2313
Refine shared fast timer. 4.0.105
2021-05-08 16:50:26 +08:00
winlin
3256c7c2fa
SquashSRS4: Refine the init of global objects
2021-05-08 11:51:54 +08:00
winlin
8b58d18a5a
Refine init of global objects
2021-05-08 11:25:48 +08:00
winlin
b1e85664a1
Refine init of global SrsPps
2021-05-08 11:11:13 +08:00
winlin
276bd2223e
SquashSRS4: Support circuit breaker
2021-05-08 10:04:44 +08:00
winlin
25f17c32e9
RTC: Refine fast timer
2021-05-07 18:42:36 +08:00
winlin
92fc0af8f4
RTC: Support circuit breaker. 4.0.103
2021-05-07 17:43:05 +08:00
winlin
fd6c653d3c
SquashSRS4: Refine performance for FastTimer
2021-05-07 11:25:37 +08:00
winlin
b823dcdfd7
RTC: Refine FastTimer to fixed interval. 4.0.101
2021-05-07 10:20:00 +08:00
winlin
74bb47c13f
SquashSRS4: Support RTC2RTMP.
2021-05-01 22:15:57 +08:00
winlin
3d225973ef
Bridger: Support RTC2RTMP bridger and shared FastTimer. 4.0.95
2021-05-01 18:16:51 +08:00
winlin
c770e6d7bc
Bridger: Start RTMP2RTC bridger in RTMP publisher
2021-05-01 18:16:51 +08:00
winlin
c10232b4e2
Bridger: Refine transcoder to support aac2opus and opus2aac. 4.0.94
2021-05-01 18:16:51 +08:00
winlin
aa07f45545
SquashSRS4: Happy 2021
2021-04-20 19:03:02 +08:00
winlin
cec0191b16
Happy 2021
2021-04-20 19:00:14 +08:00
winlin
fcf72b48f9
SquashSRS4: Fix republish bug
2021-04-04 19:05:44 +08:00
winlin
96003d4a52
RTC: Fix bug for republish stream. 4.0.89
2021-04-04 19:01:42 +08:00
winlin
fa2fec3247
SquashSRS4: Refine payload NALU type parser
2021-04-01 14:48:41 +08:00
winlin
7823d75a38
RTC: Refine payload NALU type parser
2021-04-01 14:46:28 +08:00
winlin
4692e8b8ad
SquashSRS4: Support WebRTC re-publish stream.
2021-03-26 14:59:25 +08:00
winlin
d6c16a7e23
RTC: Support WebRTC re-publish stream. 4.0.87
2021-03-24 20:12:31 +08:00
winlin
de65a331f1
SquashSRS4: Fix DTLS config bug, dup Alert bug. 4.0.83
2021-03-08 12:39:25 +08:00
winlin
fc4f539907
Should check bridger status when publish stream.
2021-03-05 16:47:47 +08:00
winlin
98839d3d53
RTC: Fix TWCC enable bug
2021-03-04 14:13:40 +08:00
winlin
f63441413d
RTC: Support disable the NACK no-copy, enable copy by default
2021-03-02 19:34:56 +08:00
winlin
11454b3ced
Perf: Avoid RTP packet copy for player NACK.
2021-03-02 19:34:12 +08:00
winlin
51a5e283fc
Perf: Avoid RTP packet copy for publisher NACK.
2021-03-02 19:34:10 +08:00
winlin
74f63d6b14
RTC: Ignore NACK when disable for player.
2021-03-02 19:34:08 +08:00
winlin
0aeaf442f7
RTC: Ignore NACK when disable for player.
2021-03-02 19:34:04 +08:00
winlin
033f341ce1
Perf: Refine the recycle RTP packet, user should reset it
2021-03-02 19:33:49 +08:00
winlin
ecef3e7f0a
Perf: Refine player cycle, use fast coroutine
2021-03-02 19:33:32 +08:00
winlin
561acd26c5
Refine code
2021-03-02 19:33:27 +08:00
winlin
f2d9eb345c
Perf: Refine object cache, avoid dynamic cast
2021-03-02 19:33:15 +08:00
winlin
fc4d7080c6
RTC: Cache the RTP payload objects
2021-03-02 19:32:42 +08:00
winlin
4cb3a18d1e
RTC: Apply RTP packet cache manager
2021-03-02 19:32:34 +08:00
winlin
b2d546156e
RTC: Refine RTP packet api, keep shared message to private
2021-03-02 19:32:25 +08:00
winlin
6dac180627
Kernel: Never depends on another globals for global variables
2021-03-02 19:30:56 +08:00
winlin
b9352eac0c
RTC: Refine stat logs
2021-03-02 19:30:36 +08:00
winlin
2f1e8a6911
RTC: Refine logs
2021-03-02 19:30:26 +08:00
winlin
33f4e02072
RTC: Send NACK one by one to avoid packet freed by context switching
2021-03-02 19:30:18 +08:00
winlin
f987198af0
Clock: Use one system wall clock
2021-02-19 18:52:58 +08:00
winlin
627688c582
RTC: Update stat for received nack
2021-02-10 16:14:47 +08:00
winlin
81db13f27f
RTC: Update stat for nack
2021-02-10 16:13:18 +08:00
winlin
2b60112130
RTC: Support disable nack
2021-02-10 15:57:12 +08:00
winlin
b373400257
RTC: Extract NACK handler from stream to track.
2021-01-31 18:06:40 +08:00
winlin
40ea0b67f9
RTC: Refine RTP packet decoder to track and stream
2021-01-31 18:05:51 +08:00
winlin
4bb3ad5637
For #2142 , Fix bug for fixing memory leak for bridger. 4.0.62
2021-01-15 16:58:23 +08:00
winlin
4e70bf5eaf
For #2142 , Fix memory leak for bridger of RTC source stream. 4.0.61
2021-01-15 14:16:32 +08:00
winlin
50bb9eb391
Revert "For #2142 , RTC: Fix memory leak"
...
This reverts commit 2492b726af .
2021-01-15 13:31:58 +08:00
winlin
ed32965aa4
Revert "Fix #2142 , Async release bridger when unpublish. 4.0.60"
...
This reverts commit 06adb9dc42 .
2021-01-15 13:30:52 +08:00
winlin
06adb9dc42
Fix #2142 , Async release bridger when unpublish. 4.0.60
2021-01-14 19:12:01 +08:00
winlin
2492b726af
RTC: Fix memory leak
2021-01-07 11:45:03 +08:00
winlin
fbbdf5ba0e
RTC: Fix audio track NULL bug
2021-01-05 18:38:11 +08:00
winlin
78fcaaf7b1
RTC: Fix memory leak
2020-12-30 16:03:28 +08:00
winlin
0c113ff084
For #1998 , support firefox
2020-12-02 17:29:05 +08:00
winlin
140f8b0fce
For #1998 , refine PT for firefox, support RED
2020-12-01 13:25:53 +08:00
winlin
4650d47082
For #1998 , Support Firefox, use PT in offer. 4.0.55
2020-11-12 18:38:30 +08:00
winlin
57b5204a10
For #1998 , Set default fmtp for H264 when transmux RTMP to RTC
2020-11-12 18:36:50 +08:00
winlin
a28f98581e
Refine cid for source
2020-10-31 22:04:53 +08:00
winlin
d5a0ad3dd8
RTC: Use FFmpeg to transcode aac to opus
2020-10-22 17:07:50 +08:00
winlin
fb6c2fdf80
RTC: Use event notify for stream source
2020-09-23 19:29:19 +08:00
winlin
1173d35e33
RTC: Add api in track
2020-09-17 17:15:59 +08:00
winlin
a19aa82029
RTC: Refine log
2020-09-17 16:34:10 +08:00
winlin
5b3f278243
RTC: Refine log
2020-09-17 16:25:24 +08:00
winlin
e19631a2b7
RTC: Refine PLI request as worker
2020-09-10 17:45:19 +08:00
winlin
4c459a004e
Log: Support tag for log
2020-09-10 11:07:21 +08:00
winlin
57288838d0
RTC: Logging for NACK timeout.
2020-09-10 10:50:59 +08:00
winlin
d61536311b
RTC: Remove and refine NACK removing
2020-09-09 14:07:13 +08:00
winlin
f1df0704e8
RTC: Refine code
2020-09-09 13:59:16 +08:00
winlin
0e2f81f023
RTC: Improve NACK efficiency
2020-09-09 13:51:35 +08:00
winlin
cff976bb71
RTC: Improve NACK efficiency
2020-09-09 13:39:10 +08:00
winlin
579f7a8a5b
RTC: Refine cid for PLI
2020-09-03 16:00:12 +08:00
winlin
d97c0f5db2
RTC: Refine NACK match and miss logs
2020-08-28 12:17:51 +08:00
winlin
a826926073
SRS: Fix bug
2020-08-21 21:14:18 +08:00
winlin
ab221fa842
RTC: Add callback for all consumers done
2020-08-17 20:08:11 +08:00
winlin
66a0143f14
RTC: Refine source state to created and delivering
2020-08-17 18:15:34 +08:00
winlin
5afabe4adf
RTC: Remove dead code
2020-08-17 17:47:26 +08:00
winlin
7069233783
RTC: Refine SDP, parse H264 param
2020-08-13 17:37:04 +08:00
winlin
3617acf01c
RTC: Refine code
2020-08-13 17:20:03 +08:00
winlin
8a98f05066
RTC: Fix H5 bug
2020-08-12 09:03:34 +08:00
winlin
cf9a8c7dcb
RTC: Show error when send packets.
2020-08-10 15:24:26 +08:00
winlin
6bc316016b
RTC: For NACK, it sequence must match exactly, or it cause SRTP fail
2020-08-10 15:06:08 +08:00
winlin
e2bf5eaf47
RTC: Remove black line
2020-08-06 16:44:36 +08:00
winlin
87a4c63130
RTC: Add RTX desc
2020-08-06 16:35:33 +08:00
winlin
70d561421c
RTC: Check error for send_rtcp_fb_pli
2020-08-05 18:06:54 +08:00
winlin
f149c84dd0
RTC: Check error for send_rtcp_rr
2020-08-05 17:24:26 +08:00
winlin
75119a14cf
RTC: Check error for send_rtcp_rr
2020-08-05 17:17:33 +08:00
winlin
fc10e98f1c
RTC: Remove dead code. Fix DTLS empty ctx issue
2020-08-04 20:08:21 +08:00
winlin
103bf86eef
RTC: Remove dead code for source
2020-08-04 15:06:51 +08:00
winlin
c659098f71
RTC: Set tracks to active for publisher
2020-08-04 13:45:17 +08:00
winlin
0eae1bd493
RTC: Enable track of player when init done.
2020-08-03 12:49:12 +08:00
winlin
8aa20d390e
RTC: Disable track by default
2020-08-03 12:36:34 +08:00
winlin
2dc311fbd9
Refine code
2020-07-29 22:12:42 +08:00
winlin
d90d42e7bf
RTC: Fix warnings
2020-07-28 11:11:16 +08:00
winlin
58702086cc
RTC: Refine code
2020-07-27 18:33:49 +08:00
winlin
a035d312f9
RTC: Update stat for recv track
2020-07-26 23:28:03 +08:00
winlin
b3212a12de
RTC: Update nack stat
2020-07-26 23:18:56 +08:00
winlin
5f7de58095
RTC: Add stat for track.
2020-07-26 22:58:22 +08:00
winlin
133e07e670
RTC: Refine stat code
2020-07-26 21:23:58 +08:00
winlin
bf3b917f1f
RTC: Rename SrsRtcOutgoingInfo to SrsRtcPlayStreamStatistic
2020-07-24 10:08:01 +08:00
winlin
77256eee08
RTC: Stat summary for connection
2020-07-23 15:14:54 +08:00
winlin
3a3d908a63
RTC: Refine twcc to connection
2020-07-21 11:38:41 +08:00
winlin
cc03449379
RTC: Remove dead code
2020-07-20 14:29:02 +08:00
winlin
c3219d5431
RTC: Allow dup play. Parse RED desc.
2020-07-20 14:15:08 +08:00
winlin
6dd77923ca
RTC: Fix rtmp to rtc bug
2020-07-19 10:26:05 +08:00
winlin
1beb24b48d
Remove dead code
2020-07-16 13:21:55 +08:00
winlin
52a3f36b39
RTC: Support offer by server
2020-07-16 12:29:40 +08:00
winlin
f33a62e3bd
Remove dead code
2020-07-15 13:56:46 +08:00
winlin
991672bf41
RTC: Refine stream/ssrc/sdp structure
2020-07-15 13:11:35 +08:00
winlin
d68b6b8609
Log: Fix source context print bug
2020-07-11 13:43:26 +08:00
winlin
5b199249d0
RTC: Rename SrsRtcSource to SrsRtcStream
2020-07-08 19:01:33 +08:00
winlin
4c73b9a819
RTC: Rename ISrsRtcPublisher to ISrsRtcPublishStream
2020-07-07 16:57:33 +08:00
winlin
f551ff5ae8
Log: Use string compare function
2020-07-05 23:49:47 +08:00
winlin
6624b8acca
Log: Use object as context id for complex context
2020-07-05 23:26:55 +08:00
winlin
c8892c4009
Fix build failed for no ffmpeg-fit
2020-06-24 13:52:36 +08:00
winlin
be5d76009e
RTC: Support build without RTMP2RTC bridger, no FFmpeg fit.
2020-06-24 12:44:13 +08:00
winlin
8a0c2e01f8
Log: Change cid from int to string
2020-06-18 11:45:43 +08:00
winlin
c30565b4c0
RTC: Support keep original seq
2020-06-16 16:41:04 +08:00
winlin
cf738754ae
RTC: Generate timestamp only when transcode opus to aac.
2020-06-16 13:39:02 +08:00
winlin
0992eb4580
Remove unused files
2020-06-03 18:00:21 +08:00
winlin
8ca793593d
RTC: Refactor code.
2020-06-02 19:00:31 +08:00
winlin
f510a94a91
RTC: Rename SrsRtpPacket2.rtp_header to SrsRtpPacket2.header
2020-05-15 08:38:43 +08:00
winlin
ba8f2e2aba
RTC: Remove dead code
2020-05-15 08:34:58 +08:00
winlin
620ca902e2
RTC: Remove dead code
2020-05-15 08:24:26 +08:00
winlin
d8cf9b64c8
RTC: Remove dead code
2020-05-15 08:19:22 +08:00