logo

English

이곳의 프로그래밍관련 정보와 소스는 마음대로 활용하셔도 좋습니다. 다만 쓰시기 전에 통보 정도는 해주시는 것이 예의 일것 같습니다. 질문이나 오류 수정은 siseong@gmail.com 으로 주세요. 감사합니다.

Wi-Fi Display Standard Miracast Protocol Log

by digipine posted Nov 02, 2017
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
WFD(Miracast) 프로토콜 문서만 보고 이해가기 힘든데요. 아래 Log를 보고 분석하면 이해하는데 많은 도움이 됩니다.
실제 안드로이드 Source기기에서 추출한 Log 입니다.
 
### RTSP_SEND_GET_PARAMETER: GET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0
CSeq: 2
Content-Type: text/parameters
Content-Length: 59
 
wfd_video_formats
wfd_audio_codecs
wfd_client_rtp_ports
 
process_video_format=40 00 02 04 00019CEB 053C7FFF 00000FFF 00 0000 0000 11 none none, 01 04 00019CEB 053C7FFF 00000FFF 00 0000 0000 11 none none->dest=38 00 02 02 00000080 00000000 00000000 00 0000 0000 00 none none
process_audio_format=LPCM 00000003 00, AAC 00000001 00, AC3 00000000 00->dest=AAC 00000001 00
process_rtp_format=RTP/AVP/UDP;unicast 19000 0 mode=play->dest=RTP/AVP/UDP;unicast 19000 0 mode=play
### RTSP_SEND_SET_PARAMETER: SET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0
CSeq: 3
Content-Type: text/parameters
Content-Length: 247
 
wfd_video_formats: 38 00 02 02 00000080 00000000 00000000 00 0000 0000 00 none none
wfd_audio_codecs: AAC 00000001 00
wfd_client_rtp_ports: RTP/AVP/UDP;unicast 19000 0 mode=play
wfd_presentation_URL: rtsp://192.168.49.1/wfd1.0/streamid=0 none
 
### RTSP_SEND_SETUP: SET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0
CSeq: 4
Content-Type: text/parameters
Content-Length: 27
 
wfd_trigger_method: SETUP
 
 

01-01 14:48:23.807 1214-1214/com.rockchip.mediacenter:service D/SystemDeviceService: Network changed, but ipaddress not changed. 

01-01 14:48:23.882 3240-3240/? I/wfd: ##############

01-01 14:48:23.883 3240-3240/? I/wfd: line =IP address       HW type     Flags       HW address            Mask     Device

01-01 14:48:23.883 3240-3240/? I/wfd: Device =HW

01-01 14:48:23.883 3240-3240/? I/wfd: line =192.168.49.192   0x1         0x2        2e:59:8a:5a:7c:5c     *        p2p-wlan0-8

01-01 14:48:23.884 3240-3240/? I/wfd: Device =p2p-wlan0-8

01-01 14:48:23.884 3240-3240/? I/wfd: ####IpAddr ==192.168.49.192

01-01 14:48:23.884 3240-3240/? E/wfd: start---------WFD s connectToHost =192.168.49.192,connectToPort=7236

01-01 14:48:24.687 3240-3240/? E/wfd: start---------WFD s connectToPort=7236 connectToHost.c_str() 192.168.49.192

01-01 14:48:24.687 3240-3249/? D/WifiDisplaySink: b8f48238 wifidisplaysink 1 b8f48238

01-01 14:48:24.687 3240-3240/? I/WifiDisplaySink: start---------(shost,sport)

01-01 14:48:24.687 3240-3240/? I/WifiDisplaySink: start   sink

01-01 14:48:24.688 3240-3249/? D/WifiDisplaySink:  before listen s 10

01-01 14:48:24.693 3240-3240/? I/NetworkSession: connecting socket 11 to 192.168.49.192:7236

01-01 14:48:24.712 3240-3240/? I/WifiDisplaySink: We're now connected.

01-01 14:48:24.726 3240-3240/? D/WifiDisplaySink: onReceiveClientData sessionID 1

01-01 14:48:24.727 3240-3240/? I/WifiDisplaySink: ****************************************

01-01 14:48:24.727 3240-3240/? I/WifiDisplaySink: OPTIONS * RTSP/1.0

                                                  cseq: 0

                                                  require: org.wfa.wfd1.0

01-01 14:48:24.727 3240-3240/? I/WifiDisplaySink: ****************************************

01-01 14:48:24.733 3240-3240/? I/WifiDisplaySink: *******************************

