# Network source

## 1 Network as video source

Fetch or receive data? There are two different variants to choose from as a mode: **Push** or **Pull**. The respective setting influences the further menu navigation.

## 2 Pull or receive mode

![Fig. 1: Set up video source in pull mode.](https://304400748-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS3qj4cW170AMeE1ckj-1703796690%2Fuploads%2F4Uvr9TUggwBdsr4yupM8%2Fvideoconf-3.png?alt=media\&token=bb2a2476-4175-4848-91df-2e7f445c9736)

### 3 Protocol

You can select between > **SRT** > **RTMP** or > **HLS**.

### 4 Send the stream to this address:

Enter this address in the sending device from the video signal.

## <mark style="background-color:green;">5. CHECK</mark>

Pressing the button verifies the reception of the video signal.

{% hint style="info" %}
If the stream is not accepted, the error message can be displayed directly. By clicking on: "View details of the review".
{% endhint %}

## 2 Fetch in push mode

![Fig. 2: Set up video source in push mode.](https://304400748-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS3qj4cW170AMeE1ckj-1703796690%2Fuploads%2FLdmv55wSpBoiTnPWhFcs%2Fvideoconf-pull.png?alt=media\&token=044b72a1-34f5-47ac-a4b4-996a05671b16)

### 3 Network source address push

At this point, the address of the server can be customized. The address supports HTTP, HTTPS (HLS, DASH), RTP, RTSP, RTMP, and SRT.

## 4 Login credentials

If required, the access data of the video source can be entered here.

### 5 Advanced settings in push mode

#### HTTP and HTTPS

Read input at native speed

Force input frame rate

#### User-agent&#x20;

#### General&#x20;

#### Tread Queue Size

This option sets the maximum number of packets in the queue when read from the file or device. For low latency/high rate live streams, packages may be discarded if they are not read in time; setting this value may force FFmpeg to use a separate input thread and read packets as they arrive. The default value is 512.

#### > Flags

Default value is: genpts&#x20;

1. discardcorrput -> Discard damaged frames&#x20;
2. fastseek -> Enable fast but inaccurate searches for some formats.&#x20;
3. genpts -> Generate the timestamp of the video
4. igndts -> Ignore decoding of the timestamp&#x20;
5. ignidx -> Ignore index&#x20;
6. nobuffer -> Reduce latency caused by optional buffering&#x20;
7. nofillin -> Do not fill in missing values that can be calculated exactly&#x20;
8. noparse -> Disable AVParsers, that needs filling too&#x20;
9. sortdts -> Try to interleave the output packets by decoding the timestamp

## <mark style="background-color:green;">6. CHECK</mark>

After starting the test process, the active video stream can be selected.

{% hint style="info" %}
"Show probe details" shows the feedback from the system.
{% endhint %}

### Encoding settings

Passthrough (copy) option takes the unedited video stream.

* Passthrough (copy) option takes the unedited video stream.
* H.264 (libx264) starts a video encoding with the free and open-source software library.

{% hint style="info" %}
Afterwards, you can directly switch to the audio settings.
{% endhint %}

## Learn more

{% content-ref url="../audio-settings" %}
[audio-settings](https://docs.datarhei.com/restreamer/knowledge-base/manual/edit-livestream/general/audio-settings)
{% endcontent-ref %}

{% content-ref url="../../../../troubleshooting" %}
[troubleshooting](https://docs.datarhei.com/restreamer/knowledge-base/troubleshooting)
{% endcontent-ref %}

{% content-ref url="../../../../user-guides" %}
[user-guides](https://docs.datarhei.com/restreamer/knowledge-base/user-guides)
{% endcontent-ref %}
