/// <summary>
        /// Jumps to a specific time in the recording.
        /// </summary>
        public void JumpTo(long timeToJumpTo)
        {
            if (timeToJumpTo < this.startTime)
            {
                throw new ArgumentException(Strings.TimeToJumpToLessThanStartTime);
            }

            avPlayer.JumpTo(timeToJumpTo);
            otherPlayer.JumpTo(timeToJumpTo);
        }
示例#2
0
        /// <summary>
        /// Jumps to a specific time in the recording.
        /// </summary>
        public void JumpTo(long timeToJumpTo)
        {
            if (timeToJumpTo < this.startTime)
            {
                throw new ArgumentException("The timeToJumpTo argument is less than the start time of the recording.");
            }

            avPlayer.JumpTo(timeToJumpTo);
            otherPlayer.JumpTo(timeToJumpTo);
        }