-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SRT: There are performance bottlenecks and crashes during stress testing. #1944
Comments
It would be even better if there is PR.
|
Hi, thank you for your PR. The crash issue has been resolved: link
|
As mentioned above: The problem has been resolved, close this issue.
|
Description'
Please ensure that the markdown structure is maintained.
XCORE-SRS/4.0.37(Leo)
Default configuration of srt.conf
xxxxxxxxxxxx
ffmpeg -loglevel error -re -stream_loop -1 -i test264_1M.mp4 -vcodec copy -acodec copy -f mpegts srt://10.10.0.62:10080?streamid=#!::h=live/test264_1M.mp4_16,m=publish
srs_error_t rtmp_client::rtmp_write_packet(char type, uint32_t timestamp, char* data, int size) {
srs_error_t err = srs_success;
SrsSharedPtrMessage* msg = NULL;
There is no text to translate.
if ((err = srs_rtmp_create_msg(type, timestamp, data, size, _rtmp_conn_ptr->sid(), &msg)) != srs_success) {
return srs_error_wrap(err, "create message");
}
srs_assert(msg);
There is no text to translate.
// send out encoded msg.
if ((err = _rtmp_conn_ptr->send_and_free_message(msg)) != srs_success) {
close();
return srs_error_wrap(err, "send messages");
}
}
The text was updated successfully, but these errors were encountered: