MCPcopy Create free account
hub / github.com/apache/brpc / Init

Method Init

src/brpc/rtmp.cpp:1120–1130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1118}
1119
1120int RtmpClientImpl::Init(butil::EndPoint server_addr_and_port,
1121 const RtmpClientOptions& options) {
1122 if (CommonInit(options) != 0) {
1123 return -1;
1124 }
1125 ChannelOptions copts;
1126 copts.connect_timeout_ms = options.connect_timeout_ms;
1127 copts.timeout_ms = options.timeout_ms;
1128 copts.protocol = PROTOCOL_RTMP;
1129 return _chan.Init(server_addr_and_port, &copts);
1130}
1131int RtmpClientImpl::Init(const char* server_addr_and_port,
1132 const RtmpClientOptions& options) {
1133 if (CommonInit(options) != 0) {

Callers 4

CommonInitMethod · 0.45
authenticateAllMethod · 0.45
OnCreatedMethod · 0.45
TrackMeNowFunction · 0.45

Calls 15

JoinFunction · 0.85
set_stream_creatorMethod · 0.80
set_connection_typeMethod · 0.80
connection_typeMethod · 0.80
set_max_retryMethod · 0.80
has_been_setMethod · 0.80
set_request_codeMethod · 0.80
call_idMethod · 0.80
gettimeofday_usFunction · 0.50
swapMethod · 0.45
resetMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected