// Start is called before the first frame update void Start() { player.serverUrl = Config.ReadValue("MJpegStreamer", "Url", ServerUrl); if (PlayAutomatically) { player.StartStreaming(); } }
public void StartStreaming() { if (field.text != "") { player.serverUrl = field.text; } else { field.text = player.serverUrl; } player.StartStreaming(); }