01-01 14:48:24.733 3240-3240/? I/WifiDisplaySink: OPTIONS * RTSP/1.0

                                                  Date: Sat, 01 Jan 2011 14:48:24 +0000

                                                  User-Agent: stagefright/1.1 (Linux;Android 4.1):rockchip

                                                  CSeq: 1

                                                  Require: org.wfa.wfd1.0

01-01 14:48:24.733 3240-3240/? I/WifiDisplaySink: *******************************

01-01 14:48:24.748 3240-3240/? D/WifiDisplaySink: onReceiveClientData sessionID 1

01-01 14:48:24.748 3240-3240/? I/WifiDisplaySink: ****************************************

01-01 14:48:24.748 3240-3240/? I/WifiDisplaySink: RTSP/1.0 200 OK

                                                  cseq: 1

                                                  public: org.wfa.wfd1.0, GET_PARAMETER, SET_PARAMETER, SETUP, PLAY, PAUSE, TEARDOWN

01-01 14:48:24.749 3240-3240/? I/WifiDisplaySink: ****************************************

01-01 14:48:24.791 3240-3240/? D/WifiDisplaySink: onReceiveClientData sessionID 1

01-01 14:48:24.791 3240-3240/? I/WifiDisplaySink: ****************************************

01-01 14:48:24.791 3240-3240/? I/WifiDisplaySink: GET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0

                                                  content-length: 212

                                                  content-type: text/parameters

                                                  cseq: 1

                                                  

                                                  wfd_audio_codecs

                                                  wfd_video_formats

                                                  wfd_content_protection

                                                  wfd_coupled_sink

                                                  wfd_client_rtp_ports

                                                  wfd_uibc_capability

                                                  wfd_standby_resume_capability

                                                  wd_initial_buffer

                                                  wfd_aux_stream_info

                                                  wfd_lg_capability

01-01 14:48:24.791 3240-3240/? I/WifiDisplaySink: ****************************************

01-01 14:48:24.796 3240-3240/? D/WifiDisplaySink: key inside ?:

01-01 14:48:24.797 3240-3240/? D/WifiDisplaySink: send m3 respose

01-01 14:48:24.797 3240-3240/? D/WifiDisplaySink: RTSP/1.0 200 OK

                                                  Date: Sat, 01 Jan 2011 14:48:24 +0000

                                                  User-Agent: stagefright/1.1 (Linux;Android 4.1):rockchip

                                                  CSeq: 1

                                                  Content-Type: text/parameters

                                                  Content-Length: 280

                                                  

                                                  wfd_video_formats: 00 00 02 02 0001DEFF 157C7FFF 00000FFF 00 0000 0000 00 none none

                                                  wfd_audio_codecs: LPCM 00000002 00, AAC 0000000F 00

                                                  wfd_uibc_capability: none

                                                  wfd_content_protection: none

                                                  wfd_coupled_sink: none

                                                  wfd_client_rtp_ports: RTP/AVP/UDP;unicast 15550 0 mode=play

01-01 14:48:24.818 3240-3240/? D/WifiDisplaySink: onReceiveClientData sessionID 1

01-01 14:48:24.818 3240-3240/? I/WifiDisplaySink: ****************************************

01-01 14:48:24.818 3240-3240/? I/WifiDisplaySink: SET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0

                                                  content-length: 249

                                                  content-type: text/parameters

                                                  cseq: 2

                                                  session: 00000000

                                                  

                                                  wfd_audio_codecs: AAC 00000001 00

                                                  wfd_video_formats: 00 00 02 02 00000080 00000000 00000000 00 0000 0000 00 none none

                                                  wfd_presentation_URL: rtsp://192.168.49.192/wfd1.0/streamid=0 none

                                                  wfd_client_rtp_ports: RTP/AVP/UDP;unicast 15550 0 mode=play

01-01 14:48:24.818 3240-3240/? I/WifiDisplaySink: ****************************************

01-01 14:48:24.818 3240-3240/? D/WifiDisplaySink: SET_Parameter: parse url = rtsp://192.168.49.192/wfd1.0/streamid=0

01-01 14:48:24.819 3240-3240/? I/WifiDisplaySink: send m4 response

01-01 14:48:24.819 3240-3240/? I/WifiDisplaySink: RTSP/1.0 200 OK

                                                  Date: Sat, 01 Jan 2011 14:48:24 +0000

                                                  User-Agent: stagefright/1.1 (Linux;Android 4.1):rockchip

                                                  CSeq: 2

