Changes between Initial Version and Version 1 of Ticket #11132


Ignore:
Timestamp:
Aug 9, 2024, 9:12:26 PM (2 years ago)
Author:
GermanGeraskin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11132 – Description

    initial v1  
    1 ### What I was trying to accomplish 
     1== What I was trying to accomplish 
    22I am trying to transfer video data via TCP connection. 
    33
    4 ### The problem I encountered 
    5 FFmpeg resets the TCP connection if the *multi-client* mode is used (`listen=2`). 
    6 
    7 The [documentation](https://ffmpeg.org/ffmpeg-all.html#toc-tcp) states the following: 
     4== The problem I encountered 
     5FFmpeg resets the TCP connection if the "multi-client" mode is used (`listen=2`). 
     6
     7The documentation [https://ffmpeg.org/ffmpeg-all.html#tcp] states the following: 
    88> listen=2|1|0 
    99>   Listen for an incoming connection. 0 disables listen, 1 enables listen in single client mode, 2 enables listen in multi-client mode. Default value is 0. 
    1010
    11 ### The exact command line I am using 
     11== The exact command line I am using 
    1212
    1313ffmpeg **server**: 
    1414
    15 ```shell
     15{{{
    1616./ffmpeg \
    1717-v 9 \
     
    3030-f flv \
    3131rtmp://127.0.0.1:1935/temp/qqq
    32 ```
     32}}}
    3333
    3434
    3535ffmpeg **client**: 
    3636
    37 ```shell
     37{{{
    3838./ffmpeg \
    3939-v 9 \
     
    4646-f rawvideo \
    4747tcp://127.0.0.1:19010?tcp_nodelay=1
    48 ```
    49 
    50 
    51 ### Console output 
     48}}}
     49
     50
     51== Console output 
    5252
    5353ffmpeg **server**: 
    5454
    55 ```shell
     55{{{
    5656 ./ffmpeg \
    5757> -v 9 \
     
    315315[in#0/rawvideo @ 0x555b20ecbd00]   Total: 0 packets (0 bytes) demuxed
    316316[AVIOContext @ 0x555b20edcd80] Statistics: 0 bytes read, 0 seeks
    317 ```
     317}}}
    318318
    319319
    320320ffmpeg **client**: 
    321321
    322 ```shell
     322{{{
    323323 ./ffmpeg \
    324324> -v 9 \
     
    470470[in#0/decklink @ 0x55e3e8fcfbc0]   Total: 22 packets (91238400 bytes) demuxed
    471471Conversion failed!
    472 ```
    473 
    474 
    475 ### Sufficient information 
     472}}}
     473
     474
     475== Sufficient information 
    476476
    477477- The same command using *single client* mode (`listen=1`) works fine.