obs-studio/deps/jansson
jp9000 92522d1886 Implement RTMP module (still needs drop code)
- Implement the RTMP output module.  This time around, we just use a
   simple FLV muxer, then just write to the stream with RTMP_Write.
   Easy and effective.

 - Fix the FLV muxer, the muxer now outputs proper FLV packets.

 - Output API:
   * When using encoders, automatically interleave encoded packets
     before sending it to the output.

   * Pair encoders and have them automatically wait for the other to
     start to ensure sync.

   * Change 'obs_output_signal_start_fail' to 'obs_output_signal_stop'
     because it was a bit confusing, and doing this makes a lot more
     sense for outputs that need to stop suddenly (disconnections/etc).

 - Encoder API:
   * Remove some unnecessary encoder functions from the actual API and
     make them internal.  Most of the encoder functions are handled
     automatically by outputs anyway, so there's no real need to expose
     them and end up inadvertently confusing plugin writers.

   * Have audio encoders wait for the video encoder to get a frame, then
     start at the exact data point that the first video frame starts to
     ensure the most accrate sync of video/audio possible.

   * Add a required 'frame_size' callback for audio encoders that
     returns the expected number of frames desired to encode with.  This
     way, the libobs encoder API can handle the circular buffering
     internally automatically for the encoder modules, so encoder
     writers don't have to do it themselves.

 - Fix a few bugs in the serializer interface.  It was passing the wrong
   variable for the data in a few cases.

 - If a source has video, make obs_source_update defer the actual update
   callback until the tick function is called to prevent threading
   issues.
2014-04-07 22:00:10 -07:00
..
android Subtree merged in deps/jansson 2013-11-21 16:04:11 -07:00
cmake Subtree merged in deps/jansson 2013-11-21 16:04:11 -07:00
doc Update jansson subtree to latest revision 2014-01-20 08:49:48 -07:00
src Update jansson subtree to latest revision 2014-01-20 08:49:48 -07:00
test Update jansson subtree to latest revision 2014-01-20 08:49:48 -07:00
win32 Implement RTMP module (still needs drop code) 2014-04-07 22:00:10 -07:00
.gitignore Subtree merged in deps/jansson 2013-11-21 16:04:11 -07:00
.travis.yml Subtree merged in deps/jansson 2013-11-21 16:04:11 -07:00
Android.mk Subtree merged in deps/jansson 2013-11-21 16:04:11 -07:00
CHANGES Subtree merged in deps/jansson 2013-11-21 16:04:11 -07:00
CMakeLists.txt Full rewrite of all CMakeLists 2014-01-24 18:56:32 +01:00
CleanSpec.mk Subtree merged in deps/jansson 2013-11-21 16:04:11 -07:00
LICENSE Subtree merged in deps/jansson 2013-11-21 16:04:11 -07:00
Makefile.am Update jansson subtree to latest revision 2014-01-20 08:49:48 -07:00
README.rst Subtree merged in deps/jansson 2013-11-21 16:04:11 -07:00
configure.ac Subtree merged in deps/jansson 2013-11-21 16:04:11 -07:00
jansson.pc.in Subtree merged in deps/jansson 2013-11-21 16:04:11 -07:00
release.sh Subtree merged in deps/jansson 2013-11-21 16:04:11 -07:00

README.rst

Jansson README
==============

.. image:: https://travis-ci.org/akheron/jansson.png
  :alt: Build status
  :target: https://travis-ci.org/akheron/jansson

Jansson_ is a C library for encoding, decoding and manipulating JSON
data. Its main features and design principles are:

- Simple and intuitive API and data model

- Comprehensive documentation

- No dependencies on other libraries

- Full Unicode support (UTF-8)

- Extensive test suite

Jansson is licensed under the `MIT license`_; see LICENSE in the
source distribution for details.


Compilation and Installation
----------------------------

If you obtained a source tarball, just use the standard autotools
commands::

   $ ./configure
   $ make
   $ make install

To run the test suite, invoke::

   $ make check

If the source has been checked out from a Git repository, the
./configure script has to be generated first. The easiest way is to
use autoreconf::

   $ autoreconf -i


Documentation
-------------

Prebuilt HTML documentation is available at
http://www.digip.org/jansson/doc/.

The documentation source is in the ``doc/`` subdirectory. To generate
HTML documentation, invoke::

   $ make html

Then, point your browser to ``doc/_build/html/index.html``. Sphinx_
1.0 or newer is required to generate the documentation.


.. _Jansson: http://www.digip.org/jansson/
.. _`MIT license`: http://www.opensource.org/licenses/mit-license.php
.. _Sphinx: http://sphinx.pocoo.org/