01-01 14:48:24.824 3240-3240/? D/WifiDisplaySink: onReceiveClientData sessionID 1

01-01 14:48:24.824 3240-3240/? I/WifiDisplaySink: ****************************************

01-01 14:48:24.825 3240-3240/? I/WifiDisplaySink: SET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0

                                                  content-length: 27

                                                  content-type: text/parameters

                                                  cseq: 3

                                                  session: 00000000

                                                  

                                                  wfd_trigger_method: SETUP

01-01 14:48:24.825 3240-3240/? I/WifiDisplaySink: ****************************************

01-01 14:48:24.826 3240-3240/? D/WifiDisplaySink: onSetParmeterRequest content wfd_trigger_method: SETUP

01-01 14:48:24.929 3240-3240/? D/WifiDisplaySink: onReceiveClientData sessionID 1

01-01 14:48:24.929 3240-3240/? I/WifiDisplaySink: ****************************************

01-01 14:48:24.929 3240-3240/? I/WifiDisplaySink: RTSP/1.0 200 OK

                                                  cseq: 2

                                                  date: Wed, Feb 15 2017 08:40:26 GMT

                                                  session: 00000000

                                                  transport: RTP/AVP/UDP;unicast;client_port=15550-15551;server_port=19022-19023

01-01 14:48:24.929 3240-3240/? I/WifiDisplaySink: ****************************************

01-01 14:48:24.929 3240-3240/? I/WifiDisplaySink: onReceiveSetupResponse********************

01-01 14:48:24.938 3240-3240/? D/WifiDisplaySink: onReceiveClientData sessionID 1

01-01 14:48:24.938 3240-3240/? I/WifiDisplaySink: ****************************************

01-01 14:48:24.938 3240-3240/? I/WifiDisplaySink: RTSP/1.0 200 OK

                                                  cseq: 3

                                                  date: Wed, Feb 15 2017 08:40:26 GMT

01-01 14:48:24.938 3240-3240/? I/WifiDisplaySink: ****************************************

TAG •

List of Articles
No. Subject Author Date Views
104 TCP/IP State Transition - TCP 스택 포팅 시 참조 file digipine 2017.11.02 195213
103 언어 IDE 별로 git ignore 파일을 자동으로 만들어 주는 사이트 엉뚱도마뱀 2018.12.17 122644
102 What is Android Repo? and Manual, Download file digipine 2017.11.02 99671
101 [Linux] ubuntu 16.04에 QT Creator 설치하기 digipine 2017.11.02 24346
100 [Swift, MacOS] 맥 한글 파일명이 윈도우에서 자소 분리되는 현상 해결, NFD, NFC 엉뚱도마뱀 2018.12.11 20080
99 Linux init.d 에서 등록하기. 부팅 시 자동실행 설정 digipine 2017.11.03 12631
98 FFT (Fast Fourier Transform) 고속 푸리에 변환 예제 소스 digipine 2017.10.29 12548
97 Photoshop CC 2018 한글 영문 변환 언어팩, 포토샵 언어변경 file 엉뚱도마뱀 2018.07.04 8531
96 Phabricator 설치 가이드 우분투 16.04 기준 digipine 2017.11.02 6193
95 ATmega8 MCU 간의 TWI 기능을 이용한 I2C 통신 digipine 2017.11.02 5998
94 WinPCap과 Ethereal, Wireshark 을 이용한 스니핑(Sniffing) digipine 2017.10.29 5428
93 공짜 무료 C/C++ 컴파일러들 file digipine 2017.10.28 4378
92 난수발생기 개론 엉뚱도마뱀 2017.11.22 4319
91 비밀번호 해쉬에 Salt(소금) 첨가하기 file 엉뚱도마뱀 2017.11.23 4274
90 [iOS] Bluetooth로 App을 백그라운드 모드로 실행는 방법 lizard2019 2020.02.11 3525
89 OpenAL 사용법 정리 1 digipine 2017.11.01 3398
88 [Linux, OSX] pfctl - Packet FIlter Control 사용법 digipine 2017.11.02 3189
87 Xcode 없이 맥에 '명령어 라인 도구(Command Line Tools)'를 설치하는 방법 엉뚱도마뱀 2018.12.26 2859
86 WIN CE, GPS - NMEA protocol - GPS Virtual Driver digipine 2017.10.28 2830
85 초고속망 통신사 DNS 서버 주소 모음 - DNS 설정 digipine 2017.11.03 2631
Board Pagination Prev 1 2 3 4 5 6 Next
/ 6