ossrs/srs

[Cannot Reproduce] Larix mobile app and SRS

Closed this issue · 2 comments

When setting Larix mobile app to stream over rtmp it handshakes, but never sends the stream name, only app.
After that SRS drops the connection.
My SRS version is 7.0.93
Log:

[2025-09-24 18:53:43.043][INFO][1597][1k08t594] RTMP client transport=plaintext, ip=(my-IP):37240, fd=13
[2025-09-24 18:53:43.071][INFO][1597][1k08t594] complex handshake success
[2025-09-24 18:53:43.095][INFO][1597][1k08t594] connect app, tcUrl=rtmp://(my-host):1935/live, pageUrl=, swfUrl=, schema=rtmp, vhost=(my-host), port=1935, app=live, args=null
[2025-09-24 18:53:43.095][INFO][1597][1k08t594] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=65535, out.chunk=128
[2025-09-24 18:53:45.207][INFO][1597][90tyhjj6] SRS: cpu=1.00%,49MB, cid=1,0, timer=62,0,0, clock=0,47,1,0,0,0,0,0,0
[2025-09-24 18:53:46.210][INFO][1597][1k08t594] RTC: before dispose resource(RtmpConn)(0x5110000778c0), conns=1, zombies=0, ign=0, inz=0, ind=0
[2025-09-24 18:53:46.210][WARN][1597][1k08t594][104] client disconnect peer. ret=1007
[2025-09-24 18:53:46.210][INFO][1597][7it60g68] RTC: clear zombies=1 resources, conns=1, removing=0, unsubs=0
[2025-09-24 18:53:46.210][INFO][1597][1k08t594] RTC: disposing #0 resource(RtmpConn)(0x5110000778c0), conns=1, disposing=1, zombies=0

This is not an empty stream name problem as initially suspected. The logs show that Larix successfully completes the RTMP handshake and connects to the /live application, but then fails to complete the RTMP publish workflow.

If it were truly an empty stream name issue, SRS would log:

[ERROR] serve error code=2051(StreamNameEmpty)(Invalid stream for name is empty) : rtmp: empty stream

But we only see error 1007 (ERROR_SOCKET_READ), which indicates a network-level socket read failure, not an application-level validation error.

Please provide more information.

I cannot reproduce it over a month, so I need to close it. Please let me know if you know exactly how to reproduce it.