Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
400 Views

wifi切换4g视屏快卡住十几秒

使用的3.4的版本,在使用中发现,在WiFi切换到4g的过程中,订阅的流会黑屏十几秒钟,下面是日志,

2018-03-05 15:46:19.882318+0800 CCClassRoom[3485:714903] Date:Mon Mar  5 15:46:19 2018

2018-03-05 15:46:20.003281+0800 CCClassRoom[3485:714903] -[CCStreamer(Socket) onSocketReceive:value:]__recive event:error value:Error: websocket error

2018-03-05 15:46:20.042776+0800 CCClassRoom[3485:714903] -[CCStreamer(Socket) onconnectionClosed]__recive connectionClosed

2018-03-05 15:46:20.043854+0800 CCClassRoom[3485:714903] -[CCPlayViewController receiveSocketEvent:]__CCNotiReceiveSocketEvent__38

2018-03-05 15:46:20.045536+0800 CCClassRoom[3485:714903] -[CCStreamer(Socket) onSocketReceive:value:]__recive event:disconnect value:transport error

[2018-03-05 15:46:20] [devel] connection send

[2018-03-05 15:46:20] [devel] write_push: message count: 1 buffer size: 1

[2018-03-05 15:46:20] [devel] write_pop: message count: 0 buffer size: 0

[2018-03-05 15:46:20] [frame_header] Dispatching write containing 1 message(s) containing 6 header bytes and 1 payload bytes

[2018-03-05 15:46:20] [frame_header] Header Bytes:

[0] (6) 81 81 00 00 00 00

 

[2018-03-05 15:46:20] [frame_payload] Payload Bytes:

[0] (1) [1] 2

 

[2018-03-05 15:46:20] [devel] connection handle_write_frame

2018-03-05 15:46:21.053425+0800 CCClassRoom[3485:714903] -[CCStreamer(Socket) onsocketReconnectiong]__recive socket reconnecting

2018-03-05 15:46:21.053586+0800 CCClassRoom[3485:714903] -[CCPlayViewController receiveSocketEvent:]__CCNotiReceiveSocketEvent__35

2018-03-05 15:46:21.053693+0800 CCClassRoom[3485:714903] -[CCStreamer(Socket) onSocketReceive:value:]__recive event:reconnecting value:1

2018-03-05 15:46:21.599870+0800 CCClassRoom[3485:714903] -[CCStreamer(Socket) onSocketReconnected:]__recive Reconnection

2018-03-05 15:46:21.603629+0800 CCClassRoom[3485:714903] -[CCPlayViewController receiveSocketEvent:]__CCNotiReceiveSocketEvent__37

2018-03-05 15:46:21.605683+0800 CCClassRoom[3485:714903] -[CCStreamer(Socket) onSocketReceive:value:]__recive event:reconnect value:1

2018-03-05 15:46:22.075177+0800 CCClassRoom[3485:714903] -[CCStreamer(Socket) onSocketConnected:]__recive socket connect:(null)

2018-03-05 15:46:22.112085+0800 CCClassRoom[3485:714903] 1740

2018-03-05 15:46:28.351336+0800 CCClassRoom[3485:714903] Got memory pressure notification (non-critical)

[2018-03-05 15:46:41] [devel] asio con handle_async_read

[2018-03-05 15:46:41] [info] asio async_read_at_least error: system:60 (Operation timed out)

[2018-03-05 15:46:41] [error] handle_read_frame error: websocketpp.transport:2 (Underlying Transport Error)

[2018-03-05 15:46:41] [devel] connection terminate

[2018-03-05 15:46:41] [devel] asio connection async_shutdown

[2018-03-05 15:46:41] [info] asio async_shutdown error: system:32 (Broken pipe)

[2018-03-05 15:46:41] [devel] connection handle_terminate

[2018-03-05 15:46:41] [devel] handle_terminate error: websocketpp.transport:2 (Underlying Transport Error)

[2018-03-05 15:46:41] [disconnect] Disconnect close local:[1006,Underlying Transport Error] remote:[1006]

[2018-03-05 15:46:41] [devel] asio socket shutdown timer cancelled

[2018-03-05 15:46:43] [devel] create_connection

[2018-03-05 15:46:43] [devel] asio con transport constructor

[2018-03-05 15:46:43] [devel] connection constructor

[2018-03-05 15:46:43] [devel] transport::asio::init

[2018-03-05 15:46:43] [devel] starting async DNS resolve for atlas-bj-246.csslcloud.net:8080

[2018-03-05 15:46:43] [devel] Async DNS resolve successful. Results: 39.106.42.246:8080

[2018-03-05 15:46:43] [devel] Starting async connect

[2018-03-05 15:46:43] [devel] asio handle_resolve_timeout timer cancelled

[2018-03-05 15:46:43] [devel] Async connect to 39.106.42.246:8080 successful.

[2018-03-05 15:46:43] [connect] Successful connection

[2018-03-05 15:46:43] [devel] connection start

[2018-03-05 15:46:43] [devel] asio connection init

[2018-03-05 15:46:43] [devel] asio connection handle pre_init

[2018-03-05 15:46:43] [devel] asio connection post_init

[2018-03-05 15:46:43] [devel] asio handle_connect_timeout timer cancelled

[2018-03-05 15:46:43] [devel] asio connection handle_post_init

[2018-03-05 15:46:43] [devel] connection handle_transport_init

[2018-03-05 15:46:43] [devel] connection send_http_request

[2018-03-05 15:46:43] [devel] Raw Handshake request:

GET /socket.io/?EIO=4&transport=websocket&t=1520236003 HTTP/1.1

Tags (2)
0 Kudos
0 Replies