Skip to content

Commit

Permalink
Changed srt-multiplex to a testing application (#718)
Browse files Browse the repository at this point in the history
* Temporarily removed srt-multiplex user application.
  • Loading branch information
ethouris authored and rndi committed Jun 10, 2019
1 parent bd62214 commit 35ef083
Show file tree
Hide file tree
Showing 5 changed files with 649 additions and 1 deletion.
File renamed without changes.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,8 @@ if (ENABLE_APPS)
# https://github.com/Haivision/srt/issues/177
message(WARNING "On MinGW, some C++11 apps are blocked due to lacking proper C++11 headers for <thread>. FIX IF POSSIBLE.")
else()
srt_add_application(srt-multiplex ${VIRTUAL_srtsupport})
# srt-multiplex temporarily blocked
#srt_add_application(srt-multiplex ${VIRTUAL_srtsupport})
srt_add_application(srt-tunnel ${VIRTUAL_srtsupport})
target_compile_definitions(srt-tunnel PUBLIC -DSRT_ENABLE_VERBOSE_LOCK)
endif()
Expand Down Expand Up @@ -799,6 +800,9 @@ if (ENABLE_APPS)
srt_add_testprogram(srt-test-relay)
srt_make_application(srt-test-relay)
target_compile_definitions(srt-test-relay PUBLIC -DSRT_ENABLE_VERBOSE_LOCK)

srt_add_testprogram(srt-test-multiplex)
srt_make_application(srt-test-multiplex)
endif()

endif()
Expand Down
5 changes: 5 additions & 0 deletions docs/SRT-Multiplex.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ multiple streams in one direction. This tool demonstrates two SRT features:
specified by IP address and port) for multiple SRT connections
- the use of the `streamid` socket option to identify multiplexed resources

NOTE: due to changes in the common code that can't be properly handled in the
current form of srt-multiplex, this application is temporarily blocked. Instead
the `srt-test-multiplex` application was added with the same functionality,
although it's recommended for testing purposes only.

#### Usage

`srt-multiplex <SRT-URI> -i <INPUT-URI1>[id] <INPUT-URI2>[id]...`
Expand Down
Loading

0 comments on commit 35ef083

Please sign in to comment.