```ruby
require "eventmachine"
require "em-rtmp/version"
```

Add base module with exceptions
user
```ruby
require "eventmachine"

require "em-rtmp/buffer"
require "em-rtmp/connection"
require "em-rtmp/version"

module EventMachine
  module RTMP

    class RTMPError < RuntimeError; end
    class HandshakeError < RTMPError; end

  end
end
```
assistant