Skip to content

Commit

Permalink
Merge pull request #2 from ocrete/doc-improvement
Browse files Browse the repository at this point in the history
README.md: Add simple stransmit example
  • Loading branch information
rndi authored Apr 24, 2017
2 parents 322034b + da18666 commit 0b0c4c0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,15 @@ e. Copy include files to `C:\pthread-win32\include` - the following ones:
(They are in the toplevel directory, there are actually no meaningful subdirs here)
(NOTE: the win32 is part of the project name. It will become 32 or 64 depending on selection)


Using the stransmit app
=======================

The stransmit is a test application that forwards data between two URLs, here is an example:

First run this to send with SRT:
./stransmit file://$(pwd)/BigBuckBunny.ts srt://localhost:1234/?mode=server

The run this to receive with SRT, this forwarsd to the ffplay command line from
ffmpeg:
./stransmit srt://localhost:1234/?mode=client file://con | ffplay -

0 comments on commit 0b0c4c0

Please sign in to comment.