Skip to end of metadata
Go to start of metadata

Since build 1.0.1.77 it is possible to choose UDP or TCP transport usage for WebRTC publishing/playback with StreamOption.setTransport() method:

streamOptions.setTransport("TCP");

or

streamOptions.setTransport("UDP");

If the option is not set, server transport settings are applied.

Usage example

code

        mTransportOutput = (LabelledSpinner) findViewById(R.id.transport_output);
        ...
        StreamOptions streamOptions = new StreamOptions(streamName);
        streamOptions.setTransport(Transport.valueOf(mTransportOutput.getSpinner().getSelectedItem().toString()));
  • No labels