liuzhong0811
V2EX  ›  Java

请问各位大神, QQ、微信等社交应用上传语音和视频片段使用的是什么技术啊

  •  
  •   liuzhong0811 · Dec 4, 2016 · 3730 views
    This topic created in 3491 days ago, the information mentioned may be changed or developed.
    最近公司打算在原有软件的基础上拓展 IM 功能,但是实时传输语音和视频片段这块有点问题,难道是用的文件流?
    恳请各位大神解答下
    5 replies    2016-12-05 12:55:48 +08:00
    liuzhong0811
        1
    liuzhong0811  
    OP
       Dec 4, 2016
    有一点忘记说了, WEB 端还有 APP
    but0n
        2
    but0n  
       Dec 5, 2016 via iPhone
    我想到了 ffmpeg
    liuzhong0811
        3
    liuzhong0811  
    OP
       Dec 5, 2016
    @but0n 对于语音片段, APP 端用 ffmpeg 会影响速度么,类似微信的那种发了消息要能及时发出去的那种?
    Jasmine2016
        4
    Jasmine2016  
       Dec 5, 2016
    QQ - 菜单 - 帮助 - 关于,里面能看到一些东西。。。
    cindyleewh
        5
    cindyleewh  
       Dec 5, 2016
    如果是实时语音或者视频可能用到了 voip webrtc 之类的

    如果只是单纯的发送语音或者视频那可能是客户端进行压缩,然后通过 http 等协议上传。也可能自定义的 im 协议里面有附件上传的功能。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1360 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 17:00 · PVG 01:00 · LAX 10:00 · JFK 13:00
    ♥ Do have faith in what you're doing.