JimWest / PyLiveLinkFace

MIT License
158 stars 48 forks source link

Sending data #5

Open zhewei-mt opened 2 years ago

zhewei-mt commented 2 years ago

Hi, Thanks for the great work. After a few attempts, I can successfully send data to UE5. But when I stop sending the data, the "Evaluate Live Link Frame" function in Blueprint is still receiving the Valid Frame as the picture below shows. I think it is more reasonable to execute the Invalid Frame step since there is no data sending. Is there any way to fix this? Thanks in advance! image

canvsleo commented 2 years ago

add s.shutdown(socket.SHUT_RDWR) s.close()

JimWest commented 2 years ago

Shortly tried that, it's still in the Valid Frame thing. I also tried it on an real IPhone, its still a valid frame, even if the app lost tracking or was close. In that function, there will always be a valid frame if a subject is selected, even if its an old one. It would only be an invalid frame if somethings wrong with the send data, so adding the shutdown command would not rreally help here?

canvsleo commented 1 year ago

What I mean is that after shutdown is added, the unreal livelink will not receive data even if the python_livelinkface source is still on