Spydroid学习

Spydroid src源码有以下几个package:

net.majorkernelpanic.http主要是介绍http server,spydroid自身内置http服务器.

This is an HTTP interface for spydroid that would start a video stream from the phone's camera to some remote client and return an appropriate sdp file.
 * For example: "http://xxx.xxx.xxx.xxx:8080/spydroid.sdp?h264"
 * You can also specify a stream id and then start a maximum of 2 streams in parallel
 * For example: "http://xxx.xxx.xxx.xxx:8080/spydroid.sdp?id=0&h264"

net.majorkernelpanic.mp4主要是介绍提取mp4文件的profile,sps,pps等信息

net.majorkernelpanic.networking 主要是介绍rtsp服务器部分,spydroid自身内置rtsp服务器,客户端可以通过在VLC等播放器中输入rtsp://ip:8086/播放

net.majorkernelpanic.rtp主要是介绍rtp协议通信

net.majorkernelpanic.spydroid主要是activity的界面部分。

net.majorkernelpanic.streaming主要是stream接口和抽象类

net.majorkernelpanic.streaming.audio介绍音频部分

net.majorkernelpanic.streaming.video介绍视频部分


RtspServer

 * Implementation of a subset of the RTSP protocol (RFC 2326)
 * This allow remote control of an android device cameras & microphone
 * For each connected client, a Session is instantiated
 * The Session will start or stop streams according to what the client wants

RequestListenerThread


http://192.168.1.105:8080/spydroid.sdp



  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值