Alessandro Ros
fe4f436bd3
rtmp: change default RTMPS port to 1936 when it is omitted in source ( #2821 )
2 years ago
Alessandro Ros
d261bfe773
support static sources in paths with regular expressions ( #824 ) ( #2799 )
...
This allows to proxy requests to other servers by using regular
expressions.
2 years ago
Alessandro Ros
11988249df
move servers into internal/servers ( #2792 )
2 years ago
Alessandro Ros
43d41c070b
move static sources into dedicated package ( #2616 )
2 years ago
Alessandro Ros
99bc327d67
move protocol-related code into internal/protocols ( #2572 )
2 years ago
Alessandro Ros
9a01ab7fd5
allow changing default path settings; bump API in order to allow so ( #2455 )
2 years ago
Alessandro Ros
d07ba5983e
update gortsplib ( #2390 )
2 years ago
Alessandro Ros
64d9060560
add additional environment variables to custom commands ( #1414 ) ( #2356 )
...
new variables: MTX_CONN_TYPE, MTX_CONN_ID, MTX_SOURCE_TYPE, MTX_SOURCE_ID, MTX_READER_TYPE, MTX_READ_ID
2 years ago
Alessandro Ros
cf86dbb303
switch to gortsplib/v4 ( #2244 )
2 years ago
Alessandro Ros
e0fb11040e
move units into dedicated package ( #2245 )
...
needed by #2244
2 years ago
Alessandro Ros
23ddaac481
support publishing VP9 tracks with RTMP ( #2247 )
2 years ago
Alessandro Ros
8bb71ac8d8
srt, udp: support reading and writing MPEG-1 audio streams ( #2147 )
2 years ago
Alessandro Ros
bc3084ae7b
support proxying WebRTC streams ( #2142 )
2 years ago
Alessandro Ros
d696a782f7
rtmp: simplify API ( #2130 )
2 years ago
Alessandro Ros
ab8cf3f0cc
add rtmp.Reader, rtmp.Writer ( #2124 )
...
needed by #2068
2 years ago
Alessandro Ros
3967caa530
join validation of TLS fingerprints ( #2071 )
2 years ago
Alessandro Ros
39c072edd6
change repository owner ( #1801 )
2 years ago
Alessandro Ros
1688e5d2e5
support publishing with WebRTC ( #1659 ) ( #1786 )
2 years ago
Alessandro Ros
e8124e2f56
support publishing H265 and AV1 tracks with Enhanced RTMP ( #1393 ) ( #1446 ) ( #1621 ) ( #1756 )
2 years ago
Alessandro Ros
225220ddd5
print warning in case no key frames are being received ( #1763 )
2 years ago
Alessandro Ros
2d17dff3b5
support publishing, reading and proxying MPEG-2 audio (MP3) tracks with RTMP ( #1102 ) ( #1736 )
2 years ago
Alessandro Ros
053f2ec282
rename repository and executable ( #1641 )
2 years ago
Alessandro Ros
2dffccf9c1
update gortsplib, gohlslib ( #1637 )
2 years ago
Alessandro Ros
e8bdad8a1e
rename Data into Unit ( #1556 )
2 years ago
Alessandro Ros
b461f15a4c
rpicamera: support changing parameters without interrupting the stream ( #1463 )
3 years ago
aler9
2de0941e5c
update gortsplib
3 years ago
aler9
e3fff72b7c
move format processors into dedicated folder
3 years ago
Alessandro Ros
5de600ffaa
support reading H265 tracks with HLS ( #1342 )
...
* support reading H265 tracks with HLS
* update README
3 years ago
aler9
fbf8e82db5
update gortsplib
3 years ago
Alessandro Ros
ad52b3fab7
Support publishing with RTMP and H265 (for OBS Studio) ( #1333 )
...
* support publishing with RTMP and H265 (for OBS Studio)
* rtmp source: block H265 tracks
3 years ago
Alessandro Ros
c778c049ce
switch to gortsplib v2 ( #1301 )
...
Fixes #1103
gortsplib/v2 supports multiple formats inside a single track (media). This allows to apply the resizing algorithm to single formats inside medias.
For instance, if a media contains a a proprietary format and an H264 format, and the latter has oversized packets, they can now be resized.
3 years ago
Alessandro Ros
e605727c78
produce same absolute time in RTSP and HLS ( #1249 )
...
* add a NTP timestamp to each data unit
* use that NTP timestamp in all protocols
3 years ago
aler9
282d155a4f
update gortsplib
3 years ago
Alessandro Ros
0943b269ab
Decode streams once and only when needed ( #1218 )
...
* split data into specialized structs
* move MPEG4-audio decoding into streamTrack
* restore video/audio synchronization in HLS muxer and RTMP server
* log decode errors
* move H264 decoding and re-encoding here from gortsplib
* add tests
* update gortsplib
3 years ago
aler9
85ce12199a
rtmp source: allow outgoing acknowledges
3 years ago
Alessandro Ros
820ba067f2
support RTMPS ( #1089 )
3 years ago
aler9
176f2f0729
rtmp: invert flag of InitializeServer() and InitializeClient()
3 years ago
Alessandro Ros
8c2b12a314
Add native support for the raspberry pi camera ( #1057 )
3 years ago
aler9
cb8aec8844
print track codecs into logs
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
055e08ac6c
remove "on" prefix from most communication functions between components
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
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
67e8a01d56
rtmp: split net.Conn from rtmp.Conn
3 years ago
aler9
bf1f45df32
rtmp: add conn handshake tests
3 years ago
aler9
08ddc9f83d
update gortsplib
3 years ago
aler9
13fb24da39
fix rtmp -> rtsp audio conversion ( #932 )
3 years ago