and_cesbo

Astra DDCI

Oct 30th, 2018
655
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.60 KB | None | 0 0
  1. -- multiplex
  2. mux1 = make_mpts({
  3.     name = "Multiplex 1",
  4.     country = "RUS",
  5.     input = {
  6.         "udp://224.245.244.1:1234#set_pnr=19001&cas",
  7.         "udp://224.245.244.2:1234#set_pnr=19002&cas",
  8.     },
  9. })
  10.  
  11. -- send to Octopus CI
  12. cam1 = ddci({
  13.     upstream = mux1.tail:stream(),
  14.     adapter = 0,
  15. })
  16.  
  17. -- receive from Octopus CI
  18. make_channel({
  19.     name = "Test1",
  20.     input = { "dvb://cam1#pnr=19001&cam" },
  21.     output = { "udp://224.245.245.1:1234" },
  22. })
  23.  
  24. make_channel({
  25.     name = "Test2",
  26.     input = { "dvb://cam1#pnr=19002&cam" },
  27.     output = { "udp://224.245.245.2:1234" },
  28. })
Advertisement
Add Comment
Please, Sign In to add comment