Posts

Showing posts from July, 2014

Mac OS - How to set multi owner for file / dir

Are you using multi profiles on mac ? Are you have a dir and file want to share with these profiles ? (for me, this is dropbox) But when read/write in these files, you usually be asked for password ?  The solution is add more owner to this file (by mouse), but when you need to add more dir, or sub dirs/files => so, using mouse and UI is terrible in this case. +_+! Mac OS have another mod call ACL - Access Control Lists which can help you (for full of docs, please read here:  mac osx acl ) in this post, I just want to show a some simple mod I use: read/write, and how to use it: - this is basic command structure (note as parenthesis) $ chmod +a “<user or group> allow <permission>” - view list of permission $ ls -le to show acl permissions - dirs permission: directory: list,add_file,search,delete,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown,file_inherit,directory_inherit

How to add custom media codec to pjsip

How to add custom media codec to pjsip Hi, in this post, I will show you how to add a custom codec to pjsip 2.2.1 Introduction: http://www.pjsip.org pjsip is a very strong and widely use in voip. you can combine pjsip with kamailio, stund, turn server, freeswitch to build chat application like Skype with many well feature like message, call, conversation.v.v. http://www.opus-codec.org opus is a lightweight media codec with very good quality but also cost minimum bandwidth (you can customize it bitrate yourself) to port opus codec you should choose a codec and follow it config (gsm for example) (This tutorial I read from http://www.piemontewireless.net/ , but now, this link is no longer exist) A little bit you need to know about pjsip build system (make file) pjsip use a set of make files to build, if you familiar with gnumake, it’s very easy to understand pjsip. but if you are not, here are some tips to help you easily maintain pjsip and solved bug when buid notice abou