cameraextension
cameraextension copied to clipboard
Don't understand below code
Why did just become "sc=1" ? see below code:
self.setJustProperty(streamId: sourceStream, newValue: "random") let just = self.getJustProperty(streamId: sourceStream) if let just = just { if just == "sc=1" { needToStream = true } else { needToStream = false } }
I got it here, oh well I understand now and see below code:
func myStreamingCounter() -> String { return "sc=\(_streamingCounter)" }