Ingo Oppermann
23c70d2077
Don't reflect read chunk size if it wasn't set before
2022-09-14 19:06:49 +02:00
Ingo Oppermann
6c0f2974f0
Increase RTMP client compatibility
2022-09-14 14:49:03 +02:00
Ingo Oppermann
f752080f4a
Respond to PingRequest messages
...
If the ACK window is too big, clients may send a PingRequest inbetween
which must be answered, despite an ACK will be sent later anyways. Otherwise
the connection will be torn down.
2022-07-28 20:07:19 +02:00
Ingo Oppermann
7098ea1efd
React on WindowAckSize, set PeerBandwidth hard
...
The SetPeerBandwidth command is now sent with the Hard(0) options
in order to force this value.
The WindowAckSize command from the peer is now respected if it is
not part of the handshake. Before this lead to no window size set
and therefore no ACKs sent to the peer. For clients that expect
such ACK (like Blackmagic ATEM Mini Pro) this caused aborting the
connection.
2022-07-28 18:13:04 +02:00
Ingo Oppermann
2102a8289c
Override existing certificates if files are given
2021-01-25 18:25:55 +02:00
Ingo Oppermann
10f57f856f
Use and clone provided TLSConfig
2021-01-25 17:53:08 +02:00
Ingo Oppermann
14eb6d9a95
Add RTMPS support for the server
2021-01-25 17:40:41 +02:00
Ingo Oppermann
68d2f4ed42
Allow to close a server
2021-01-12 17:30:00 +01:00
Ingo Oppermann
5c79045481
Allow counting transferred bytes
2020-12-27 18:40:52 +02:00
Ingo Oppermann
6b22b95ecc
Flush write buffer after writing AV tag
2020-04-17 17:06:57 +02:00
Ingo Oppermann
3049e1e9fb
Store data from onMetaData event
2020-04-17 15:59:41 +02:00
Ingo Oppermann
87468848a4
Fix import paths
2020-04-09 18:14:35 +02:00
Ingo Oppermann
caa009df9c
Continue probing even if pushing a tag failes
2020-04-09 18:06:04 +02:00
Josh Allmann
4003a2c806
Handle streams longer than 2^24 ms.
...
The FLV timestamp field is only 24 bits. A stream will hit this in
less than 5 hours, starting from a timestamp of 0. In this case,
write out the timestamp as an extended field for type-0 chunks
(type0 is the only output chunk type that is supported right now).
2018-02-13 19:44:50 -08:00
nareix
dfc1226880
add bits
2017-11-03 12:10:42 +08:00
Dustin Blackman
40b45c95aa
remove unused code
2016-11-05 11:29:50 -04:00
nareix
b3b189ca28
change flvio.Tag from interface to struct
2016-09-19 07:35:10 +08:00
nareix
8802fb5a95
rtmp: add HandleConn / OnPlayOrPublish / rxbytes,txbytes
2016-08-31 19:16:34 +08:00
nareix
39d98a7793
add rtmp UrlMuxer
2016-08-03 13:43:00 +08:00
nareix
4918d07822
rtmp: fix datarace in ListenAndServe
2016-08-02 20:10:21 +08:00
nareix
cb534aa104
rtmp: bufio using pio size
2016-07-30 14:36:28 +08:00
nareix
4b61d9daea
mv pio to bits/pio
2016-07-29 23:28:29 +08:00
nareix
87e9318f36
rtmp: send window ack
2016-07-28 23:09:03 +08:00
nareix
3902e48bdb
flvio/rtmp: add amf0/tag fill/parse mode
2016-07-23 21:17:42 +08:00
nareix
f4518a79aa
rtmp: add debug
2016-07-23 18:05:12 +08:00
nareix
f10cccf962
rtmp/flv: use common metadata
2016-07-18 00:41:21 +08:00
nareix
dc82fb15b3
rtmp: fmt pio
2016-07-18 00:11:15 +08:00
nareix
2df2747753
rtmp: fix handshake S0 != 3 bug
2016-07-18 00:10:45 +08:00
nareix
52b9f172a9
rtmp: improve write
2016-07-18 00:05:20 +08:00
nareix
4ad20c8a65
rtmp: expose SplitPath
2016-07-17 11:15:18 +08:00
nareix
2dea41f479
rewrite handler codec types logic, rm ts unused files
2016-07-14 00:33:57 +08:00
nareix
66bd404f1a
rtmp: fix splitPath
2016-07-13 22:42:17 +08:00
nareix
49340a40ec
rtmp: bugfix createURL
2016-07-13 20:20:01 +08:00
nareix
e3a02beada
add SPEEX codec
2016-07-13 15:11:11 +08:00
nareix
4b5f50e03f
flv/rtmp: packet read logic bugfix
2016-07-13 13:13:32 +08:00
nareix
e1f6aa15fe
flv/rtmp: combine probe and packet <-> tag logic in flv; improve flvio
2016-07-13 09:05:18 +08:00
nareix
6f32e25e03
add ServerDemuxer / ServerMuxer
2016-07-12 16:44:48 +08:00
nareix
4b181e84e0
rtmp: bugfix probe save videostreamindex
2016-07-12 15:57:51 +08:00
nareix
8b5871123f
rtmp: fix tcUrl
2016-07-12 14:04:55 +08:00
nareix
824149ada7
format: add supported codec types for muxer
2016-07-12 11:09:51 +08:00
nareix
46e601abda
rtmp: support conn.URL
2016-07-12 08:39:53 +08:00
nareix
18205e5206
rtmp: move DebugConn Debug to global var
2016-07-11 22:53:51 +08:00
nareix
9cac7971c4
use AVCC as H264 pkt.Data
2016-07-03 15:43:15 +08:00
nareix
ceaa849f40
rtmp: add connectPublish()
2016-07-02 16:30:44 +08:00
nareix
6092677199
rtmp: add WriteTrailer for Conn
2016-07-02 06:23:31 +08:00
nareix
bde39ebc16
rtmp: split connect from connectPlay
2016-07-02 06:23:13 +08:00
nareix
75b94c4087
rtmp: fix comment
2016-07-02 06:07:18 +08:00
nareix
987738ca73
redir format/cgo
2016-07-02 06:01:34 +08:00