| 1099 | }; |
| 1100 | |
| 1101 | int RtmpClientImpl::CreateSocket(const butil::EndPoint& pt, SocketId* id) { |
| 1102 | SocketOptions sock_opt; |
| 1103 | sock_opt.remote_side = pt; |
| 1104 | sock_opt.app_connect = std::make_shared<RtmpConnect>(); |
| 1105 | sock_opt.initial_parsing_context = new policy::RtmpContext(&_connect_options, NULL); |
| 1106 | return get_client_side_messenger()->Create(sock_opt, id); |
| 1107 | } |
| 1108 | |
| 1109 | int RtmpClientImpl::CommonInit(const RtmpClientOptions& options) { |
| 1110 | _connect_options = options; |
no test coverage detected