| 2598 | } |
| 2599 | |
| 2600 | void RtmpServerStream::OnPublish(const std::string& name, |
| 2601 | RtmpPublishType type, |
| 2602 | butil::Status* status, |
| 2603 | google::protobuf::Closure* done) { |
| 2604 | ClosureGuard done_guard(done); |
| 2605 | status->set_error(EPERM, "%s[%u] ignored publish{stream_name=%s type=%s}", |
| 2606 | butil::endpoint2str(remote_side()).c_str(), stream_id(), |
| 2607 | name.c_str(), RtmpPublishType2Str(type)); |
| 2608 | } |
| 2609 | |
| 2610 | int RtmpServerStream::OnSeek(double offset_ms) { |
| 2611 | LOG(ERROR) << remote_side() << '[' << stream_id() << "] ignored seek(" |
nothing calls this directly
no test coverage detected