[Work Notes] PJSIP Package Build in OpenWrt

There is a default pjsip package in the openwrt but it links to the extension package of ltq-tapi and oss. What I need first is the package without extra packages. So I try to create the libraries using the latest version 2.1 for the experiment. First, the Makefile of the package: include $(TOPDIR)/rules.mk PKG_NAME:=pjsip2 PKG_VERSION:=2.1 PKG_RELEASE:=0 PKG_SOURCE:=pjproject-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://www.pjsip.org/release/$(PKG_VERSION)/ PKG_MD5SUM:=310eb63638dac93095f6a1fc8ee1f578 PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 PKG_BUILD_DIR:=$(BUILD_DIR)/pjproject-$(PKG_VERSION).$(PKG_RELEASE) include $(INCLUDE_DIR)/package.mk define Package/pjsip2 SECTION:=lib CATEGORY:=Libraries URL:=http://www.pjsip.org/ MAINTAINER:=John Crispin <[email protected]> TITLE:=pjsip2 DEPENDS:=+libuuid endef CONFIGURE_ARGS += \ --disable-floating-point \ --disable-g711-codec \ --disable-l16-codec \ --disable-g722-codec \ --disable-g7221-codec \ --disable-gsm-codec \ --disable-ilbc-coder \ --disable-libsamplerate \ --disable-ipp \ --disable-ssl \ --disable-oss \ --disable-sound define Build/Configure (cd $(PKG_BUILD_DIR); autoconf aconfigure.ac > aconfigure) $(call Build/Configure/Default) endef define Build/Compile CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \ CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS) -lc $(LIBGCC_S) -lm" \ $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) endef define Build/InstallDev $(INSTALL_DIR) $(1)/usr/pjsip2 $(CP) $(PKG_INSTALL_DIR)/usr $(1)/usr/pjsip2 endef $(eval $(call BuildPackage,pjsip2)) We encounter the following problem: ...

March 12, 2013 · 2 min · 260 words · ChenFu Kuo

[Industry Observation] Evernote Was Hacked

I’ve already change my tool from the notepad++ or Microsoft’s word to Evernote to make a quick note for several months. It’s quite simple to use and the data can be synchronize to cloud and I could access my notes through network everywhere anytime. There is a news that Samsung’s refrigerator built in Evernote for food management and Samsung show this device in the CES show. The story at this moment, I think Evernote make his products go into a new era. However, the morning sun never lasts a day. Evernote was hacked and the customers information were possibly stolen last week. ...

March 7, 2013 · 2 min · 216 words · ChenFu Kuo

[Industry Observation] Smartvue Cloud Architecture

There is a company that we discuss recently because of their elegant embedded NVR device. I just talk about the private cloud and public cloud roles in the surveillance system in previous article. http://frankuo.blogspot.tw/2013/02/pure-public-or-hybrid-cloud-for.html Smartvue’s product architecture is a case of the hybrid cloud. Let’s see the whole system they define. We can take S9 server as the private cloud server for local storage and playback. If we remove this part, the total system become a pure public cloud type. Although the pure cloud system is simpler, there are still some limitations at this moment. Smartvue let the high resolution video to be stored on the local server and high or low resolution video can optionally be put on the secure cloud. The reason is obvious that the network environment of LAN is still much clean and fast than WAN and all high resolution video can be saved totally without any loss. ...

March 3, 2013 · 1 min · 173 words · ChenFu Kuo

[Tech Insights] Firefox OS - Liberate the App Stores

I saw a news on TV today that about Firefox OS for mobile phone and it got my curiosity. So I go Mozilla’s web site to see what’s that about. See the link: http://www.mozilla.org/en-US/firefox/partners/# The first page have the overview of the Firefox OS. The point to me is following picture. Some of telecommunication operators and device manufacturer get involved in the Firefox OS. It shows that the operators and manufacturer want to liberate the apps stores from the providers like Apple, Google. ...

February 28, 2013 · 1 min · 188 words · ChenFu Kuo

[Work Notes] Liberated Networking Technology

Our company updated the homepage to a brand new look. There is the word “Liberated” used to describe the new networking technology we implemented. According to the dictionary, I’m most likely aligned with the description “free from traditional social restraints” — because we are trying to make fundamental changes in every domain we enter. It’s an interesting journey. Although it’s not 100% correct, I still want to record what I saw. I plotted the company’s product map based on personal observation from the webpage: ...

February 27, 2013 · 1 min · 124 words · ChenFu Kuo

Liberated networking technology

Our company update the home page to a brand new picture. There is a name ‘Liberated’ to describe the new networking technology we implemented. According to the dictionary, I’m most likely the description “free from traditional social restraints” because we are trying to make the fundamental change in different area that we enter. It’s an interesting journey to me. Although it’s not 100% correct, I still want to record what I saw here. I plot the company’s product map simply by personal thinking as follow from the webpage.

February 27, 2013 · 1 min · 88 words · ChenFu Kuo

[Miscellaneous] Peking University Tickets King — Ji-Yang Pei

There is a message post on Facebook by my former boss that talk about a guy in China who help people to order the ticket before important holidays. He is a Peking University student whose name is Ji-Yang Pei (裴濟洋), 23 years old. There is a report from China’s TV station and the link is as following. http://dailynews.sina.com/bg/chn/chnlocal/phoenixtv/20130222/01194273327.html In China, people who left home for working would go home every Chinese Lunar New Year. It is the biggest human migration period in the world and it’s quite hard to get a ticket to go home. Pei provide more opportunity for those people to get a ticket especially the underprivileged ones in past three years. Later, he did not just provide the fish but also teach us how to fish. Pei post a thousand words of article on the internet to let us know how to do it. Because of this, he become a famous person, lots of people call him the Ticket King of Peking University. ...

February 25, 2013 · 2 min · 381 words · ChenFu Kuo

[Tech Insights] Panasonic's 3D CMOS Image Sensor

3D image and video has been booming in recent years due to the entertainment industry — movies and gaming. Many kinds of 3D devices have appeared, including 3D cameras and 3D TVs. The early approach to capturing 3D images was simply to strap two cameras together and post-process the two photos into one. GoPro had a similar structure for their Hero camera — you’d buy two cameras with some accessories to create it. ...

February 25, 2013 · 2 min · 308 words · ChenFu Kuo

[Work Notes] RabbitMQ — AMQP Protocol Notes

After the RabbitMQ server and client are set up, I started learning more about the RabbitMQ system. The core of RabbitMQ is based on the AMQP protocol. There’s lots of information on Wikipedia: http://en.wikipedia.org/wiki/Advanced_Message_Queuing_Protocol AMQP originated in the banking industry — which is why terminology like “broker” is used in the AMQP specification. Here is the model of AMQP. If we want to make an application with two-way communication, we have to make the application act as both publisher and consumer. ...

February 25, 2013 · 1 min · 185 words · ChenFu Kuo

RabbitMQ - amqp protocol note

After the RabbitMQ server and client are setup, I start to learn more about the RabbitMQ system. The core of RabbitMQ is based AMQP protocol. There are lots of information we can get on wiki: http://en.wikipedia.org/wiki/Advanced_Message_Queuing_Protocol The AMQP is basically start from bank industry and that’s why some related terminology like broker are used in AMQP specification. Here is model of the AMQP. If we want to make the application to be two way communication, we have to make the application with publisher and consumer characteristics. ...

February 25, 2013 · 1 min · 110 words · ChenFu Kuo