aler9
f952ff25f6
remove useless append()
3 years ago
aler9
3606472e82
generate RTP packets after H264 remuxing
...
Previously, RTP packets coming from sources other than RTSP (that
actually are RTMP and HLS) were generated before the H264 remuxing, and
that leaded to invalid streams, expecially when sourceOnDemand is true
and the stream has invalid or dynamic SPS/PPS.
3 years ago
aler9
5ba46e6c8f
update gortsplib
3 years ago
aler9
e146df9ed7
hls: move fMP4 generator into dedicated folder
3 years ago
aler9
a8822b9f15
hls muxer / source: route AAC units singularly
...
This aligns the HLS implementation with the rest of the server. In case
of HLS/MPEGTS, the server now generates an ADTS packet for each AU,
without grouping multiple AUs into a single ADTS packet.
3 years ago
aler9
3f0771bb31
fix variable name
3 years ago
aler9
af7a815f83
update gortsplib
3 years ago
aler9
092a2be3a8
api: add "created" field to RTSP sessions, RTMP connections, HLS muxers
3 years ago
aler9
055e08ac6c
remove "on" prefix from most communication functions between components
3 years ago
aler9
ea528f47e1
speed up tests
3 years ago
aler9
7067c02030
api: return static sources in paths/list even if sourceOnDemand is true
3 years ago
aler9
6afbdf1015
add intermediate layer between path and static sources
3 years ago
aler9
34eb1d1e7a
normalize sources
3 years ago
aler9
8a4743fe9a
hls muxer: when hlsAlwaysRemux is on, automatically recreate muxers in
...
case of errors
3 years ago
aler9
f7c08f577a
rtmp: fix decoding of chunk3 + chunk3
3 years ago
Alessandro Ros
9e6abc6e9f
rtmp: rewrite implementation of rtmp connection ( #1047 )
...
* rtmp: improve MsgCommandAMF0
* rtmp: fix MsgSetPeerBandwidth
* rtmp: add message tests
* rtmp: replace implementation with new one
* rtmp: rename handshake functions
* rtmp: avoid calling useless function
* rtmp: use time.Duration for PTSDelta
* rtmp: fix decoding chunks with relevant size
* rtmp: rewrite implementation of rtmp connection
* rtmp: fix tests
* rtmp: improve error message
* rtmp: replace h264 config implementation
* link against github.com/notedit/rtmp
* normalize MessageStreamID
* rtmp: make acknowledge optional
* rtmp: fix decoding of chunk2 + chunk3
* avoid using encoding/binary
3 years ago
aler9
50d205274f
fix tests
3 years ago
aler9
822a896a82
rtmp: fix rtmp -> rtsp audio conversion
3 years ago
aler9
ef3e18a9e9
rtmp: add handshake functions
3 years ago
aler9
772c5b2363
rtmp: improve tests
3 years ago
aler9
ea13509411
print log to stdout instead of stderr ( #1042 )
3 years ago
aler9
2a0567ab4a
rtmp: improve tests
3 years ago
aler9
67e8a01d56
rtmp: split net.Conn from rtmp.Conn
3 years ago
aler9
bf1f45df32
rtmp: add conn handshake tests
3 years ago
aler9
a19f45f736
rtmp: fix s1 generation
3 years ago
aler9
8e14dff6d0
rtmp: fix tests
3 years ago
aler9
4c2a4f9642
hls muxer: create only 7 initial gaps ( #999 )
...
instead of filling the entire segment list.
3 years ago
aler9
f28540b9f4
update gortsplib
3 years ago
aler9
e771f9eba0
rename file
3 years ago
aler9
45c1370145
rtmp: normalize API
3 years ago
aler9
08ddc9f83d
update gortsplib
3 years ago
aler9
fb5aa7bbf2
fix bug that caused on-demand commands to be closed after 10secs ( #1000 )
3 years ago
aler9
19e38930bd
hls muxer: compensate latency by using maxLiveSyncPlaybackRate ( #972 )
3 years ago
aler9
41b08c9f50
update gortsplib
3 years ago
aler9
ec4c40b222
update gortsplib
3 years ago
aler9
e45820b2c0
hls server: show real client IPs when behind a proxy ( #955 )
3 years ago
aler9
3e5f62156d
fix DTS error in case of H264 NALUs without POC
3 years ago
aler9
06b09efa91
rtmp: add tests
3 years ago
aler9
58cbd072c8
rtmp: support ping requests
3 years ago
aler9
05bac43177
rtmp: fix compatibility with some dji drones ( #928 )
3 years ago
aler9
2601ca5661
rtmp: implement acknowledge mechanism
3 years ago
aler9
ee2908081e
rtmp: make chunk writes atomic
3 years ago
aler9
cb610a707c
hls muxer: fix code 500 when a stream is not found
3 years ago
aler9
d0781e5e4a
rtmp: add DTS field to video / audio messages
3 years ago
aler9
d3797d3139
rtmp: improve video / audio messages
3 years ago
aler9
7abb85ab20
rtmp: improve tests
3 years ago
aler9
cd19332350
rtmp: use bufio reader during handshake
3 years ago
aler9
eb09c7c965
rtmp: improve handshake
3 years ago
aler9
af3e5c9183
rtmp: improve handshake
3 years ago
aler9
6a24c82589
rtmp: add user control messages
3 years ago