I have encountered two different definitions of a stochastic process. The first definition tells me that every outcome is associated with a deterministic function of $t$ (every outcome maps to one sample path in the ensemble). A stochastic process can therefore be regarded as a $S^t$-valued random variable, and the sample space is the sample space of that random variable. Fine.
The second definition tells me to consider a stochastic process as a sequence of random variables on a probability space $(\Omega, \mathscr F, P)$. One outcome in $\Omega$ results in a mapping for each and every random variable in the sequence (such that a "deterministic" function of time is created). Fine.
What I would like to have clarified is if the two definitions always refer to the exact same "sample space"? The first definition refers to the sample space of the $S^t$-valued random variable, and, the second definition refers to the sample space shared by all the random variables in the sequence. Are these sample spaces the same (always)? Is it called the sample space of the stochastic process?