Commit Graph

7 Commits

Author SHA1 Message Date
Aaro Altonen f938750194 Start the RTP packet dispatcher in pkt_dispatch.cc 2020-08-05 09:10:16 +03:00
Aaro Altonen 0dd3d67655 Spawn thread for RTP packet dispatcher 2020-08-05 08:18:29 +03:00
Aaro Altonen 43e0452bfa Pass RTP context flags to RTP packet dispatcher and handlers
Context flags may contain important information about how a packet
should be handled (such as RCE_FRAGMENT_GENERIC or RCE_HEVC_NO_INTRA_DELAY)
2020-08-04 13:10:54 +03:00
Aaro Altonen 91a12af92d Add ability to return an RTP frame from packet handler
When a complete RTP frame has been received, the packet handler
must return the frame to RTP packet dispatcher which then returns
the frame to user either through frame queue or receive hook
2020-08-04 08:39:12 +03:00
Aaro Altonen c2bdf3a4fd Implement pull_frame() for RTP packet dispatcher 2020-08-04 08:39:12 +03:00
Aaro Altonen fc597fd2f8 Add receive hook to RTP packet dispatcher 2020-08-04 08:39:12 +03:00
Aaro Altonen ff583c3cdd Implement RTP packet dispatcher
Packet dispatcher is responsible for doing receive-related socket operations
and dispatching the received UDP datagram to the installed packet handlers.

Packet dispatcher goes through all installed handlers until a suitable
handler for the packet is found.
2020-08-01 15:15:49 +03:00