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

Method SetState

src/brpc/policy/rtmp_protocol.cpp:669–674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

667}
668
669void RtmpContext::SetState(const butil::EndPoint& remote_side, State new_state) {
670 const State old_state = _state;
671 _state = new_state;
672 RPC_VLOG << remote_side << ": " << state2str(old_state)
673 << " -> " << state2str(new_state);
674}
675
676RtmpUnsentMessage* MakeUnsentControlMessage(
677 uint8_t message_type, uint32_t chunk_stream_id,

Callers 1

StartConnectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected