@@ -23,7 +23,7 @@ using synapse::NodeConfig;
2323using synapse::Node;
2424
2525
26- auto stream_new (Device& device, std::shared_ptr<StreamOut>* stream_out_ptr, const std::string& dest_addr ) -> science::Status {
26+ auto stream_new (Device& device, std::shared_ptr<StreamOut>* stream_out_ptr) -> science::Status {
2727 const uint32_t N_CHANNELS = 10 ;
2828 if (stream_out_ptr == nullptr ) {
2929 return { science::StatusCode::kInvalidArgument , " stream out pointer is null" };
@@ -58,7 +58,6 @@ auto stream_new(Device& device, std::shared_ptr<StreamOut>* stream_out_ptr, cons
5858 NodeConfig stream_out_config;
5959 auto * stream_out_proto = stream_out_config.mutable_stream_out ();
6060 auto * udp_config = stream_out_proto->mutable_udp_unicast ();
61- udp_config->set_destination_address (dest_addr);
6261 udp_config->set_destination_port (StreamOut::DEFAULT_STREAM_OUT_PORT);
6362 stream_out_proto->set_label (" Broadband Stream" );
6463
@@ -143,7 +142,7 @@ auto stream(const std::string& uri, bool configure) -> int {
143142
144143 std::shared_ptr<synapse::StreamOut> stream_out;
145144 if (configure) {
146- s = stream_new (device, &stream_out, " 127.0.0.1 " );
145+ s = stream_new (device, &stream_out);
147146 if (!s.ok ()) {
148147 std::cout << " error configuring stream out node: ("
149148 << static_cast <int >(s.code ()) << " ) " << s.message () << std::endl;
0 commit comments