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
84 Certbot으로 무료 인증서 발급 받기 digipine 2020.09.03 528
83 MongoDB 설치 및 C 개발 도구 설정 1 digipine 2020.09.03 449
82 mongoose 3.8 싱글 파일 소스 코드 file digipine 2020.09.01 335
81 [iOS] Bluetooth로 App을 백그라운드 모드로 실행는 방법 lizard2019 2020.02.11 3524
80 How to Build FFMpeg for LAVFilters file lizard2019 2019.06.05 1449
79 How to FFMpeg Windows Build with msys 1.0 and MinGW_64 file lizard2019 2019.06.05 2209
78 C/C++ struct 패딩(padding) 원리 이해 lizard2019 2019.03.04 2150
77 gcc thread and mutex 사용법 lizard2019 2019.02.27 1200
76 윈도우즈 도스 커멘드(Command) 네트워크 관련 명령어 lizard2019 2019.02.07 1342
75 Ubuntu 우분투 설치 가이드 lizard2019 2019.01.29 781
74 Linux/OSX bash에서 source 명령어 lizard2019 2019.01.07 779
73 Xcode 없이 맥에 '명령어 라인 도구(Command Line Tools)'를 설치하는 방법 엉뚱도마뱀 2018.12.26 2859
72 언어 IDE 별로 git ignore 파일을 자동으로 만들어 주는 사이트 엉뚱도마뱀 2018.12.17 122622
71 [Swift, MacOS] 맥 한글 파일명이 윈도우에서 자소 분리되는 현상 해결, NFD, NFC 엉뚱도마뱀 2018.12.11 20080
70 수학적 구조물 모델링 만들기 소개 비디오 엉뚱도마뱀 2018.09.24 1051
69 Photoshop CC 2018 한글 영문 변환 언어팩, 포토샵 언어변경 file 엉뚱도마뱀 2018.07.04 8531
68 LibVLC 미디어 재생기 프로그래밍 방법 C++, QT 엉뚱도마뱀 2018.04.20 2504
67 select 와 epoll 엉뚱도마뱀 2017.12.11 828
66 비밀번호 해쉬에 Salt(소금) 첨가하기 file 엉뚱도마뱀 2017.11.23 4273
65 Linux /dev/random vs /dev/urandom 삽질 후기 엉뚱도마뱀 2017.11.22 957
Board Pagination Prev 1 2 3 4 5 6 Next
/ 6