Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 65ff0dfa authored by Kim Sungyeon's avatar Kim Sungyeon Committed by Lajos Molnar
Browse files

VT: ARTPWriter: Enhanced ARTPWriter as a RTP output



Enhances ARTPWriter that sends RTP packets to network.
Code modification as per RFC 3550, RFC 1889, RFC 894.

1. Interfaces are added to provide local-ip and remote-ip address to ARTPWriter.
2. By the RFC 3550, RTP protocol is run on top of UDP typically.
2-1. A port number for RTP is EVEN.
3. By the RFC 3550, RTCP protocol exists with RTP as coupled one.
3-1. By the RFC 1889, a port number for RTCP is the next ODD number of RTP port.
4. SPS/PPS are sent for every I-frame.
   Basically encoder generates SPS/PPS at the first video stream.
   But those can be lost because RTP is run on UDP.
   So those are sent for every I-frame, and this is common action for RTP.
5. By the RFC 894, the maximum length of an IP datagram sent over an Ethernet is 1500 byte.
   A packet would be fragmented if its size overs.
   So some margin is needed for various cases. (various headers for UDP, RTP, encryption, etc...)

Change-Id: I34e18ed5ada6b51be3645eb8f725a6c16fe4878d
Signed-off-by: default avatarKim Sungyeon <sy85.kim@samsung.com>
Signed-off-by: default avatarByeongjo Park <bjo.park@samsung.com>
Merged-in: I34e18ed5ada6b51be3645eb8f725a6c16fe4878d
parent 86cba9a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment