【NDK】移植Live555到Android

有个IPC的项目有用到live555,简单编译了一下live555的动态库,作为笔记存用,因为也没碰到什么难点,有问题可以联系我

一、Live555简绍

  • Live555作为一个经典的流媒体开源框架,相信如果你要用到,肯定也有初步了解,我的项目中用到他的RTSP Server。一起来看看它的支持:

    The “LIVE555 Media Server” is a complete RTSP server application. It can stream several kinds of media file (which must be stored in the current working directory - i.e., the directory from which you launch the application - or a subdirectory.):

    • A MPEG Transport Stream file (with file name suffix “.ts”)
    • A Matroska or WebM file (with filename suffix “.mkv” or “.webm”)
    • An Ogg file (with filename suffix “.ogg”, “ogv”, or “.opus”)
    • A MPEG-1 or 2 Program Stream file (with file name suffix “.mpg”)
    • A MPEG-4 Video Elementary Stream file (with file name suffix “.m4e”)
    • A H.264 Video Elementary Stream file (with file name suffix “.264”)
    • A H.265 Video Elementary Stream file (with file name suffix “.265”)
    • A VOB video+audio file (with file name suffix “.vob”)
    • A DV video file (with file name suffix “.dv”)
    • A MPEG-1 or 2 (including layer III - i.e., ‘MP3’) audio file (with file name suffix “.mp3”)
    • A WAV (PCM) audio file (with file name suffix “.wav”)
    • An AMR audio file (with file name suffix “.amr”)
    • An AC-3 audio file (with file name suffix “.ac3”)
    • An AAC (ADTS format) audio file (with file name suffix “.aac”)
      上面死它支持流的类型,它能同时传输多路流,支持VLC和RTSP Client预览流媒体
  • 它对应的目录(中间还包含其他目录,包括win和linux编译环境和脚本,我们用不到删除即可):

    • BasicUsageEnvironment UsageEnvironment define
    • groupsock 包含网络和socket相关
    • liveMedia 核心功能,对接流媒体编码器等
    • mediaServer 媒体server
    • proxyServer 代理server
    • UsageEnvironment 都是些待实现的抽象基础类,构成一些基础架构
    • testProgs 列举使用UsageEnvironment实现的一些简单程序

二、编译live555

  1. 下载:http://www.live555.com/liveMedia/public/

     选择live555-latest.tar.gz
    
  2. 删除用不到的文件,如win和linux编译环境和脚本

  3. Android.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值