zoukankan      html  css  js  c++  java
  • http发送视频流

    --------------------------c->s----------------------------

    GET /media/simple?path=/home/xpy/http/example/huoyuanjia.mp4 HTTP/1.1
    Host: 192.168.233.128:8000
    Accept: */*
    Accept-Language: en_US
    User-Agent: VLC/3.0.14 LibVLC/3.0.14
    Range: bytes=0-

    --------------------------s->c----------------------------

    HTTP/1.1 206 Internal Server Error
    Accept-Ranges: bytes
    Content-Length: 15982834
    Content-Range: bytes 0-15982833/15982834
    Content-Type: video/mpeg
    Set-Cookie: id=1;path=/media/simple

    --------------------------c->s----------------------------

    GET /media/simple?path=/home/xpy/http/example/huoyuanjia.mp4 HTTP/1.1
    Host: 192.168.233.128:8000
    Accept: */*
    Accept-Language: en_US
    User-Agent: VLC/3.0.14 LibVLC/3.0.14
    Range: bytes=15634774-

    --------------------------s->c----------------------------

    HTTP/1.1 206 Internal Server Error
    Accept-Ranges: bytes
    Content-Length: 348060
    Content-Range: bytes 15634774-15982833/15982834
    Content-Type: video/mpeg
    Set-Cookie: id=2;path=/media/simple

    --------------------------c->s----------------------------

    GET /media/simple?path=/home/xpy/http/example/huoyuanjia.mp4 HTTP/1.1
    Host: 192.168.233.128:8000
    Accept: */*
    Accept-Language: en_US
    User-Agent: VLC/3.0.14 LibVLC/3.0.14
    Range: bytes=48-

    --------------------------s->c----------------------------

    HTTP/1.1 206 Internal Server Error
    Accept-Ranges: bytes
    Content-Length: 15982786
    Content-Range: bytes 48-15982833/15982834
    Content-Type: video/mpeg
    Set-Cookie: id=3;path=/media/simple

    ------------------------------------------------------

    2 c->s

    GET /media/simple?path=/home/xpy/zport/src/huoyuanjia.mp4 HTTP/1.1
    Host: 192.168.233.128:10000
    Accept: */*
    Accept-Language: en_US
    User-Agent: VLC/3.0.14 LibVLC/3.0.14
    Range: bytes=0-

    s->c

    HTTP/1.1 206 Partial Content
    Accept-Ranges: bytes
    Content-Length: 15982834
    Content-Range: bytes 0-15982833/15982834
    Content-Type: text/plain

    c->s

    GET /media/simple?path=/home/xpy/zport/src/huoyuanjia.mp4 HTTP/1.1
    Host: 192.168.233.128:10000
    Accept: */*
    Accept-Language: en_US
    User-Agent: VLC/3.0.14 LibVLC/3.0.14
    Range: bytes=15634774-

    s->c

    HTTP/1.1 206 Partial Content
    Accept-Ranges: bytes
    Content-Length: 348060
    Content-Range: bytes 15634774-15982833/15982834
    Content-Type: text/plain

    c->s

    GET /media/simple?path=/home/xpy/zport/src/huoyuanjia.mp4 HTTP/1.1
    Host: 192.168.233.128:10000
    Accept: */*
    Accept-Language: en_US
    User-Agent: VLC/3.0.14 LibVLC/3.0.14
    Range: bytes=48-

    s->c

    HTTP/1.1 206 Partial Content
    Accept-Ranges: bytes
    Content-Length: 15982786
    Content-Range: bytes 48-15982833/15982834
    Content-Type: text/plain

     
  • 相关阅读:
    C语言利用按位与、按位或转换大小写字母
    综合布线知识点总结
    C语言 计算阶乘
    C语言位运算符详解
    docker-compose的flask自动部署
    redis集群的布置
    fatal: unable to auto-detect email address (got 'CC@LAPTOP-UPQ1N1VQ.(none)')
    使用ImagesPipeline时候报错为:ModuleNotFoundError: No module named 'scrapy.contrib'
    多任务
    json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (ch
  • 原文地址:https://www.cnblogs.com/xpylovely/p/14814314.html
Copyright © 2011-2022 走看看