Пример #1
0
 // Start is called before the first frame update
 void Start()
 {
     player.serverUrl = Config.ReadValue("MJpegStreamer", "Url", ServerUrl);
     if (PlayAutomatically)
     {
         player.StartStreaming();
     }
 }
Пример #2
0
 public void StartStreaming()
 {
     if (field.text != "")
     {
         player.serverUrl = field.text;
     }
     else
     {
         field.text = player.serverUrl;
     }
     player.StartStreaming();
 }