Jump to content

Contributions:AVMeetingExtension

From BCI2000 Wiki
Revision as of 13:24, 10 April 2026 by Mellinger (talk | contribs) (Created page with "==Synopsis== This task displays video from a remote location, and local video in a window, in conjunction with the ''SimpleRelayServer'' application running within a local network, or on the internet. Audio may be transferred in one direction as well. Bidirectional audio is possible but will lead to feedback unless earphones are used. ===Authors=== Jürgen Mellinger (mellinger@neurotechcenter.org) ==SimpleRelayServer== To build and run the necessary ''SimpleRelayServer...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Synopsis

This task displays video from a remote location, and local video in a window, in conjunction with the SimpleRelayServer application running within a local network, or on the internet. Audio may be transferred in one direction as well. Bidirectional audio is possible but will lead to feedback unless earphones are used.

Authors

Jürgen Mellinger (mellinger@neurotechcenter.org)

SimpleRelayServer

To build and run the necessary SimpleRelayServer on a Linux machine, follow these steps:

  • Download SimpleRelayServer.cpp from

https://bci2000.org/svn/trunk/src/contrib/Application/AVStreamingTask/SimpleRelayServer/SimpleRelayServer.cpp

  • cd to the download's directory and execute
g++ SimpleRelayServer.cpp -o SimpleRelayServer
  • Start the server with
./SimpleRelayServer 2>/dev/null

or just

./SimpleRelayServer 

if you want to see log messages on the console. By default, the server process will listen on all of the machine's interfaces, at port 1915. A different port may be specified by providing a command line argument:

./SimpleRelayServer 1928 2>/dev/null

Parameters

StreamingServer

The streaming server's address with port, as in bci2000.org:1915. This must match the SimpleRelayServer's listening address.

CameraIndex

The local camera's 0-based index into the video backend's list of detected cameras. Typically 0 unless multiple cameras are attached. A value of -1 disables video streaming.

AudioDeviceIndex

The local audio input device's 0-based index into the audio backend's list of detected audio devices. Specify -1 to disable audio streaming from the local machine.

VideoEncoder

The name of the desired video encoder to use, e.g. h264_mf or libx264. Specify auto to use h264_mf on Windows, and libx264 on non-Windows systems.

See also

Contributions:Applications