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

Method is_server_accepted

src/brpc/rtmp.h:611–612  ·  view source on GitHub ↗

Returns true when the server accepted play or publish command. The acquire fence makes sure the callsite seeing true must be after sending play or publish command (possibly in another thread).

Source from the content-addressed store, hash-verified

609 // The acquire fence makes sure the callsite seeing true must be after
610 // sending play or publish command (possibly in another thread).
611 bool is_server_accepted() const
612 { return _is_server_accepted.load(butil::memory_order_acquire); }
613
614 // Explicitly notify error to current stream
615 virtual void SignalError();

Callers 2

OnSubStreamStopMethod · 0.80
AcquireStreamToSendMethod · 0.80

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected