gb28181.lua 469 B

1234567891011121314
  1. -- For GB28181 TCP, RTP over RTP, see https://www.ietf.org/rfc/rfc4571.html
  2. --
  3. -- To apply this wireshark plugin:
  4. -- mkdir -p ~/.local/lib/wireshark/plugins
  5. -- ln -sf $(pwd)/gb28181.lua ~/.local/lib/wireshark/plugins/gb28181.lua
  6. do
  7. -- RFC4517 RTP & RTCP over Connection-Oriented Transport
  8. local rtp_dissector = Dissector.get("rtp.rfc4571")
  9. local tcp_dissector_table = DissectorTable.get("tcp.port")
  10. tcp_dissector_table:add(9000, rtp_dissector)
  11. end