Commit Graph

7 Commits

Author SHA1 Message Date
Aaro Altonen 3312a0b559 Add getter for RTP payload format 2020-08-15 04:05:42 +03:00
Aaro Altonen 1a3dd9ca43 Store maximum payload size to RTP context
Store the size to context because different streams may have different
maximum payload sizes. For example, an SRTP stream with RTP authentication
enabled has a smaller payload size than a normal RTP stream.
2020-08-15 04:05:42 +03:00
Aaro Altonen 2af23d653e Add get_clock_rate() to rtp.cc 2020-06-16 06:41:14 +03:00
Aaro Altonen c997a94c2a Add ability to use custom timestamps for media
Instead of using uvgRTP's internal RTP timestamps, let user specify
timestamp for the media when push_frame() is called.

Instead of propagating the timestamp through the send stack, store
the timestamp value temporarily to the RTP context of the media
stream and reset it after push_frame() is done.

User should not mix and match uvgRTP's internal RTP timestamps with
custom timestamps so either all of the calls or none of the calls should
given a timestamp to push_frame().

Custom timestamps should be increased in accordance with the media clock
rate, otherwise problems may occur with media reception.
2020-06-02 08:25:34 +03:00
Aaro Altonen c62194aea2 Add ability to specify custom payload type 2020-04-28 11:18:13 +03:00
Aaro Altonen c2e7eb1bc1 Rename kvzRTP to uvgRTP 2020-04-28 11:18:07 +03:00
Aaro Altonen 8409706749 Create separate include directory
Create separate include directory which follows the kvzRTP include
style to make it easy for external applications to use kvzRTP
2020-04-22 04:58:41 +03:00