Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for video (0.15 sec)

  1. docs_src/custom_response/tutorial008.py

    from fastapi import FastAPI
    from fastapi.responses import StreamingResponse
    
    some_file_path = "large-video-file.mp4"
    app = FastAPI()
    
    
    @app.get("/")
    def main():
        def iterfile():  # (1)
            with open(some_file_path, mode="rb") as file_like:  # (2)
                yield from file_like  # (3)
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jul 19 19:14:58 GMT 2021
    - 360 bytes
    - Viewed (0)
  2. docs/contribute/concurrency.md

    Consider an application streaming a video over http/2. Perhaps the user pauses the video and the application stops reading bytes from this stream. The buffer will fill up, and flow control prevents the server from sending more data on this stream. When the user unpauses her video the buffer drains, the read is acknowledged, and the server proceeds to stream data.
    
    #### Shared reader thread
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/MediaType.java

      /* video types */
      public static final MediaType MP4_VIDEO = createConstant(VIDEO_TYPE, "mp4");
      public static final MediaType MPEG_VIDEO = createConstant(VIDEO_TYPE, "mpeg");
      public static final MediaType OGG_VIDEO = createConstant(VIDEO_TYPE, "ogg");
      public static final MediaType QUICKTIME = createConstant(VIDEO_TYPE, "quicktime");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_custom_response/test_tutorial009.py

    from docs_src.custom_response.tutorial009 import app
    
    client = TestClient(app)
    
    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial009.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jul 03 19:51:28 GMT 2021
    - 487 bytes
    - Viewed (0)
  5. tests/test_tutorial/test_custom_response/test_tutorial009b.py

    from docs_src.custom_response.tutorial009b import app
    
    client = TestClient(app)
    
    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial009b.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jul 03 19:51:28 GMT 2021
    - 490 bytes
    - Viewed (0)
  6. docs_src/custom_response/tutorial009b.py

    from fastapi import FastAPI
    from fastapi.responses import FileResponse
    
    some_file_path = "large-video-file.mp4"
    app = FastAPI()
    
    
    @app.get("/", response_class=FileResponse)
    async def main():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jul 03 19:51:28 GMT 2021
    - 217 bytes
    - Viewed (0)
  7. src/main/resources/fess_config.properties

    application/x-bzip=bz\n\
    application/x-bzip2=bz2\n\
    application/x-tar=tar\n\
    application/x-rar-compressed=rar\n\
    video/3gp=3gp\n\
    video/3g2=3g2\n\
    video/x-msvideo=avi\n\
    video/x-flv=flv\n\
    video/mpeg=mpeg\n\
    video/mp4=mp4\n\
    video/ogv=ogv\n\
    video/quicktime=qt\n\
    video/x-m4v=m4v\n\
    audio/x-aif=aif\n\
    audio/midi=midi\n\
    audio/mpga=mpga\n\
    audio/mp4=mp4a\n\
    audio/ogg=oga\n\
    Properties
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Apr 11 02:34:53 GMT 2024
    - 30.6K bytes
    - Viewed (1)
  8. src/main/resources/fess_label.properties

    labels.facet_filetype_rar=RAR Archive
    labels.facet_filetype_3gp=3gp Video
    labels.facet_filetype_3g2=3g2 Video
    labels.facet_filetype_avi=AVI Video
    labels.facet_filetype_flv=FLV Video
    labels.facet_filetype_mpeg=MPEG Video
    labels.facet_filetype_mp4=MP4 Video
    labels.facet_filetype_ogv=OGV Video
    labels.facet_filetype_qt=QuickTime Video
    labels.facet_filetype_m4v=M4V Video
    labels.facet_filetype_ogg=OGG Audio
    Properties
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 40.7K bytes
    - Viewed (1)
  9. src/main/resources/fess_label_en.properties

    labels.facet_filetype_rar=RAR Archive
    labels.facet_filetype_3gp=3gp Video
    labels.facet_filetype_3g2=3g2 Video
    labels.facet_filetype_avi=AVI Video
    labels.facet_filetype_flv=FLV Video
    labels.facet_filetype_mpeg=MPEG Video
    labels.facet_filetype_mp4=MP4 Video
    labels.facet_filetype_ogv=OGV Video
    labels.facet_filetype_qt=QuickTime Video
    labels.facet_filetype_m4v=M4V Video
    labels.facet_filetype_ogg=OGG Audio
    Properties
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 40.7K bytes
    - Viewed (0)
  10. src/main/resources/fess_label_ru.properties

    labels.facet_filetype_rar=RAR Archive
    labels.facet_filetype_3gp=3gp Video
    labels.facet_filetype_3g2=3g2 Video
    labels.facet_filetype_avi=AVI Video
    labels.facet_filetype_flv=FLV Video
    labels.facet_filetype_mpeg=MPEG Video
    labels.facet_filetype_mp4=MP4 Video
    labels.facet_filetype_ogv=OGV Video
    labels.facet_filetype_qt=QuickTime Video
    labels.facet_filetype_m4v=M4V Video
    labels.facet_filetype_ogg=OGG Audio
    Properties
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 45.6K bytes
    - Viewed (0)
Back to top