SkyWay Linux SDK
読み取り中…
検索中…
一致する文字列を見つけられません
skyway::media::StreamFactory クラス

Streamの作成を行うクラス [詳解]

#include <skyway/media/stream_factory.hpp>

クラス

struct  CaptureOptions
 映像入力デバイスからStreamを生成する際の希望設定 [詳解]
 

静的公開メンバ関数

static std::shared_ptr< stream::local::LocalDataStreamCreateDataStream ()
 LocalDataStreamを生成します。
 
static std::shared_ptr< stream::local::LocalAudioStreamCreateAudioStream ()
 LocalAudioStreamを生成します。
 
static std::shared_ptr< stream::local::LocalAudioStreamCreateAudioStream (std::shared_ptr< audio::interface::PcmAudioSource > source)
 LocalAudioStreamを生成します。
 
static std::shared_ptr< stream::local::LocalVideoStreamCreateVideoStream (std::shared_ptr< interface::CapturerVideoSource > capturer)
 LocalVideoStreamを生成します。
 
static std::shared_ptr< stream::local::LocalVideoStreamCreateVideoStream (const DeviceManager::VideoDevice &device)
 LocalVideoStreamを生成します。
 
static std::shared_ptr< stream::local::LocalVideoStreamCreateVideoStream (const DeviceManager::VideoDevice &device, const CaptureOptions &options)
 LocalVideoStreamを生成します。
 

詳解

Streamの作成を行うクラス

関数詳解

◆ CreateAudioStream()

static std::shared_ptr< stream::local::LocalAudioStream > skyway::media::StreamFactory::CreateAudioStream ( std::shared_ptr< audio::interface::PcmAudioSource source)
static

LocalAudioStreamを生成します。

引数
sourceStreamのソースになるPcmAudioSource

◆ CreateVideoStream() [1/3]

static std::shared_ptr< stream::local::LocalVideoStream > skyway::media::StreamFactory::CreateVideoStream ( const DeviceManager::VideoDevice device)
static

LocalVideoStreamを生成します。

640x480 / 30fps を希望値として映像入力デバイスから生成します。 640x480 / 30fps が必ず使われるとは限りません。

引数
deviceStreamのソースになるVideoDevice

◆ CreateVideoStream() [2/3]

static std::shared_ptr< stream::local::LocalVideoStream > skyway::media::StreamFactory::CreateVideoStream ( const DeviceManager::VideoDevice device,
const CaptureOptions options 
)
static

LocalVideoStreamを生成します。

映像入力デバイスに希望するキャプチャ設定を指定して生成します。 指定した値が必ず使われるとは限りません。

引数
deviceStreamのソースになるVideoDevice
options希望するキャプチャ設定

◆ CreateVideoStream() [3/3]

static std::shared_ptr< stream::local::LocalVideoStream > skyway::media::StreamFactory::CreateVideoStream ( std::shared_ptr< interface::CapturerVideoSource capturer)
static

LocalVideoStreamを生成します。

引数
trackStreamのソースになるCapture

このクラス詳解は次のファイルから抽出されました: