Peers have to exchange SDP data with the help of the signaling channel in order to establish a connection. The SDP is the first part of the peer connection. When we start using RTCPeerConnection object later we will be able easily print this to the javascript console. The SDP covers media description and media constraints for a given user. The value is a machine-readable configuration value. The key is a single character that sets the type of the value. The SDP is string data containing sets of key-value pairs, separated by line breaks − It has been used in a vast amount of other types of applications before WebRTC like phone and text-based chatting. The SDP is a well-known method of establishing media connections as it appeared in the late 90s. Simply put we need a string-based profile with all the information about the user's device. It also needs to be easily transportable. It does not deliver the media data but is used for negotiation between peers of various audio and video codecs, network topologies, and other device information. It is a protocol that is intended to describe media communication sessions. The SDP is an important part of the WebRTC.
0 Comments
Leave a Reply. |