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
aler9
282d155a4f
update gortsplib
3 years ago
Alessandro Ros
6471800b52
rtmp server: fix responses to ping requests ( #1245 )
3 years ago
Alessandro Ros
8bee4af86a
api, metrics: add number of bytes received and sent from/to all entities ( #1235 )
...
* API: number of bytes received/sent from/to RTSP connections
* API: number of bytes received/sent from/to RTSP sessions
* API: number of bytes received/sent from/to RTMP connections
* API: number of bytes sent to HLS connections
* API: number of bytes received from paths
* metrics of all the above
3 years ago
aler9
f1fb00b80f
update golangci-lint
3 years ago
aler9
27ae0b9812
rtmp client: validate command ID of results
3 years ago
aler9
59391a4366
rtmp client: fix play command id
3 years ago
aler9
d4945ab7bc
rtmp: cleanup
3 years ago
aler9
b06498d24b
rtmp: remove useless comments from tests
3 years ago
aler9
ca46d56184
fix linting
3 years ago
aler9
e255d004e3
rtmp server: change value of MessageStreamID of outgoing messages
3 years ago
aler9
4990e98993
rtmp: fix reading metadata from onMetadata
...
when there's no audio and Conn is a client, onMetadata was skipped and
tracks were read by using the fallback method. Fix this.
3 years ago
aler9
a19a20abfb
rtmp: set right command ID when replying to a play request
3 years ago
aler9
176f2f0729
rtmp: invert flag of InitializeServer() and InitializeClient()
3 years ago
aler9
0db2d3eb8c
rtmp: improve performance
...
reuse existing structs instead of allocating them during every read()
3 years ago
aler9
af7a815f83
update gortsplib
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
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
e771f9eba0
rename file
3 years ago
aler9
45c1370145
rtmp: normalize API
3 years ago
aler9
41b08c9f50
update gortsplib
3 years ago
aler9
ec4c40b222
update gortsplib
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
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
aler9
ba83ef65d2
rtmp: add message reader / writer
3 years ago
aler9
76e47686b2
rtmp: rename Message into RawMessage
3 years ago
aler9
959b78586a
rtmp: add MessageReader
3 years ago
aler9
1f6d92bc3a
rtmp: add additional message types
3 years ago
aler9
180db31166
rtmp: support negative timestamps in MessageWriter
3 years ago