简体   繁体   English

Android - 如何捕获RTP数据包

[英]Android - How to capture RTP packet

I can view the streaming video from Darwin Streaming Server on Android using VideoView class. 我可以使用VideoView类在Android上查看来自Darwin Streaming Server的流视频。

I just need to get the sequence number field in an RTP packet to measure Packet Loss Rate. 我只需要获取RTP数据包中的序列号字段来测量数据包丢失率。

Could you give me general idea of how to capture an RTP packet?. 你能给我一些关于如何捕获RTP数据包的概念吗?

Is that socket programming? 是套接字编程吗? Please tell me the proper step if possible. 如果可能的话,请告诉我正确的步骤。

tcpdump on Android - https://www.androidtcpdump.com/ Android上的tcpdump - https://www.androidtcpdump.com/

watching/capture live traces 观看/捕捉现场痕迹

adb exec-out "tcpdump -i any -U -w - 2>/dev/null" | adb exec-out“tcpdump -i any -U -w - 2> / dev / null”| wireshark -k -S -i - wireshark -k -S -i -

https://blog.wirelessmoves.com/2017/02/adb-and-tcpdump-on-android-for-live-wireshark-tracing.html https://blog.wirelessmoves.com/2017/02/adb-and-tcpdump-on-android-for-live-wireshark-tracing.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM