lib/rtsp/client.rb
def compare_sequence_number server_cseq
      if @cseq != server_cseq
        message = "Sequence number mismatch.  Client: #{@cseq}, Server: #{server_cseq}"
        raise RTSP::Error, message
      end
    end
# Compares the sequence number passed in to the current client sequence
# number ( +@cseq+ ) and raises if they're not equal.  If that's the case, the
# server responded to a different request.
#
# @param [Fixnum] server_cseq Sequence number returned by the server.
# @raise [RTSP::Error] If the server returns a CSeq value that's different
#   from what the client sent.
Compares the sequence number passed in to the current client sequence
number ( +@cseq+ ) and raises if they're not equal.  If that's the case, the
server responded to a different request.
Compares the sequence number passed in to the current client sequence number ( + @cseq + ) and raises if they ' re not equal . If that ' s the case the server responded to a different request .
def compare_sequence_number server_cseq
      if @cseq != server_cseq
        message = "Sequence number mismatch.  Client: #{@cseq}, Server: #{server_cseq}"
        raise RTSP::Error, message
      end
    end
def compare_sequence_number server_cseq if @cseq != server_cseq message = "Sequence number mismatch.  Client: #{@cseq}, Server: #{server_cseq}" raise RTSP :: Error , message end end
Compares the sequence number passed in to the current client sequence
number ( +@cseq+ ) and raises if they're not equal.
Compares the sequence number passed in to the current client sequence number ( + @cseq + ) and raises if they ' re not equal .
[RTSP::Error] If the server returns a CSeq value that's different from what the client sent.
[ RTSP :: Error ] If the server returns a CSeq value that ' s different from what the client sent .
server_cseq
server_cseq Sequence number returned by the server.
server_cseq Sequence number returned by the server .