Alessandro Ros
a1396206b5
convert Tracks into Medias and Formats ( #155 )
...
* split tracks from medias
* move tracks into dedicated package
* move media into dedicated package
* edit Medias.Marshal() in order to return SDP
* add medias.Find() and simplify examples
* improve coverage
* fix rebase errors
* replace TrackIDs with MediaIDs
* implement media-specific and track-specific callbacks for reading RTCP and RTP packets
* rename publish into record, read into play
* add v2 tag
* rename tracks into formats
2022-12-11 22:03:22 +01:00
Alessandro Ros
7951b2e4af
allow to set NTP of outgoing packets in both client and server ( #148 )
2022-11-14 16:55:40 +01:00
aler9
12c8845fef
client: add variables to store received and sent bytes
2022-11-10 22:15:34 +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
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
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
Alessandro Ros
df7336b5e8
implement packet reordering for UDP / Multicast transports ( #132 )
...
* implement packet reordering for UDP transport
* rtcpreceiver: stop handling unordered / duplicate packets
* remote useless Sleep() from tests
2022-07-05 23:29:03 +02:00
aler9
ac910c63db
rename rtpproc into rtpcleaner
2022-06-11 19:50:38 +02:00
aler9
92ed04ad6c
optimize RTP packet handling
2022-06-11 19:11:24 +02:00
aler9
98b6515c33
move RTP packet handling into separate package
2022-06-11 13:47:26 +02:00
aler9
ff34f5ac1d
improve performance
2022-04-10 15:12:33 +02:00
aler9
3123346397
improve performance
2022-04-10 13:28:45 +02:00
aler9
7bf907e94c
improve performance
2022-04-10 11:29:15 +02:00
aler9
bfe4e8cdaa
automatically remux oversized RTP/H264 packets; drop parameter ReadBufferSize
2022-04-09 20:16:14 +02:00
aler9
b1a4b52090
fix multicast TTL; set default multicast TTL to 16 ( https://github.com/aler9/rtsp-simple-server/issues/873 )
2022-04-09 11:26:23 +02:00
aler9
f4efe9ceb5
client: parse incoming RTP/H264 packets; fix RTCP receiver jitter
2022-04-08 16:45:09 +02:00
aler9
0463e6b510
server: parse incoming RTP/H264 packets; fix RTCP receiver jitter
2022-04-08 16:45:09 +02:00
aler9
9b4de46a08
client: cleanup handling of UDP remote address
2022-03-18 15:28:47 +01:00
aler9
e12b22ae77
fix encoding of RTP packets with padding
...
this fixes a SIGSEGV with GStreamer
2022-03-08 12:47:55 +01:00
aler9
94aaa6719d
client: fix support for ReadBufferCount > 1
2022-03-07 22:36:19 +01:00
aler9
b7df36d4ad
client: decode and encode RTP/RTCP packets
2022-02-18 00:03:39 +01:00
aler9
8251fe3556
fix comments
2022-01-31 18:39:08 +01:00
aler9
9603037fb3
client: fix panic
2022-01-31 09:59:02 +01:00
aler9
fe976f0a98
client: slightly improve performance
2021-12-08 12:52:13 +01:00
aler9
f7fc48b5ee
client: rename lastFrameTime into lastPacketTime
2021-12-07 20:25:58 +01:00
aler9
62de998ba0
client: improve UDP write performance by removing mutex
2021-12-07 20:24:20 +01:00
aler9
1878a72fd9
client: rename frameBuffer into readBuffer
2021-12-05 13:13:28 +01:00
aler9
1a55cd6abf
client: name 'reader' the reader routine
2021-12-05 13:13:21 +01:00
aler9
870687d91d
client: send receiver reports to server even with AnyPortEnable ( https://github.com/aler9/rtsp-simple-server/issues/698 )
2021-11-30 22:23:24 +01:00
aler9
d5bdc197be
allow client and server to override most parameters
2021-11-18 12:17:04 +01:00
aler9
ba7f9aff25
client: support reading from servers that use random UDP ports ( https://github.com/aler9/rtsp-simple-server/issues/691 )
2021-11-13 10:13:54 +01:00
aler9
ed2f712db2
improve UDP performance
2021-11-12 21:56:32 +01:00
aler9
922d74b940
client: remove Client from OnPacket* arguments
2021-11-12 18:01:27 +01:00
aler9
9ba761298d
remove StreamType
2021-11-12 18:01:27 +01:00
aler9
a22116e66e
client: turn ReadFrames into OnPacketRTP, OnPacketRTCP
2021-11-12 18:01:27 +01:00
aler9
d1d766658b
client: merge Client and ClientConn
2021-11-12 18:01:27 +01:00
aler9
eef010a6e0
client: rename clientConnUDPListener into clientUDPListener
2021-11-12 18:01:27 +01:00