| 667 | } |
| 668 | |
| 669 | void 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 | |
| 676 | RtmpUnsentMessage* MakeUnsentControlMessage( |
| 677 | uint8_t message_type, uint32_t chunk_stream_id, |