Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     _player = new GstCustomDataPlayer();
     _player.SetPort(port);
     _player.CreateStream();
     _player.Play();
 }
    // Use this for initialization
    void Start()
    {
        _receiver = new GstCustomDataPlayer();
        _receiver.SetPort(port);
        _receiver.CreateStream();

        _receiverThread = new Thread(new ThreadStart(HapticGrabberThread));

        _isDone = false;
        _receiver.Play();
        //   _receiverThread.Start();
    }