Heikki Tampio
478a06408e
multiplex: Add ability to send user packets
2023-05-12 13:25:26 +03:00
Heikki Tampio
40f7329ea6
common: Add return values to get_configuration_value() in media_stream
2023-05-11 12:31:46 +03:00
Heikki Tampio
371f718be1
multiplex: Add tests for pull_frame() multiplexing, also improve RTCP tests
2023-05-11 10:23:48 +03:00
Heikki Tampio
2f886af85d
multiplex: Add multiplexing for pull_frame()
2023-05-11 09:20:17 +03:00
Heikki Tampio
d9aae2d5bf
multiplex: Improve documentation
2023-05-10 15:25:03 +03:00
Heikki Tampio
0dde713b63
multiplex: Fix bug when closing RTCP report reader
2023-05-10 14:22:15 +03:00
Heikki Tampio
3057255ed2
multiplex: Handle stopping reception_flow and RTCP
2023-05-10 08:40:10 +03:00
Heikki Tampio
01d84f303a
multiplex: Modify RTCP to use socketfactory for socket management
2023-04-28 12:16:21 +03:00
Heikki Tampio
8f8e58ba01
multiplex: Map hooks to remote SSRCs
2023-04-26 14:56:17 +03:00
Heikki Tampio
e276490db0
multiplex: Separate reception_flow and socketfactory
2023-04-25 13:51:45 +03:00
Joni Räsänen
5c666b1720
common: Switch frame storage type from vector to deque
...
Deque seems more logical (and faster) since elements are
pushed back and taken from the front.
2022-09-12 16:14:22 +03:00
Joni Räsänen
21c9528a0e
common: Use the correct MTU size for ring buffer
...
Using the new correct MTU size seems to work. This enables much more
slots in the ring buffer, which in turn helps a lot with receiver
performance.
2022-09-12 14:02:35 +03:00
Joni Räsänen
f915b2aa17
common: Remove most MSVC compiler warnings
2022-08-25 17:30:09 +03:00
Joni Räsänen
f9a89f7408
common: Rename all flags to distinguish between types
...
I've already created one bug by not being able to distinguish between
different flags. uvgRTP has four types of flags: enable, context, rtp
and socket. I'm planning on adding one more flag type which makes this
a good point to rename all flags.
2022-08-23 09:47:41 +03:00
Joni Räsänen
0d795f5f8a
common: Remove buffer expansion feature from receiver
2022-08-19 12:26:31 +03:00
Joni Räsänen
fabd03e5c0
common: Try to improve the receiver performance by locking less
2022-08-19 12:22:52 +03:00
Joni Räsänen
03914e98c4
common: Fix a bug causing packets loss and duplicate frames
...
The std atomic didn't work as I thought and was causing rare errors
when the buffer size was increased. Now tests are mostly free of
packet loss apart from one lost frame at start possibly due to too
little time allocated for start of tests.
2022-08-19 12:22:51 +03:00
Joni Räsänen
088fc585ed
common: Add const qualifiers where applicable
2022-05-16 12:02:37 +03:00
Joni Räsänen
48bab5a54f
common: Try releasing reserved memory
...
If a frame was caught in a buffer without querying by user, it would
not get deleted. This commit tries to free those frame buffers.
2022-03-03 13:28:10 +02:00
Joni Räsänen
32839127f4
common: Use shared_ptr for managing socket memory
2022-03-03 10:31:36 +02:00
Joni Räsänen
cce653b9b7
common: Rename pkt_dispatch to reception_flow
...
The dispatching is what technique the class uses, but it does not
describe its responsibilities at all making it very hard to figure out
what role it plays in the architecture just by looking at the name.
Also removed all references to obsolete System call dispatcher
(different concept) in all the comments.
2022-03-03 09:16:09 +02:00