Sha256: b6fb8bb8c7be20960198a0f94b8b2a760b0fdf59ab1949b61233f62875aa5307

Contents?: true

Size: 919 Bytes

Versions: 6

Compression:

Stored size: 919 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe 'RubyRabbitmqJanus::RRJ -- message type offer', broken: true do
  before(:example) do
    @type = 'peer::offer'
    @options = {
      'sdp' => <<SDP
v=0
o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com
s=
c=IN IP4 host.atlanta.example.com
t=0 0
m=audio 49170 RTP/AVP 0 8 97
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:97 iLBC/8000
m=video 51372 RTP/AVP 31 32
a=rtpmap:31 H261/90000
a=rtpmap:32 MPV/90000
SDP
    }
  end

  describe '#start_transaction_handle', type: :request,
                                        level: :peer,
                                        name: :offer do
    context 'when queue is exclusive' do
      it_behaves_like 'transaction handle should match json schema'
    end

    context 'when queue is not exclusive' do
      it_behaves_like 'transaction handle should match json empty'
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-2.0.0.pre.101 spec/request/peer/request_offer_spec.rb
ruby_rabbitmq_janus-2.0.0.pre.100 spec/request/peer/request_offer_spec.rb
ruby_rabbitmq_janus-2.0.0.pre.97 spec/request/peer/request_offer_spec.rb
ruby_rabbitmq_janus-2.0.0.pre.96 spec/request/peer/request_offer_spec.rb
ruby_rabbitmq_janus-2.0.0.pre.95 spec/request/peer/request_offer_spec.rb
ruby_rabbitmq_janus-2.0.0.pre.42 spec/request/peer/request_offer_spec.rb