our last two protocols we're gonna take a look at are going to be S I p in RTP Now we have these two together because for S i p in RTP We need to understand the relationship between the two because they do have a relationship and there are protocols which carry relate that which work together
s I p stands for session initiation protocol and session initiation protocol is going to run over Port 50 60 Now. What session initiation protocol was going to do is it's going to open the door for RTP.
So what that means is, our session initiation protocol is not gonna really carry any Um, I put data there, but it's not gonna really carry any
data that we're going to use in our communications. It's not going to carry any video or voice data.
S I p A R T P R Standard are standard protocols that we typically use with connections like Boy Voice over Internet Protocol being able to make phone calls over the Internet, But s I, p and R T P out of the two RTP is going to be the ones that carry the data voice or the voice data.
So why are we using S I p? Why don't we just use standard RTP?
in our indicates, initiates the session and it indicates to the remote computer
toe open a port for communication.
So are s I p is going to jump through our different S i P servers to get to our location and then tell that certain and then tell that particular low in client. Okay, I want you to open a port so I can talk to you directly over our teepee.
So what do we What do we mean by that? Well, let's Let's take a look at this diagram here.
initiator. We're gonna make a VoIP call. We're gonna make a gonna make a void call or video streaming call using S i p and r T P.
So we have our we have our
and we have our in point
we're trying to call to We've talked about s i, p
and s I p is going to go through the servers that it needs to go through in order to get to our in client.
So we have our different
servers here that we have to go through.
And R s I p is going to
good first server, go to the second server, go to the inn client and then essentially say, hey, in client,
I need you to open a port
on this particular port and that port made very depending on our configuration of our RTP, the configuration that we have set up for our device. So that poor convey Ari.
So we say, Hey, in client, I need you to open up a port for me
so that in client says, Okay, I'll open up that port for you so we can initiate a connection
and then once we open up that port, we movinto RTP. Now, Artie P stands for real time protocol. Real time protocol is allows is to stream directly the video or audio or whatever else we need to stream in order to initiate that connection. And then, in this case, we have voice that we have a voice over Internet protocol. So we have a audio
streaming that we have going on real time protocol.
Now our teepee is beneficial for us because it detects out of sequence arrivals
which means our RTP protocol can detect if we have packets which are out of sequence. So if we're receiving packets which aren't right are RTP can detect that and it can make adjustments if necessary for that so we can RTP is more powerful there.
So now we have our initiated session
and are in Client has initiated has opened up of port and initiated back to us
And we have our RTP connection going on.
asking to open up the port
I think of it like you have a phone on particular carrier
and you only have so many minutes a month based on you calling somebody.
But you have unlimited texts and your buddy who you're calling your buddy who you want to call. They have
unlimited minutes a month,
but only if they initiate the call. So if they start the call, then you're good to go. But you you've run out of your minutes per month where you can initiate calls
So you have a limited text. So you text your buddy, you say, Hey, I need to call our
Hey, I need to talk to you. Can you give me a call.
That's sort of like your s I p You're you're not really transmitting any data. You're not telling them what you want to talk about. You just saying, Hey, can you give me a call?
You text that over, and then your buddy is gonna open up communications, and they're gonna initiate that RTP back, and then you're still gonna be able to talk back and forth, but
you had to first initiate using S i p.
So that's our relation trip between our sip and R r t p r *** Session initiation protocol running over 4 50 60 and r r T P r Real time protocol, which its port will vary depending on our customization and depending on how we've configured are set up for RTP protocol.