A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Haivision/srt/commit/04b7c00b8217be0a1dcfa38f677ef6895b4e8ed4 below:

[docs] Improved SRT project README · Haivision/srt@04b7c00 · GitHub

File tree Expand file treeCollapse file tree 7 files changed

+251

-97

lines changed

Filter options

Expand file treeCollapse file tree 7 files changed

+251

-97

lines changed Original file line number Diff line number Diff line change

@@ -13,13 +13,15 @@

13 13 14 14

## Build Instructions

15 15 16 -

| Document Title | Folder | File Name | Description |

17 -

| :------------------------------------------------- | :---------------------------- | :----------------------------------------- | :----------------------------------------------------------- |

18 -

| [Building SRT for Android](build/build-android.md) | [build](build/) | [build-android.md](build/build-android.md) | SRT build instructions for Android. |

19 -

| [Building SRT for iOS](build/build-iOS.md) | [build](build/) | [build-iOS.md](build/build-iOS.md) | SRT build instructions for iOS. |

20 -

| [SRT Build Options](build/build-options.md) | [build](build/) | [build-options.md](build/build-options.md) | Description of CMake build system, configure script, and<br />build options. |

21 -

| [Building SRT for Windows](build/build-win.md) | [build](build/) | [build-win.md](build/build-win.md) | SRT build instructions for Windows. |

22 -

| <img width=200px height=1px/> | <img width=100px height=1px/> | <img width=200px height=1px/> | <img width=500px height=1px/> |

16 +

| Document Title | Folder | File Name | Description |

17 +

| :----------------------------------------------------------- | :---------------------------- | :----------------------------------------- | :----------------------------------------------------------- |

18 +

| [SRT Build Options](build/build-options.md) | [build](build/) | [build-options.md](build/build-options.md) | Description of CMake build system, configure script, and build options. |

19 +

| [Building SRT on Linux (Ubuntu/CentOS)](build/build-linux.md) | [build](build/) | [build-linux.md](build/build-linux.md) | Build instructions for Linux (Ubuntu/CentOS). |

20 +

| [Building SRT on Windows](build/build-win.md) | [build](build/) | [build-win.md](build/build-win.md) | Build instructions for Windows. |

21 +

| [Building SRT on macOS](build/build-macOS.md) | [build](build/) | [build-macOS.md](build/build-macOS.md) | Build instructions for macOS. |

22 +

| [Building SRT on iOS](build/build-iOS.md) | [build](build/) | [build-iOS.md](build/build-iOS.md) | Build instructions for iOS. |

23 +

| [Building SRT on Android](build/build-android.md) | [build](build/) | [build-android.md](build/build-android.md) | Build instructions for Android. |

24 +

| <img width=200px height=1px/> | <img width=100px height=1px/> | <img width=200px height=1px/> | <img width=500px height=1px/> |

23 25 24 26

## Development Documents

25 27 Original file line number Diff line number Diff line change

@@ -1,4 +1,4 @@

1 -

# Building SRT for Android

1 +

# Building SRT on Android

2 2 3 3

**NOTE:** The scripts have been moved to [scripts/build-android](../../scripts/build-android/) folder.

4 4 Original file line number Diff line number Diff line change

@@ -1,4 +1,4 @@

1 -

# Building SRT for iOS

1 +

# Building SRT on iOS

2 2 3 3

## Prerequisites

4 4

* Xcode should be installed. Check in terminal whether `xcode-select -p` points to **/Applications/Xcode.app/Contents/Developer**

Original file line number Diff line number Diff line change

@@ -0,0 +1,44 @@

1 +

# Building SRT on Linux

2 + 3 +

Install `cmake` and `openssl-devel` (or equivalent) packages. For `pthreads`, add

4 +

the `-lpthreads` linker flag.

5 + 6 +

Default installation path prefix of `make install` is `/usr/local`.

7 + 8 +

To define a different installation path prefix, use the `--prefix` option with `configure`

9 +

or the [`-DCMAKE_INSTALL_PREFIX`](https://cmake.org/cmake/help/v3.0/variable/CMAKE_INSTALL_PREFIX.html) CMake option.

10 + 11 +

To uninstall, call `make -n install` to list all the dependencies, and then pass the list to `rm`.

12 + 13 +

Here is a link to a demo showing how CMake can be used to build SRT:

14 +

[Quickstart: Running SRT and FFmpeg on Ubuntu](https://www.youtube.com/watch?v=XOtUOVhussc&t=5s).

15 + 16 +

## Ubuntu 14

17 + 18 +

```shell

19 +

sudo apt-get update

20 +

sudo apt-get upgrade

21 +

sudo apt-get install tclsh pkg-config cmake libssl-dev build-essential

22 +

./configure

23 +

make

24 +

```

25 + 26 +

## CentOS 7

27 + 28 +

```shell

29 +

sudo yum update

30 +

sudo yum install tcl pkgconfig openssl-devel cmake gcc gcc-c++ make automake

31 +

./configure

32 +

make

33 +

```

34 + 35 +

## CentOS 6

36 + 37 +

```shell

38 +

sudo yum update

39 +

sudo yum install tcl pkgconfig openssl-devel cmake gcc gcc-c++ make automake

40 +

sudo yum install centos-release-scl-rh devtoolset-3-gcc devtoolset-3-gcc-c++

41 +

scl enable devtoolset-3 bash

42 +

./configure --use-static-libstdc++ --with-compiler-prefix=/opt/rh/devtoolset-3/root/usr/bin/

43 +

make

44 +

```

Original file line number Diff line number Diff line change

@@ -0,0 +1,32 @@

1 +

# Building SRT on macOS

2 + 3 +

[Homebrew](https://brew.sh/) supports the **srt** formula.

4 + 5 +

```shell

6 +

brew update

7 +

brew install srt

8 +

```

9 + 10 +

If you prefer using a head commit of `master` branch, add the `--HEAD` option

11 +

to `brew` command.

12 + 13 +

```shell

14 +

brew install --HEAD srt

15 +

```

16 + 17 +

Install [CMake](https://cmake.org/) and OpenSSL with development files from `brew`. It is recommended to install the latest version of OpenSSL from the `brew` system rather than relying on the version that is presently installed in the system.

18 + 19 +

```shell

20 +

brew install cmake

21 +

brew install openssl

22 +

```

23 + 24 +

SRT can be now built with `cmake` or `make` on Mac.

25 + 26 +

```shell

27 +

export OPENSSL_ROOT_DIR=$(brew --prefix openssl)

28 +

export OPENSSL_LIB_DIR=$(brew --prefix openssl)"/lib"

29 +

export OPENSSL_INCLUDE_DIR=$(brew --prefix openssl)"/include"

30 +

./configure

31 +

make

32 +

```

Original file line number Diff line number Diff line change

@@ -1,4 +1,4 @@

1 -

# Building SRT for Windows

1 +

# Building SRT on Windows

2 2 3 3

<!-- TOC -->

4 4

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4