Commit 284fb74c authored by d.basulto's avatar d.basulto

change publisher -> pubDirName

parent e6a4bd37
...@@ -23,7 +23,7 @@ def streamsInitializer(record_time): ...@@ -23,7 +23,7 @@ def streamsInitializer(record_time):
for i in range(len(publishers_data)): for i in range(len(publishers_data)):
new_pid = os.fork() new_pid = os.fork()
if(new_pid == 0): if(new_pid == 0):
startStream(publishers_data[i]["publisher"], publishers_data[i]["url"], record_time) startStream(publishers_data[i]["pubDirName"], publishers_data[i]["url"], record_time)
else: else:
pids = (os.getpid(), new_pid) pids = (os.getpid(), new_pid)
print("parent: %d, child: %d\n" % pids) print("parent: %d, child: %d\n" % pids)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment