Slight change in terminology to distinguish streaming from broadcasting

VideoStream is reserved for point-to-point video streaming (between vimix), while VideoBroadcast is for sending out to many potential clients.
This commit is contained in:
Bruno Herbelin
2022-01-22 00:23:59 +01:00
parent 35ec0c9bcf
commit 2b3696aab1
6 changed files with 45 additions and 43 deletions

View File

@@ -60,7 +60,7 @@ void NetworkStream::ResponseListener::ProcessMessage( const osc::ReceivedMessage
// someone is offering a stream
osc::ReceivedMessage::const_iterator arg = m.ArgumentsBegin();
conf.port = (arg++)->AsInt32();
conf.protocol = (NetworkToolkit::Protocol) (arg++)->AsInt32();
conf.protocol = (NetworkToolkit::StreamProtocol) (arg++)->AsInt32();
conf.width = (arg++)->AsInt32();
conf.height = (arg++)->AsInt32();
@@ -261,7 +261,7 @@ void NetworkStream::update()
// general case : create pipeline and open
if (!failed_) {
// build the pipeline depending on stream info
std::string pipelinestring = NetworkToolkit::protocol_receive_pipeline[config_.protocol];
std::string pipelinestring = NetworkToolkit::stream_receive_pipeline[config_.protocol];
// find placeholder for PORT or SHH socket
size_t xxxx = pipelinestring.find("XXXX");