Sometimes it is useful to detach your application from the console terminal. It may be because you're building a daemon or simply because you don't want the application closing when the user ends his terminal session.
Sunday, December 13, 2015
Sunday, November 8, 2015
C++: splitting strings
There are multiple ways of splitting or tokenizing strings in C++. I'll enumerate below four types that seem most used and/or useful.
Saturday, October 3, 2015
Uploading files with unknown size using the Google Drive API
The Drive API documentation is not very straight forward when it comes to uploading files when you don't know the size of the file. In this post I'll explain a way to do a chunked file upload when the file length is unknown.
Sunday, September 27, 2015
Uploading a file with the Google Drive API
This post describes how to upload a file in Google Drive using the REST API from C++, with cURL.
Sunday, September 6, 2015
Sending a custom video stream through WebRTC
WebRTC is used to create video call enabled p2p applications. By default it supports only local webcam and audio input to be sent to a peer. However, it might be useful to send a remote video stream to a peer - for example a RTSP stream from an IP camera.
In this post I'll focus on modifying the peerconnection_client example to send a remote RTSP stream to another peer.
In this post I'll focus on modifying the peerconnection_client example to send a remote RTSP stream to another peer.
Saturday, September 5, 2015
Building libjingle for Android
Libjingle is a C++ library used to create peer-to-peer connections for voice-chat applications. It is included in WebRTC and bundled inside the Chromium source repository.
There are a couple of web pages with instructions out there about how to build the library for Android, but none of them seem complete.
This is where this post comes in.
There are a couple of web pages with instructions out there about how to build the library for Android, but none of them seem complete.
This is where this post comes in.
Friday, July 17, 2015
Unit tests: How to access private members in C++
In order to write unit tests sometimes one needs to access private class members or methods.
Subscribe to:
Posts (Atom)