Presentation on theme: "By: Saba Ahsan Supervisor: Prof. Jörg Ott"— Presentation transcript:
1Multipath RTP Applying Multipath Communication to Real time Applications By: Saba AhsanSupervisor: Prof. Jörg OttConducted at Comnet, Aalto University of Science & Technology
2Contents Motivation Problem Statement Background MPRTP Protocol GoalsArchitectureMPRTP Header ExtensionImplementation – RAMP-UPReceiver Jitter BufferRAMP-UP SenderTesting and ResultsConclusion
3MotivationMost transport protocols select a single path for communication flow between two end hosts, even when multiple paths exist. Such flows are unable to fully utilize the available resources.Multihomed clients have more than one network interface. Multipath capability refers to the simultaneous use of multiple paths through the network, which may significantly improve performance and reliability.In real-time communication this could would improve the end-user experience by enhancing the QoS.Bandwidth-hungry applications such as video streaming and IP-TV can benefit from the increased, combined throughput available to multihomed clientsretransmission of lost data is often uncharacteristic of real-time traffic because of time constraints; multipath senders can avoid lossy paths or send redundant data over multiple pathssession-based real-time communication can benefit from the redundancy by implementing failover in case of network failures
4Problem StatementDesign a solution for the transport of real-time data while simultaneously using multiple paths on multihomed clients.Design of Multipath RTP (MPRTP) an extension of RTP protocol, with multipath capabilities.Design, implementation and testing of an MPRTP based solution for video streaming to a single receiver, when multiple paths exist between the sender and receiver.
5Background Real-Time Protocol (RTP) RTP is an end-to-end protocol designed for transporting real-time traffic such as voice and video, over multicast and unicast.It uses RTCP (Real-time Control Protocol) for monitoring the transmission quality, however it does not guarantee QoS.It is independent of the transport and network layers.A signalling protocol such as SIP or SDP is used for managing RTP sessions.It does not care about congestion control or fair usage like TCP.
7MPRTP Goals Increased Throughput Improved Reliability Compatibility Concurrent use of paths such that the combined available capacity is higher than the capacity of any individual pathImproved ReliabilityMPRTP should be able to transmit redundant streams on different paths for reliability and support fallback in case of path failures for robustness.CompatibilityApplication Compatibility: MPRTP stack must be capable of working with legacy RTP applications.Network Compatibility: MPRTP subflows should appear as RTP flows and be able to traverse through NATs and Firewalls.
8Architecture Each path represents an MPRTP subflow. Like RTP, MPRTP can work with different transport protocols.ApplicationMPRTPRTP…UDP/TCPIPPhysical
9MPRTP Specification Internet Path Management Path awareness and management of port+IP pair bindings. MPRTP is designed to use in-band signaling for path advertisements and/or connectivity checks. Interface discovery may be done using ICE.Packet SchedulingSplitting of data into multiple subflows across different paths.Subflow recombinationRecombining the subflows, so that it appears as a single stream to the applicationMPRTP SenderMPRTP ReceiverInternetsubflow 1subflow 2subflow 3MPRTP FlowGather characteristics of different paths and schedule packets accordinglyReorder the data correctly and hand over to application, send reports about quality
10MPRTP Header Extension for RTP RTP sequence numbers used for packet reordering of the streamFlow-specific sequence numbers increase monotonically for each path, independent of other paths.123456789102030V=2PXCCMPTSequence numberTimestampSynchronization source (SSRC) identifierContributing source (CSRC) identifiers ……RTP H-Ext IDlengthMPR_TypeFlow IDFlow specific sequence numberRTP payload …….
11RTP Adaptation for Multiple Paths – Using Percentage distribution MPRTP ImplementationRAMP-UPRTP Adaptation for Multiple Paths – Using Percentage distribution
12RAMP-UP Receiver Ordering is based on overall sequence number. Packets are inserted into the jitter buffer as soon as they arrive.Playout starts after a predefined latency period. We use 2 seconds for our testing.Late packets are discarded958647321TimePath 1Path 2Reordering in Jitter Buffer
13RAMP-UP Sender (1)RAMP-UP sender is designed for video streaming across multiple paths.We assume that the bitrate of the video is higher than the bitrate of any of the available paths and hence it is necessary to use more than one path.A common bottleneck may exist. However, if it is common to all available paths, then congestion/losses can not be avoided.The sender is not capable of reducing video bitrate.We utilize a non-aggressive approach, which implies that we do not put more traffic on a path unless necessary. This in turn implies that the full capacity of certain paths may never be known.
14RAMP-UP Sender (2)RAMP-UP uses percentage distribution on the paths. Percentages are assigned according to measured characteristics. This approach eliminates flapping and ensures equal distribution of traffic on all paths if video rate is increased.Measurements are based on data gathered by RTCP reports.All packets of a frame are sent on the same path.Initially, equal percentage is assigned to each path.Path 1 QueueTo ReceiverSender’s BufferDecision based on percentage levelPath 2 Queue
15RAMP-UP Sender (3)Using RTCP reports, the sender is able to calculate the bitrate observed on each path (TBi)The observed bitrate depends on the amount of traffic being sent on the path, hence the sender would only update bitrate values if they are higher than what was previously recorded, except if the ratio of lost packets (Li) is greater than 0 in the RTCP RR.Average packet size (Si) is calculated for each interval during which the bitrate was measured.If a path has continuous losses, it is considered congested, and in this case the observed bitrate is stored in another variable called CBi .The sender assigns a percentage of traffic to each path using TBi values if path is not congested, and CBi value if path is congested.Congestion condition is cleared if losses don’t appear for a predefined amount of time ( in our testing we use 25 seconds)
18Test SetupThe test environment consists of virtual machines running on a single physical machine.Network properties are emulated using Network Emulator (NetEm)MPRTP SenderMPRTP ReceiverRouter1Router2Router3Virtual Environment
19Results: Bitrate of data being sent on each path as measured by the sender when three paths are available. Path capacities are changed during simulation.Bitrate (kpbs)Time (s)
20Results: Percentages assigned to the paths over time Total Packets lost = 1.6%, Frames lost = 6%, BER = 1.8%Assigned RatiosTime (s)
21ConclusionIt is possible to achieve higher bitrates using multiple paths, which may help streaming higher quality videos.The extra paths may be used to avoid losses due to temporary congestion on any of the paths.Video streaming, is just one of the many applications of MPRTP.MPRTP protocol is still in its infancy.RAMP-UP focuses on video streaming only. The scheduling algorithm can be improved further. Multiple streams (voice/video, lip-sync) and rate-control mechanism can be incorporated.Many research opportunities arise from this studyMPRTP for mobile environments, 3G, GPRS & WLAN interfacesMPRTP for voice fallback