ossrs / srs-unity

WebRTC Samples with SRS SFU server for Unity.
https://ossrs.io
MIT License
64 stars 9 forks source link

Server error code-2000 using Streamer example #4

Closed lookoutking closed 1 year ago

lookoutking commented 1 year ago

Hi,

Thanks for provide this plugins for unity streaming. I set up the WebRTC SRS Server by docker and got an error on exchange SDP with the server.

Here is the error code shows when I enter Play mode in Unity:

[2023-01-16 05:48:47.879][Error][1][eo96j813][11] serve error code=2000 : rtmp handshake : simple handshake : only support rtmp plain text, version=50
thread [1][eo96j813]: do_cycle() [src/app/srs_app_rtmp_conn.cpp:167][errno=11]
thread [1][eo96j813]: handshake() [src/protocol/srs_rtmp_stack.cpp:2280][errno=11]
thread [1][eo96j813]: handshake_with_client() [src/protocol/srs_rtmp_handshake.cpp:1094][errno=11](Resource temporarily unavailable)

Thanks in advance for any help!

winlinvip commented 1 year ago

Unity does not support play RTMP stream. Please follow guide.