fyhertz / libstreaming-examples

Some examples of how to use libstreaming
285 stars 233 forks source link

Some examples of how to use libstreaming

This repository contains three simple examples of how to use libstreaming.

Libstreaming ?

You can find out more about libstreaming here.

Example 1

Shows how to use the RTSP server.

Example 2

Shows how to start a stream and obtain a SDP that you will then want to hand to the receiver.

Example 3

This example shows how you can use libstreaming with a Wowza Media Server.

Read this tutorial to find out of to use it

Build instructions

  1. Clone the repository

  2. libstreaming is referenced as git submodule in this repo, so you will need to run the two following commands:

    git submodule init
    git submodule update
  3. Run the android project update command in the libstreaming directory and in the directory of the example you wish to compile:

    cd libstreaming
    android update project --path . --target android-21
    cd ../example3/app
    android update project --path . --target android-21
  4. Run ant

    ant debug

Note: you will need to run 'ant clean' before compiling another example!