Conan build for gstreamer, run the command to build a project.
The build order is as below:
-
gstreamer-build-tools
Gstreamer build tools generated by boostrap -
gstreamer-custom
Custom modified libraries, including gst-rtsp-server-1.0, dtls, webrtc
- Gstreamer should be built in the docker
lasote/conangcc49
using gcc4.9. Here's the steps:
# download the docker image
$ git pull lasote/conangcc49
# the first time to run the image
$ sudo docker run -it lasote/conangcc49 /bin/bash
# or you can use the commands below once you have creaed a container using the command above
$ sudo docker start container_id
$ sudo docker exec -it container_id /bin/bash
# update the environment, it may be very slow and vpn may be required
$ sudo apt-get -y update
$ sudo apt-get -y upgrade
$ sudo apt-get install -y build-essential
$ git config --global user.name "xxx"
$ git config --global user.email "xxxx"
gstreamer-runtime, gstreamer-dev, and gstreamer-custom require dependies. They will use the pre-built package in your own bintray defaultly.
If you want to use the other pre-built packages, set DEPENDENT_BINTRAY_REPO
in your environment. DEPENDENT_BINTRAY_REPO
is the bintray username, if not set, it's same as CONAN_USERNAME
.
$ cd $project
$ sudo python build.py
The gstreamer library will be installed to the directory ~/gstreamer/linux_x86_64
.
If you want to develop your own library based on the gstreamer-1.0, run the commond to load the environment:
$ cd ~/gstreamer/linux_x86_64
$ source tshell.sh
not supported