OutSystems Forge 日本語データベース

Binary Data Streamer

※Forge全件データの日本語検索サービスをご利用になりたい場合は、こちらまでお問合せください。

Forge英文サイト

2015-03-08 1.0.0 Bruno Martinho 9.0.0.19 SQL Server .NET Libraries
バイナリデータをHttpContextレスポンスとしてストリームする拡張コンポーネント。 レスポンスは通常のステータスコード200を返さず、データをチャンクに入れブラウザへ206(部分コンテンツ)を返します。 これにより、ファイルシステムではなくデータベースに保存されたビデオバイナリを持つHTML5プレーヤーにmp4形式のビデオをストリーミングできます。
バイナリデータをHttpContextレスポンスとしてストリームする拡張。 レスポンスは通常の200のステータスコードを返さず、データをチャンクに入れブラウザへ206(部分コンテンツ)を返します。 これにより、ファイルシステムではなくデータベースに保存されたビデオバイナリを持つHTML5プレーヤーにmp4形式のビデオをストリーミングできます。 このコードは、Alexander SchaafのASP.NETにおける大規模なファイルダウンロードの追跡と再開に基づいています。 mp4ビデオをストリーミングするには、ビデオ識別子の入力を持つWeb画面を作成します。 これを使用して、データベースからビデオバイナリデータを取得し、StreamBinaryDataアクションを使用します。

[Overview]
Extension to stream binary data as an HttpContext Response. The response won't return the regular 200 status code, it will return a 206 (partial content) feeding the browser with data in chunks. This allow to stream video in mp4 to a HTML5 player having the video binary stored in the database and not in the filesystem.
[Detail]
Extension to stream binary data as an HttpContext Response. The response won't return the regular 200 status code, it will return a 206 (partial content) feeding the browser with data in chunks. This allow to stream video in mp4 to a HTML5 player having the video binary stored in the database and not in the filesystem. The code is based on the post Tracking and Resuming Large File Downloads in ASP.NET by Alexander Schaaf. More details here. To stream a mp4 video, create a webscreen that has a video identifier input. Use it to retrieve the video binary data from the database and use the action StreamBinaryData.
戻る