Haha. I 've talked about some SIP application scenarios. I will write some theoretical and boring things in the future. Before that, let's continue to make it easy to tell you a story about how to learn HTTP.
At the very beginning, I took an HTTP book first. In short, it was a brick book. After reading the two chapters, we found that we should use the knowledge of TCP/IP. So let's look at TCP network programming. Two months later, I still don't know what HTTP is.
I hope you don't want to learn the above method. Of course, some geniuses are excluded. You can use the following method to better understand the SIP. In fact, you can use the following method to learn any technology:
1. First, let's take a look at this thing from half an hour to two hours. For example, search for something like HTTP entry and SIP entry on baidu. Note: Do not open other related things.
2. For the next open-source library, there are osip and exosip links for SIP, and Google will search for a sack of links. Note: Do not go into the source code at this time. You only need to check the interfaces of these libraries for usage.
3. Write the minimum example by yourself. At this time, you need to use the open-source library just now to compile and run your example. Ah, the sense of accomplishment begins at this time. At this time, you will encounter many small details, which are also the problems you encounter when writing business programs.
4. Repeat 1 ~ Step 3. You can go deeper at this time. For example, you can look at the HTTP architecture and messages. You can look at the code structure in the Open Source library. small examples can be more complex and robust.