Open pilzinho opened 8 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi @pilzinho,
Thanks for reporting this (some time ago!) - I've implemented these changes for the next release.
Cheers,
When stopping an input calling DeckLinkInput.StopInput(), the AudioClip of the AudioSource is destroyed. So when starting the input again by calling Begin() the audio will not start again.
We solved this for now in DeckLinkInput by destroying the whole AudioSource when stopping and moving the creation of the AudioSource from the Awake() to the Begin() method like so:
StopAudio() is called by the StopInput() and Cleanup() methods.