Fixes and improvements to generic push-input handling

This commit is contained in:
Thulinma 2017-04-07 15:34:41 +02:00
parent 7b1652498b
commit 5e2b29466b
5 changed files with 6 additions and 4 deletions

View file

@ -198,6 +198,7 @@ namespace Mist{
if (nProxy.userClient.getData()){
nProxy.userClient.finish();
}
nProxy.streamName = streamName;
char userPageName[NAME_BUFFER_SIZE];
snprintf(userPageName, NAME_BUFFER_SIZE, SHM_USERS, streamName.c_str());
unsigned int attempts = 0;

View file

@ -927,7 +927,6 @@ namespace Mist {
snprintf(userPageName, NAME_BUFFER_SIZE, SHM_USERS, streamName.c_str());
nProxy.userClient = IPC::sharedClient(userPageName, PLAY_EX_SIZE, true);
}
nProxy.streamName = streamName;
bufferLivePacket(thisPacket);
}
break;