aler9
ae0df8d4c9
use named constant for MPEG4-audio object type
2022-11-14 16:50:21 +01:00
aler9
8fc6bf35ae
improve client-read examples in order to setup only needed tracks
2022-11-14 16:05:14 +01:00
aler9
402cae203e
rename aac examples into mpeg4audio examples
2022-11-14 15:59:49 +01:00
aler9
3c358e9cfd
add client-publish-codec-pcma example
2022-11-14 15:56:45 +01:00
aler9
54b701049b
add *codec* to codec-related examples
2022-11-14 15:54:40 +01:00
aler9
4a3ab9a5fe
rtpmpeg4audio: cleanup
2022-11-14 15:50:17 +01:00
Alessandro Ros
764ac1ce35
rtph264: fix decode error ( #150 )
...
Intact NALUs received after corrupted NALUs were wrongly discarded.
2022-11-14 14:30:30 +01:00
aler9
12c8845fef
client: add variables to store received and sent bytes
2022-11-10 22:15:34 +01:00
aler9
62f597457b
fix support for 32bit architectures
2022-11-10 22:06:33 +01:00
aler9
d75423d185
rename ReadBytes and WrittenBytes into BytesReceived and BytesSent
2022-11-09 19:28:05 +01:00
Alessandro Ros
95d1562735
server: add methods to get read and written bytes ( #147 )
...
ServerConn.ReadBytes()
ServerConn.WrittenBytes()
ServerSession.ReadBytes()
ServerSession.WrittenBytes()
2022-11-09 13:41:48 +01:00
aler9
9029c3a9a3
clarify error
2022-11-09 12:54:35 +01:00
Jon Lech Johansen
76460d6404
Fix parsing of Transport header with multiple transports. ( #145 )
...
* Fix parsing of Transport header with multiple transports.
* Lint.
* Add test for Transport header with multiple transports.
* Filter out unsupported transports.
* Handle multicast properly when filtering out unsupported transports.
* Minor code cleanup.
* add Transports.Unmarshal(), add additional tests
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com >
2022-11-09 12:00:33 +01:00
aler9
16e4e3c2ef
simplify example
2022-11-07 22:01:39 +01:00
aler9
37e2070c91
move all tests under same workflow
2022-11-07 10:17:59 +01:00
aler9
b1ed0a8abb
rtcpreceiver: rename variable
2022-11-05 17:26:52 +01:00
aler9
f20350d3d0
rtcpsender: improve precision of NTPTime
2022-11-05 17:26:35 +01:00
aler9
ededb490bc
server: when a session is closed, close all associated connections
...
regardless of the fact that they use TCP or UDP
2022-11-03 21:10:26 +01:00
aler9
9216576d49
server: allow to associate user data to connections
2022-11-03 12:57:42 +01:00
aler9
08a16e7b38
server: allow to associate user data to sessions ( #50 )
2022-11-03 12:02:38 +01:00
aler9
d3c23a849c
cleanup
2022-11-02 17:46:39 +01:00
aler9
32f611270c
add option to disable automatic RTCP sender reports ( #111 )
2022-11-02 17:32:42 +01:00
aler9
01f34cb449
improve coverage
2022-11-02 17:18:13 +01:00
Alessandro Ros
7a4c7d6d66
remove h264 decoding and re-encoding ( #144 )
...
* stop re-encoding H264
* stop decoding H264
* improve tests
2022-11-02 14:38:05 +01:00
aler9
58bc92133a
client: generate RTCP sender reports when publishing with TCP too
2022-11-02 12:26:28 +01:00
aler9
89aa62d01b
try to fix DTS extraction of nvenc H264 streams ( https://github.com/aler9/rtsp-simple-server/issues/1002 )
2022-11-01 19:13:32 +01:00
aler9
dbb6934a3c
server: wait for a packet with DTS equal to PTS before filling RTP-Info
2022-11-01 11:20:23 +01:00
aler9
84cb8a7004
cleanup server-h264-save-to-disk example
2022-11-01 10:24:36 +01:00
Alessandro Ros
035ee70202
speed up tests ( #143 )
2022-11-01 10:13:07 +01:00
aler9
d9d6227906
client: simplify usage of Setup()
2022-11-01 09:58:08 +01:00
aler9
0e6a0b8b25
call OnDecodeError when rtpcleaner returns an error
2022-10-31 18:51:29 +01:00
aler9
b1f72f9392
return error in OnDecodeError when there are oversized UDP packets
2022-10-31 15:53:15 +01:00
aler9
5a5f454814
rtpreordered: improve performance
2022-10-31 15:14:07 +01:00
aler9
e8fde26d55
return error in OnDecodeError when there are lost RTP packets
2022-10-31 15:05:42 +01:00
aler9
30e029011b
add OnDecodeError callback to both client and server
...
This allows to detect decode errors of RTP and RTCP packets
2022-10-31 12:36:30 +01:00
aler9
9b5071f505
update docs
2022-10-31 10:05:34 +01:00
aler9
d40f9a53c9
examples: insert SPS/PPS before IDR groups once
2022-10-29 17:07:09 +02:00
aler9
29e624aad9
rename mpegtsencoder into mpegtsmuxer
2022-10-29 17:02:49 +02:00
aler9
b3cde905f7
add server-h264-save-to-disk example
2022-10-29 16:56:03 +02:00
aler9
6e6be34636
support generic tracks with multiple formats ( https://github.com/aler9/rtsp-simple-server/issues/1103 )
2022-10-28 19:10:54 +02:00
aler9
394c2f0696
client: support FritzBox 660 Cable ( https://github.com/aler9/rtsp-simple-server/issues/1119 )
2022-10-28 16:49:28 +02:00
aler9
363ed38625
server: fix memory leak
...
(https://github.com/aler9/rtsp-simple-server/issues/1206 )
RTCPSender was not closed when its corresponding stream was closed
2022-10-28 16:27:18 +02:00
aler9
cc9dcae08a
server: make ServerStream.Close() thread-safe
2022-10-28 16:22:31 +02:00
aler9
630b1ebce1
change and check error message
2022-10-28 15:28:05 +02:00
aler9
c51fddc784
server: move serverMulticastHandler inside serverStreamTrack
2022-10-28 14:56:03 +02:00
aler9
0b75c240c7
server: fix bug that allowed two readers to use the same UDP ports
...
UDP ports of a reader that performed a SETUP request, but not a PLAY
request, were not taken into account when checking port availability
2022-10-28 14:39:23 +02:00
aler9
145b21ef3d
update docs
2022-10-28 14:11:58 +02:00
aler9
87e9036976
rtptimedec: increase threshold of negative differences
2022-10-26 16:53:27 +02:00
aler9
7d8e3cf5bc
improve tests
2022-10-21 17:02:13 +02:00
Tristan Matthews
0fd8773b35
track_h264: avoid appending empty sps to fmtp line ( #129 )
...
This avoids adding fmtp lines of the form "sprop-parameter-sets=" with no value.
2022-10-21 16:58:12 +02:00