Exemplo n.º 1
0
        private void CreatePlayer()
        {
            player = new ESPlayer.ESPlayer();

            player.Open();
            player.SetTrustZoneUse(true);
            player.SetDisplay(displayWindow);
            resourceConflict = false;
        }
        private void CreatePlayer()
        {
            player = new ESPlayer.ESPlayer();
            player.Open();

            //The Tizen TV emulator is based on the x86 architecture. Using trust zone (DRM'ed content playback) is not supported by the emulator.
            if (RuntimeInformation.ProcessArchitecture != Architecture.X86)
            {
                player.SetTrustZoneUse(true);
            }

            player.SetDisplay(displayWindow);
            resourceConflict = false;
        }
Exemplo n.º 3
0
        private void OpenPlayer()
        {
            logger.Info("");
            player.Open();

            //The Tizen TV emulator is based on the x86 architecture. Using trust zone (DRM'ed content playback) is not supported by the emulator.
            if (RuntimeInformation.ProcessArchitecture != Architecture.X86)
            {
                player.SetTrustZoneUse(true);
            }

            player.SetDisplay(displayWindow);

            foreach (var stream in esStreams)
            {
                stream?.SetPlayer(player);
            }

            _playerClock.SetPlayerClockSource(CreatePlayerClockFunction(player));

            AttachEventHandlers();
        }