Commit Graph

66 Commits

Author SHA1 Message Date
Joni Räsänen 2341238e7e rtcp: Get cname to rtcp for SDES packet 2022-07-07 19:29:08 +03:00
Joni Räsänen 41af90b1cf rtcp: Use session bandwidth to calculate interval
This is not full implementation of RTCP interval calculation, but it is
a step in the right direction.
2022-06-17 12:00:17 +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 a6f9afcd28 common: Add function for getting SSRC of media_stream
Came across needing to know the local SSRC when trying to separate
media streams from one another.
2022-05-16 10:52:55 +03:00
Joni Räsänen ced9ea4271 common: Use unique_ptr to manage holepuncher memory 2022-03-03 11:52:15 +02:00
Joni Räsänen 468e9d82e5 common: Use unique_ptr for managing memory of media_ 2022-03-03 11:48:50 +02:00
Joni Räsänen 737898d5dc common: Use unique_ptr for managing reception_flow memory 2022-03-03 11:43:26 +02:00
Joni Räsänen e62e59af9f common: Remove duplicate code in media_stream in init 2022-03-03 11:39:12 +02:00
Joni Räsänen 8e05f3dbc7 rtcp: Use shared_ptr to manage rtcp memory 2022-03-03 10:48:51 +02:00
Joni Räsänen 97317fed22 srtp: Use shared_ptr to manage srtp and srtcp memory 2022-03-03 10:44:04 +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 de639fe861 common: Manage rtp memory using shared_ptr 2022-03-03 10:20:21 +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
Joni Räsänen 3437e194aa common: Remove extra ; from end of namespaces
This was correctly giving warnings with GCC --pedantic
2022-02-28 08:51:38 +02:00
Joni Räsänen f62ade9c70 Merge branch 'example_improvements'
# Conflicts:
#	CMakeLists.txt
#	src/formats/h264.hh
#	src/formats/h265.hh
#	src/formats/h266.hh
#	src/formats/h26x.cc
#	src/formats/h26x.hh
#	src/lib.cc
#	src/pkt_dispatch.hh
#	src/rtp.cc
#	uvgRTP.pro
2022-02-22 14:03:49 +02:00
Joni Räsänen 3b5acb7f88 build: Move includes to include/uvgrtp folder 2021-07-09 12:11:05 +03:00