Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: timvideos/gst-switch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 882ce18a4feb
Choose a base ref
...
head repository: timvideos/gst-switch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a0f8a384844c
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Apr 23, 2015

  1. Bind to all IP address (IPv4 and IPv6) by default.

    If the address is 0.0.0.0, the server accepts TCP/IP connections on all server
    host IPv4 interfaces.
    
    If the address is ::, the server accepts TCP/IP connections on all server host
    IPv4 and IPv6 interfaces. Use this address to permit both IPv4 and IPv6
    connections on all server interfaces.
    
    Fixes issue #202.
    mithro committed Apr 23, 2015
    Copy the full SHA
    ed6209e View commit details
  2. Merge pull request #206 from mithro/really-all-ips

    Bind to all IP address (IPv4 and IPv6) by default.
    mithro committed Apr 23, 2015
    Copy the full SHA
    a0f8a38 View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 tools/gstswitchserver.c
4 changes: 2 additions & 2 deletions tools/gstswitchserver.c
Original file line number Diff line number Diff line change
@@ -39,10 +39,10 @@
#include <string.h>
#include <sys/stat.h>

#define GST_SWITCH_SERVER_DEFAULT_HOST "0.0.0.0"
#define GST_SWITCH_SERVER_DEFAULT_HOST "::" /* All IPv4 *and* IPv6 addresses */
#define GST_SWITCH_SERVER_DEFAULT_VIDEO_ACCEPTOR_PORT 3000
#define GST_SWITCH_SERVER_DEFAULT_AUDIO_ACCEPTOR_PORT 4000
#define GST_SWITCH_SERVER_DEFAULT_CONTROLLER_ADDRESS "tcp:host=0.0.0.0,port=5000"
#define GST_SWITCH_SERVER_DEFAULT_CONTROLLER_ADDRESS "tcp:host=::,port=5000"
#define GST_SWITCH_SERVER_LISTEN_BACKLOG 8 /* client connection queue */

#define GST_SWITCH_SERVER_HOST_SPEC "%q"