Skip to content

Server crashes once client tries to connect #6

Open
@petered

Description

@petered

I start the server:

% python -m rtmplite3 -dv
Thu Jun  1 10:53:03 2023 RTMPLite Server Starts - 0.0.0.0:1935 v0.4.0

Then in Terminal, I start a stream:

% ffmpeg -stream_loop -1 -i /Users/peter/drone/e2_dual/raw/dji_2023-02-26_15-12-52_0167.mov -b:v 50M -f flv rtmp://127.0.0.1:1935/live

This normally (when serving with "Local RTMP Server" (Mac) or "MonaServer" (Windows), will start streaming, but when using rtmplite3, it fails, outputting

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/peter/drone/e2_dual/raw/dji_2023-02-26_15-12-52_0167.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    creation_time   : 2023-02-26T08:12:41.000000Z
    encoder         : Lavf56.15.102
  Duration: 00:00:11.04, start: 0.000000, bitrate: 36857 kb/s
  Stream #0:0[0x1](eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, 36855 kb/s, 29.97 fps, 29.97 tbr, 30k tbn (default)
    Metadata:
      creation_time   : 2023-02-26T08:12:41.000000Z
      handler_name    : VideoHandler
      vendor_id       : FFMP
[rtmp @ 0x600001a10180] Cannot read RTMP handshake response
rtmp://127.0.0.1:1935/live: Connection reset by peer

And the server just crashes with no error message or output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions