Skip to content

Commit

Permalink
Fix SRT listen endpoint via UDP.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Sep 5, 2024
1 parent 504e93b commit 0c0f9c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/src/app/srs_app_heartbeat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ srs_error_t SrsHttpHeartbeat::do_heartbeat()
obj->set("srt", o);

uint16_t endpoint = _srs_config->get_srt_listen_port();
o->append(SrsJsonAny::str(srs_int2str(endpoint).c_str()));
o->append(SrsJsonAny::str(srs_fmt("udp://0.0.0.0:%d", endpoint).c_str()));
}

// For WebRTC listen endpoints.
Expand Down

0 comments on commit 0c0f9c7

Please sign in to comment.