@camera.ui/server 0.0.48 → 0.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/dist/interface/{@tanstack.B7j0RsPf.0.0.48.js → @tanstack.CgZ4BVuY.0.0.49.js} +1 -1
  2. package/dist/interface/{@vee-validate.BEda0VqZ.0.0.48.js → @vee-validate.DHkwupr6.0.0.49.js} +1 -1
  3. package/dist/interface/{@vue.DRcZ6uZO.0.0.48.js → @vue.DeX8WChi.0.0.49.js} +1 -1
  4. package/dist/interface/{@vueform.B6V1sb13.0.0.48.js → @vueform.WCJNykTK.0.0.49.js} +1 -1
  5. package/dist/interface/{@vueuse.C65DwZuy.0.0.48.js → @vueuse.fmA4o7MO.0.0.49.js} +1 -1
  6. package/dist/interface/{Account.SjrtJ2E-.0.0.48.js → Account.D_hgF7as.0.0.49.js} +1 -1
  7. package/dist/interface/{Adminpanel.2cW-TEJR.0.0.48.js → Adminpanel.Cr2ysRnk.0.0.49.js} +2 -2
  8. package/dist/interface/{Appearance.BCjcy9_6.0.0.48.js → Appearance.DJPnnakw.0.0.49.js} +1 -1
  9. package/dist/interface/{Backup.DPajlOJy.0.0.48.js → Backup.DWrnTw65.0.0.49.js} +1 -1
  10. package/dist/interface/{Camera.DL2k_Ka4.0.0.48.js → Camera.Cm8bv5Jw.0.0.49.js} +1 -1
  11. package/dist/interface/{Cameras.Dfo9jtEF.0.0.48.js → Cameras.BdMnnB_B.0.0.49.js} +1 -1
  12. package/dist/interface/{Camview.D65EW1lh.0.0.48.js → Camview.CvyTACeS.0.0.49.js} +1 -1
  13. package/dist/interface/{Config.CN7-dqYR.0.0.48.js → Config.R58trs6R.0.0.49.js} +1 -1
  14. package/dist/interface/{Console.CR82nS2O.0.0.48.js → Console.ByS6OcfG.0.0.49.js} +1 -1
  15. package/dist/interface/{FirstSteps.CB5GkCCn.0.0.48.js → FirstSteps.BSZVBND8.0.0.49.js} +1 -1
  16. package/dist/interface/NewCamera.CpKY8-_z.0.0.49.js +469 -0
  17. package/dist/interface/{Plugin.CFkM1eRw.0.0.48.js → Plugin.ucDXXC6d.0.0.49.js} +1 -1
  18. package/dist/interface/{Plugins.LYJU4g0H.0.0.48.js → Plugins.Bl6Yy3fd.0.0.49.js} +1 -1
  19. package/dist/interface/Recordings.Bm-_HDqk.0.0.49.js +1 -0
  20. package/dist/interface/Recordings.CVFqRJTQ.0.0.49.js +1 -0
  21. package/dist/interface/{Settings.BxGxkxQ-.0.0.48.js → Settings.ClbXnv3j.0.0.49.js} +1 -1
  22. package/dist/interface/{System.HucLWbQx.0.0.48.js → System.BE0hX95Q.0.0.49.js} +1 -1
  23. package/dist/interface/{User.BB8i1tjm.0.0.48.js → User.Ih1R_8u4.0.0.49.js} +1 -1
  24. package/dist/interface/{VConfigEditor.vue_vue_type_script_setup_true_lang._4BVZ2To.0.0.48.js → VConfigEditor.vue_vue_type_script_setup_true_lang.CAHg6HiL.0.0.49.js} +2 -2
  25. package/dist/interface/{VConsole.wv8VCqg-.0.0.48.js → VConsole.B9yVZ89i.0.0.49.js} +1 -1
  26. package/dist/interface/{VPlayer.DyeXezbn.0.0.48.js → VPlayer.DWJVzwuw.0.0.49.js} +1 -1
  27. package/dist/interface/{VPluginCard.B_Gjjpzq.0.0.48.js → VPluginCard.pJNHjHpP.0.0.49.js} +1 -1
  28. package/dist/interface/{ace-builds.DPqPJOIH.0.0.48.js → ace-builds.S1varnlI.0.0.49.js} +1 -1
  29. package/dist/interface/{apexcharts.C_nN6CT2.0.0.48.js → apexcharts.BQn4Fbzn.0.0.49.js} +1 -1
  30. package/dist/interface/assets/NewCamera.0.0.49.DtjxW0Pf.css +1 -0
  31. package/dist/interface/{backup.Bk4AzYLT.0.0.48.js → backup.DO02r0Uq.0.0.49.js} +1 -1
  32. package/dist/interface/{dnd-core.Dmh1w8XK.0.0.48.js → dnd-core.De50QAoi.0.0.49.js} +1 -1
  33. package/dist/interface/{draggabilly.PrP7w5-3.0.0.48.js → draggabilly.C0hZWkL0.0.0.49.js} +1 -1
  34. package/dist/interface/{engine.io-client.DRzsVXts.0.0.48.js → engine.io-client.BkCVneko.0.0.49.js} +1 -1
  35. package/dist/interface/{fast-deep-equal.BuOg6xuK.0.0.48.js → fast-deep-equal.Cba0yG7P.0.0.49.js} +1 -1
  36. package/dist/interface/{highlight.js.Cg6c_cCL.0.0.48.js → highlight.js.B_E0LW5C.0.0.49.js} +1 -1
  37. package/dist/interface/index.html +32 -32
  38. package/dist/interface/{linkify-it.D_vNtISo.0.0.48.js → linkify-it.B6s2BWlj.0.0.49.js} +1 -1
  39. package/dist/interface/{main.mlm94TYK.0.0.48.js → main.BBe3SGhH.0.0.49.js} +3 -3
  40. package/dist/interface/{markdown-it.DU7e183f.0.0.48.js → markdown-it.64FJJcTG.0.0.49.js} +1 -1
  41. package/dist/interface/{nprogress.DTGXmkhG.0.0.48.js → nprogress.DkWvUoHh.0.0.49.js} +1 -1
  42. package/dist/interface/{pinia.BL6apvtP.0.0.48.js → pinia.ggULzsrQ.0.0.49.js} +1 -1
  43. package/dist/interface/{plugins.Ch_0cv_L.0.0.48.js → plugins.D11FBqVV.0.0.49.js} +1 -1
  44. package/dist/interface/{qrcode.Bdg1zKx6.0.0.48.js → qrcode.BixA_YE2.0.0.49.js} +1 -1
  45. package/dist/interface/{react-dnd-touch-backend.BVVlM5Mg.0.0.48.js → react-dnd-touch-backend.Bu6wFEmw.0.0.49.js} +1 -1
  46. package/dist/interface/{rxjs.MDPuHaHC.0.0.48.js → rxjs.BoFuGUYG.0.0.49.js} +1 -1
  47. package/dist/interface/{socket.io-client.Bc7OYr1V.0.0.48.js → socket.io-client.DkEQDv7C.0.0.49.js} +1 -1
  48. package/dist/interface/{socket.io-parser.DPrtWC9i.0.0.48.js → socket.io-parser.DIURoCw8.0.0.49.js} +1 -1
  49. package/dist/interface/sw.js +1 -1
  50. package/dist/interface/{system.C-onsBEc.0.0.48.js → system.D_LabhBl.0.0.49.js} +1 -1
  51. package/dist/interface/{unidragger.3FW7TOUy.0.0.48.js → unidragger.C8ueS-PW.0.0.49.js} +1 -1
  52. package/dist/interface/{vee-validate.Dzj4dBd6.0.0.48.js → vee-validate.8pUAwQ7T.0.0.49.js} +1 -1
  53. package/dist/interface/{vue-i18n.DtBWXzdw.0.0.48.js → vue-i18n.CBqdKRmG.0.0.49.js} +1 -1
  54. package/dist/interface/{vue-inline-svg.CPcaXOwr.0.0.48.js → vue-inline-svg.ZWpe_tFT.0.0.49.js} +1 -1
  55. package/dist/interface/{vue-router.S61oR9AT.0.0.48.js → vue-router.DvFvaoP2.0.0.49.js} +1 -1
  56. package/dist/interface/{vue3-apexcharts.Dvg57mTV.0.0.48.js → vue3-apexcharts.BHSDC9pf.0.0.49.js} +1 -1
  57. package/dist/interface/{vue3-dnd.CA2xeH6p.0.0.48.js → vue3-dnd.DbCy3Qbj.0.0.49.js} +1 -1
  58. package/dist/interface/{vue3-toastify.nL-I4C--.0.0.48.js → vue3-toastify.JJyrPHKk.0.0.49.js} +1 -1
  59. package/dist/interface/{vuetify.DlOnqSL1.0.0.48.js → vuetify.kkqUjVJA.0.0.49.js} +1 -1
  60. package/dist/server/package.json +1 -1
  61. package/dist/server/src/api/schemas/cameras.schema.d.ts +1 -1
  62. package/dist/server/src/api/schemas/cameras.schema.js +1 -0
  63. package/dist/server/src/api/schemas/cameras.schema.js.map +1 -1
  64. package/dist/server/src/api/services/cameras.service.d.ts +1 -0
  65. package/dist/server/src/api/services/cameras.service.js +36 -0
  66. package/dist/server/src/api/services/cameras.service.js.map +1 -1
  67. package/dist/server/src/go2rtc/types.d.ts +1 -1
  68. package/dist/server/src/go2rtc/types.js +1 -0
  69. package/dist/server/src/go2rtc/types.js.map +1 -1
  70. package/package.json +1 -1
  71. package/dist/interface/NewCamera.DZmwbpbF.0.0.48.js +0 -448
  72. package/dist/interface/Recordings.BxmCtPDw.0.0.48.js +0 -1
  73. package/dist/interface/Recordings.UIpgTeCh.0.0.48.js +0 -1
  74. package/dist/interface/assets/NewCamera.0.0.48.B36nuN1T.css +0 -1
  75. /package/dist/interface/{@babel.l0sNRNKZ.0.0.48.js → @babel.l0sNRNKZ.0.0.49.js} +0 -0
  76. /package/dist/interface/{@intlify.Do1-T-x0.0.0.48.js → @intlify.Do1-T-x0.0.0.49.js} +0 -0
  77. /package/dist/interface/{@mdi.CbjpODVZ.0.0.48.js → @mdi.CbjpODVZ.0.0.49.js} +0 -0
  78. /package/dist/interface/{@react-dnd.CcwRs9xb.0.0.48.js → @react-dnd.CcwRs9xb.0.0.49.js} +0 -0
  79. /package/dist/interface/{@socket.io.Dkula2eQ.0.0.48.js → @socket.io.Dkula2eQ.0.0.49.js} +0 -0
  80. /package/dist/interface/{@xterm.Ct1qg4AD.0.0.48.js → @xterm.D6R4zI7m.0.0.49.js} +0 -0
  81. /package/dist/interface/assets/{@vueform.0.0.48.CroAHJs8.css → @vueform.0.0.49.CroAHJs8.css} +0 -0
  82. /package/dist/interface/assets/{@xterm.0.0.48.CFbL2ovg.css → @xterm.0.0.49.CFbL2ovg.css} +0 -0
  83. /package/dist/interface/assets/{Account.0.0.48.Bnw6Lbtd.css → Account.0.0.49.Bnw6Lbtd.css} +0 -0
  84. /package/dist/interface/assets/{Adminpanel.0.0.48.a3t1v3MB.css → Adminpanel.0.0.49.a3t1v3MB.css} +0 -0
  85. /package/dist/interface/assets/{Backup.0.0.48.CX0rT0QJ.css → Backup.0.0.49.CX0rT0QJ.css} +0 -0
  86. /package/dist/interface/assets/{Camera.0.0.48.Br9s6-lM.css → Camera.0.0.49.Br9s6-lM.css} +0 -0
  87. /package/dist/interface/assets/{Cameras.0.0.48.Buf1Dgce.css → Cameras.0.0.49.Buf1Dgce.css} +0 -0
  88. /package/dist/interface/assets/{Camview.0.0.48.B7Cja2ry.css → Camview.0.0.49.B7Cja2ry.css} +0 -0
  89. /package/dist/interface/assets/{Config.0.0.48.DNGo2krN.css → Config.0.0.49.DNGo2krN.css} +0 -0
  90. /package/dist/interface/assets/{Console.0.0.48.Bh8l9QnM.css → Console.0.0.49.Bh8l9QnM.css} +0 -0
  91. /package/dist/interface/assets/{FirstSteps.0.0.48.Mu8VPl13.css → FirstSteps.0.0.49.Mu8VPl13.css} +0 -0
  92. /package/dist/interface/assets/{Plugin.0.0.48.YIpAU1_n.css → Plugin.0.0.49.YIpAU1_n.css} +0 -0
  93. /package/dist/interface/assets/{Plugins.0.0.48.DXSoO9M1.css → Plugins.0.0.49.DXSoO9M1.css} +0 -0
  94. /package/dist/interface/assets/{Settings.0.0.48.CVmui2kE.css → Settings.0.0.49.CVmui2kE.css} +0 -0
  95. /package/dist/interface/assets/{User.0.0.48.BiGtIFqt.css → User.0.0.49.BiGtIFqt.css} +0 -0
  96. /package/dist/interface/assets/{VConsole.0.0.48.BCqKHpmJ.css → VConsole.0.0.49.BCqKHpmJ.css} +0 -0
  97. /package/dist/interface/assets/{VPlayer.0.0.48.C4lm2rVR.css → VPlayer.0.0.49.C4lm2rVR.css} +0 -0
  98. /package/dist/interface/assets/{VPluginCard.0.0.48.C8Lj6X-J.css → VPluginCard.0.0.49.C8Lj6X-J.css} +0 -0
  99. /package/dist/interface/assets/{highlight.0.0.48.Ch2EwETz.css → highlight.0.0.49.Ch2EwETz.css} +0 -0
  100. /package/dist/interface/assets/{logo-256.0.0.48.BCQk9H1-.png → logo-256.0.0.49.BCQk9H1-.png} +0 -0
  101. /package/dist/interface/assets/{logo-512.0.0.48.DLKVOU2S.png → logo-512.0.0.49.DLKVOU2S.png} +0 -0
  102. /package/dist/interface/assets/{logo.0.0.48.DmEiRk0z.png → logo.0.0.49.DmEiRk0z.png} +0 -0
  103. /package/dist/interface/assets/{main.0.0.48.OJngntGT.css → main.0.0.49.OJngntGT.css} +0 -0
  104. /package/dist/interface/assets/{mode-json.0.0.48.Br7xisR1.js → mode-json.0.0.49.Br7xisR1.js} +0 -0
  105. /package/dist/interface/assets/{mode-yaml.0.0.48.CIYL8U3d.js → mode-yaml.0.0.49.CIYL8U3d.js} +0 -0
  106. /package/dist/interface/assets/{vue3-toastify.0.0.48.DHXAGmwn.css → vue3-toastify.0.0.49.DHXAGmwn.css} +0 -0
  107. /package/dist/interface/assets/{vuetify.0.0.48.Dua9WSqa.css → vuetify.0.0.49.Dua9WSqa.css} +0 -0
  108. /package/dist/interface/{axios.DIsA03vz.0.0.48.js → axios.DIsA03vz.0.0.49.js} +0 -0
  109. /package/dist/interface/{birpc.l0sNRNKZ.0.0.48.js → birpc.l0sNRNKZ.0.0.49.js} +0 -0
  110. /package/dist/interface/{compare-versions.DqEOhma6.0.0.48.js → compare-versions.DqEOhma6.0.0.49.js} +0 -0
  111. /package/dist/interface/{dijkstrajs.C00ieaqj.0.0.48.js → dijkstrajs.C00ieaqj.0.0.49.js} +0 -0
  112. /package/dist/interface/{engine.io-parser.BiEtp6m2.0.0.48.js → engine.io-parser.BiEtp6m2.0.0.49.js} +0 -0
  113. /package/dist/interface/{entities.C20TfXL6.0.0.48.js → entities.C20TfXL6.0.0.49.js} +0 -0
  114. /package/dist/interface/{ev-emitter.X5f1qa-c.0.0.48.js → ev-emitter.X5f1qa-c.0.0.49.js} +0 -0
  115. /package/dist/interface/{get-size.D1dS-IaP.0.0.48.js → get-size.D1dS-IaP.0.0.49.js} +0 -0
  116. /package/dist/interface/{hookable.B8xFkYCm.0.0.48.js → hookable.B8xFkYCm.0.0.49.js} +0 -0
  117. /package/dist/interface/{mdurl.k9Sl0PQj.0.0.48.js → mdurl.k9Sl0PQj.0.0.49.js} +0 -0
  118. /package/dist/interface/{perfect-debounce.Cp2ysxOb.0.0.48.js → perfect-debounce.Cp2ysxOb.0.0.49.js} +0 -0
  119. /package/dist/interface/{punycode.js.Dj65hjkv.0.0.48.js → punycode.js.Dj65hjkv.0.0.49.js} +0 -0
  120. /package/dist/interface/{react-dnd-html5-backend.1HQjlkwI.0.0.48.js → react-dnd-html5-backend.1HQjlkwI.0.0.49.js} +0 -0
  121. /package/dist/interface/{redux.BFxtlG_c.0.0.48.js → redux.BFxtlG_c.0.0.49.js} +0 -0
  122. /package/dist/interface/{tslib.9k7AwCpt.0.0.48.js → tslib.9k7AwCpt.0.0.49.js} +0 -0
  123. /package/dist/interface/{types.Cz9TaZAP.0.0.48.js → types.Cz9TaZAP.0.0.49.js} +0 -0
  124. /package/dist/interface/{uc.micro.kMc2yuuw.0.0.48.js → uc.micro.kMc2yuuw.0.0.49.js} +0 -0
  125. /package/dist/interface/{utils.mAKpSMLY.0.0.48.js → utils.mAKpSMLY.0.0.49.js} +0 -0
  126. /package/dist/interface/{uuid.Ch9TGLTe.0.0.48.js → uuid.Ch9TGLTe.0.0.49.js} +0 -0
  127. /package/dist/interface/{vue.l0sNRNKZ.0.0.48.js → vue.l0sNRNKZ.0.0.49.js} +0 -0
  128. /package/dist/interface/{zod.bkdEMpUp.0.0.48.js → zod.bkdEMpUp.0.0.49.js} +0 -0
@@ -0,0 +1,469 @@
1
+ import{C as xe,c as ke,_ as Se}from"./VPlayer.DWJVzwuw.0.0.49.js";import{j as Te,e as Pe,f as Ce}from"./main.BBe3SGhH.0.0.49.js";import{G as Re,r as v,D as Ae,c as Ie,w as He,b as d,d as k,P as n,ab as a,f as u,a9 as l,u as e,a7 as h,g as K,i as O,m as H,Q as Y,ad as q,aa as P,p as _,k as G,ac as Ve}from"./@vue.DeX8WChi.0.0.49.js";import{H as R,t as je,y as Ee,j as Me,p as Oe}from"./highlight.js.B_E0LW5C.0.0.49.js";import{e as J,s as Ge,E as Ue,M as $e,X as Q,Y as De,Z as We}from"./@mdi.CbjpODVZ.0.0.49.js";import{i as Le}from"./@vueuse.fmA4o7MO.0.0.49.js";import{M as ze}from"./markdown-it.64FJJcTG.0.0.49.js";import{F as A,a as Be}from"./vee-validate.8pUAwQ7T.0.0.49.js";import{s as Fe}from"./utils.mAKpSMLY.0.0.49.js";import{a as Ne}from"./vue-router.DvFvaoP2.0.0.49.js";import{b as S,e as x,K as X,L as Z,M as ee,N as oe,c as te,z as D,l as Ke,O as Ye,a as ae}from"./vuetify.kkqUjVJA.0.0.49.js";import"./draggabilly.C0hZWkL0.0.0.49.js";import"./@xterm.D6R4zI7m.0.0.49.js";import"./get-size.D1dS-IaP.0.0.49.js";import"./unidragger.C8ueS-PW.0.0.49.js";import"./ev-emitter.X5f1qa-c.0.0.49.js";import"./vue3-toastify.JJyrPHKk.0.0.49.js";import"./@tanstack.CgZ4BVuY.0.0.49.js";import"./@vee-validate.DHkwupr6.0.0.49.js";import"./zod.bkdEMpUp.0.0.49.js";import"./qrcode.BixA_YE2.0.0.49.js";import"./dijkstrajs.C00ieaqj.0.0.49.js";import"./pinia.ggULzsrQ.0.0.49.js";import"./plugins.D11FBqVV.0.0.49.js";import"./VConsole.B9yVZ89i.0.0.49.js";import"./vue-i18n.CBqdKRmG.0.0.49.js";import"./@intlify.Do1-T-x0.0.0.49.js";import"./axios.DIsA03vz.0.0.49.js";import"./uuid.Ch9TGLTe.0.0.49.js";import"./socket.io-client.DkEQDv7C.0.0.49.js";import"./engine.io-client.BkCVneko.0.0.49.js";import"./engine.io-parser.BiEtp6m2.0.0.49.js";import"./@socket.io.Dkula2eQ.0.0.49.js";import"./socket.io-parser.DIURoCw8.0.0.49.js";import"./rxjs.BoFuGUYG.0.0.49.js";import"./tslib.9k7AwCpt.0.0.49.js";import"./vue-inline-svg.ZWpe_tFT.0.0.49.js";import"./perfect-debounce.Cp2ysxOb.0.0.49.js";import"./hookable.B8xFkYCm.0.0.49.js";import"./nprogress.DkWvUoHh.0.0.49.js";import"./mdurl.k9Sl0PQj.0.0.49.js";import"./uc.micro.kMc2yuuw.0.0.49.js";import"./entities.C20TfXL6.0.0.49.js";import"./linkify-it.B6s2BWlj.0.0.49.js";import"./punycode.js.Dj65hjkv.0.0.49.js";const ne=["bubble://","doorbird://","dvrip://","echo:","exec:","expr:","ffmpeg:","gopro://","hass:","homekit://","http://","https://","httpx://","isapi://","ivideon:","kasa://","nest:","onvif://","roborock://","rtmp://","rtsp://","rtspx://","tapo://","tcp://","webrtc:","webtorrent:"],qe=["#backchannel=0","#header=","#media=audio","#media=video","#timeout=10","#timeout=20","#timeout=30","#transport="],se=["#audio=aac","#audio=aac/16000","#audio=mp3","#audio=opus","#audio=pcm","#audio=pcm/8000","#audio=pcm/16000","#audio=pcm/48000","#audio=pcma","#audio=pcma/8000","#audio=pcma/16000","#audio=pcma/48000","#audio=pcml","#audio=pcml/8000","#audio=pcml/44100","#audio=pcmu","#audio=pcmu/8000","#audio=pcmu/16000","#audio=pcmu/48000","#drawtext","#hardware","#hardware=cuda","#hardware=dxva2","#hardware=rkmpp","#hardware=v4l2m2m","#hardware=vaapi","#hardware=videotoolbox","#height=","#raw=","#rotate=-90","#rotate=90","#rotate=180","#rotate=270","#video=copy","#video=h264","#video=h265","#video=mjpeg","#width="],Je=["client_id=","client_private=","device_id=","device_public="],Qe=["#header="],Xe=["client_id=","client_secret=","refresh_token=","project_id=","device_id="],Ze=["#client_id=","#format=openipc","#format=wyze","#format=kinesis","#ice_servers="],eo="#### Source: Bubble\n\nOther names: [ESeeCloud](http://www.eseecloud.com/), [dvr163](http://help.dvr163.com/).\n\n- you can skip `username`, `password`, `port`, `ch` and `stream` if they are default\n- setup separate streams for different channels and streams\n\n```yaml\nstreams:\n camera1: bubble://username:password@192.168.1.123:34567/bubble/live?ch=0&stream=0\n```\n\n_Source: [Go2Rtc Bubble](https://github.com/AlexxIT/go2rtc#source-bubble)_\n",oo=`#### Source: Doorbird
2
+
3
+ [Doorbird](https://www.doorbird.com/) proprietary camera protocol with **two way audio** support.
4
+
5
+ \`\`\`yaml
6
+ streams:
7
+ video-audio:
8
+ - rtsp://user:pass@123.123.123.123:554/mpeg/media.amp
9
+ - doorbird://user:pass@123.123.123.123?media=audio
10
+ two-way:
11
+ - rtsp://user:pass@123.123.123.123:554/mpeg/media.amp
12
+ - doorbird://user:pass@123.123.123.123?media=audio
13
+ - doorbird://user:pass@123.123.123.123
14
+ mjpeg-video:
15
+ - doorbird://user:pass@123.123.123.123?media=video
16
+ \`\`\`\`
17
+
18
+ `,to="#### Source: DVRIP\n\nOther names: DVR-IP, NetSurveillance, Sofia protocol (NETsurveillance ActiveX plugin XMeye SDK).\n\n- you can skip `username`, `password`, `port`, `channel` and `subtype` if they are default\n- setup separate streams for different channels\n- use `subtype=0` for Main stream, and `subtype=1` for Extra1 stream\n- only the TCP protocol is supported\n\n```yaml\nstreams:\n only_stream: dvrip://username:password@192.168.1.123:34567?channel=0&subtype=0\n only_tts: dvrip://username:password@192.168.1.123:34567?backchannel=1\n two_way_audio:\n - dvrip://username:password@192.168.1.123:34567?channel=0&subtype=0\n - dvrip://username:password@192.168.1.123:34567?backchannel=1\n```\n\n_Source: [Go2Rtc DVRIP](https://github.com/AlexxIT/go2rtc#source-dvrip)_\n",ao=`#### Source: Echo
19
+
20
+ Some sources may have a dynamic link. And you will need to get it using a bash or python script. Your script should echo a link to the source. RTSP, FFmpeg or any of the [supported sources](https://github.com/AlexxIT/go2rtc#module-streams).
21
+
22
+ **Docker** and **Hass Add-on** users has preinstalled \`python3\`, \`curl\`, \`jq\`.
23
+ Check examples in [wiki](https://github.com/AlexxIT/go2rtc/wiki/Source-Echo-examples).
24
+
25
+ \`\`\`yaml
26
+ streams:
27
+ apple_hls: echo:python3 hls.py https://developer.apple.com/streaming/examples/basic-stream-osx-ios5.html
28
+ \`\`\`
29
+
30
+ _Source: [Go2Rtc Echo](https://github.com/AlexxIT/go2rtc#source-echo)_
31
+ `,no=`#### Source: Exec
32
+
33
+ Exec source can run any external application and expect data from it. Two transports are supported - **pipe** and **RTSP**.
34
+
35
+ If you want to use **RTSP** transport - the command must contain the \`{output}\` argument in any place. On launch, it will be replaced by the local address of the RTSP server.
36
+
37
+ **pipe** reads data from app stdout in different formats: **MJPEG**, **H.264/H.265 bitstream**, **MPEG-TS**. Also pipe can write data to app stdin in two formats: **PCMA** and **PCM/48000**.
38
+
39
+ The source can be used with:
40
+
41
+ - [FFmpeg](https://ffmpeg.org/) - go2rtc ffmpeg source just a shortcut to exec source
42
+ . [FFplay](https://ffmpeg.org/ffplay.html) - play audio on your server
43
+ - [GStreamer](https://gstreamer.freedesktop.org/)
44
+ - [Raspberry Pi Cameras](https://www.raspberrypi.com/documentation/computers/camera_software.html)
45
+ - any your own software
46
+
47
+ \`\`\`yaml
48
+ streams:
49
+ stream: exec:ffmpeg -re -i /media/BigBuckBunny.mp4 -c copy -rtsp_transport tcp -f rtsp {output}
50
+ picam_h264: exec:libcamera-vid -t 0 --inline -o -
51
+ picam_mjpeg: exec:libcamera-vid -t 0 --codec mjpeg -o -
52
+ pi5cam_h264: exec:libcamera-vid -t 0 --libav-format h264 -o -
53
+ canon: exec:gphoto2 --capture-movie --stdout#killsignal=2#killtimeout=5
54
+ play_pcma: exec:ffplay -fflags nobuffer -f alaw -ar 8000 -i -#backchannel=1
55
+ play_pcm48k: exec:ffplay -fflags nobuffer -f s16be -ar 48000 -i -#backchannel=1
56
+ \`\`\`
57
+
58
+ _Source: [Go2Rtc Exec](https://github.com/AlexxIT/go2rtc#source-exec)_
59
+ `,so=`#### Source: Expr
60
+
61
+ [Expr](https://github.com/antonmedv/expr) - expression language and expression evaluation for Go.
62
+
63
+ - [language definition](https://expr.medv.io/docs/Language-Definition) - takes best from JS, Python, Jinja2 syntax
64
+ - your expression should return a link of any supported source
65
+ - expression supports multiple operation, but:
66
+ - all operations must be separated by a semicolon
67
+ - all operations, except the last one, must declare a new variable (\`let s = "abc";\`)
68
+ - the last operation should return a string
69
+ - go2rtc supports additional functions:
70
+ - \`fetch\` - JS-like HTTP requests
71
+ - \`match\` - JS-like RegExp queries
72
+
73
+ ## Examples
74
+
75
+ **Two way audio for Dahua VTO**
76
+
77
+ \`\`\`yaml
78
+ streams:
79
+ dahua_vto: |
80
+ expr: let host = "admin:password@192.168.1.123";
81
+ fetch("http://"+host+"/cgi-bin/configManager.cgi?action=setConfig&Encode[0].MainFormat[0].Audio.Compression=G.711A&Encode[0].MainFormat[0].Audio.Frequency=8000").ok
82
+ ? "rtsp://"+host+"/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif" : ""
83
+ \`\`\`
84
+
85
+ **dom.ru**
86
+
87
+ You can get credentials via:
88
+
89
+ - https://github.com/alexmorbo/domru (file \`/share/domru/accounts\`)
90
+ - https://github.com/ad/domru
91
+
92
+ \`\`\`yaml
93
+ streams:
94
+ dom_ru: |
95
+ expr: let camera = "99999999"; let token = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; let operator = 99;
96
+ fetch("https://myhome.novotelecom.ru/rest/v1/forpost/cameras/"+camera+"/video", {
97
+ headers: {Authorization: "Bearer "+token, Operator: operator}
98
+ }).json().data.URL
99
+ \`\`\`
100
+
101
+ **Parse HLS files from Apple**
102
+
103
+ Same example in two languages - python and expr.
104
+
105
+ \`\`\`yaml
106
+ streams:
107
+ example_python: |
108
+ echo:python -c 'from urllib.request import urlopen; import re
109
+
110
+ # url1 = "https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8"
111
+ html1 = urlopen("https://developer.apple.com/streaming/examples/basic-stream-osx-ios5.html").read().decode("utf-8")
112
+ url1 = re.search(r"https.+?m3u8", html1)[0]
113
+
114
+ # url2 = "gear1/prog_index.m3u8"
115
+ html2 = urlopen(url1).read().decode("utf-8")
116
+ url2 = re.search(r"^[a-z0-1/_]+\\.m3u8$", html2, flags=re.MULTILINE)[0]
117
+
118
+ # url3 = "https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/gear1/prog_index.m3u8"
119
+ url3 = url1[:url1.rindex("/")+1] + url2
120
+
121
+ print("ffmpeg:" + url3 + "#video=copy")'
122
+
123
+ example_expr: |
124
+ expr:
125
+
126
+ let html1 = fetch("https://developer.apple.com/streaming/examples/basic-stream-osx-ios5.html").text;
127
+ let url1 = match(html1, "https.+?m3u8")[0];
128
+
129
+ let html2 = fetch(url1).text;
130
+ let url2 = match(html2, "^[a-z0-1/_]+\\\\.m3u8$", "m")[0];
131
+
132
+ let url3 = url1[:lastIndexOf(url1, "/")+1] + url2;
133
+
134
+ "ffmpeg:" + url3 + "#video=copy"
135
+ \`\`\`
136
+
137
+ ## Comparsion
138
+
139
+ | expr | python | js |
140
+ |------------------------------|----------------------------|--------------------------------|
141
+ | let x = 1; | x = 1 | let x = 1 |
142
+ | {a: 1, b: 2} | {"a": 1, "b": 2} | {a: 1, b: 2} |
143
+ | let r = fetch(url, {method}) | r = request(method, url) | r = await fetch(url, {method}) |
144
+ | r.ok | r.ok | r.ok |
145
+ | r.status | r.status_code | r.status |
146
+ | r.text | r.text | await r.text() |
147
+ | r.json() | r.json() | await r.json() |
148
+ | r.headers | r.headers | r.headers |
149
+ | let m = match(text, "abc") | m = re.search("abc", text) | let m = text.match(/abc/) |
150
+
151
+ _Source: [Go2Rtc Expr](https://github.com/AlexxIT/go2rtc#source-expr)_
152
+ `,ro="#### Source: FFmpeg\n\nYou can get any stream or file or device via FFmpeg and push it to go2rtc. The app will automatically start FFmpeg with the proper arguments when someone starts watching the stream.\n\n- FFmpeg preistalled for **Docker** and **Hass Add-on** users\n- **Hass Add-on** users can target files from [/media](https://www.home-assistant.io/more-info/local-media/setup-media/) folder\n\nFormat: `ffmpeg:{input}#{param1}#{param2}#{param3}`. Examples:\n\n```yaml\nstreams:\n # [FILE] all tracks will be copied without transcoding codecs\n file1: ffmpeg:/media/BigBuckBunny.mp4\n\n # [FILE] video will be transcoded to H264, audio will be skipped\n file2: ffmpeg:/media/BigBuckBunny.mp4#video=h264\n\n # [FILE] video will be copied, audio will be transcoded to pcmu\n file3: ffmpeg:/media/BigBuckBunny.mp4#video=copy#audio=pcmu\n\n # [HLS] video will be copied, audio will be skipped\n hls: ffmpeg:https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/gear5/prog_index.m3u8#video=copy\n\n # [MJPEG] video will be transcoded to H264\n mjpeg: ffmpeg:http://185.97.122.128/cgi-bin/faststream.jpg#video=h264\n\n # [RTSP] video with rotation, should be transcoded, so select H264\n rotate: ffmpeg:rtsp://rtsp:12345678@192.168.1.123/av_stream/ch0#video=h264#rotate=90\n```\n\nAll trascoding formats has [built-in templates](https://github.com/AlexxIT/go2rtc/blob/master/internal/ffmpeg/ffmpeg.go): `h264`, `h265`, `opus`, `pcmu`, `pcmu/16000`, `pcmu/48000`, `pcma`, `pcma/16000`, `pcma/48000`, `aac`, `aac/16000`.\n\nBut you can override them via YAML config. You can also add your own formats to config and use them with source params.\n\n```yaml\nffmpeg:\n bin: ffmpeg # path to ffmpeg binary\n h264: '-codec:v libx264 -g:v 30 -preset:v superfast -tune:v zerolatency -profile:v main -level:v 4.1'\n mycodec: '-any args that supported by ffmpeg...'\n myinput: '-fflags nobuffer -flags low_delay -timeout 5000000 -i {input}'\n myraw: '-ss 00:00:20'\n```\n\n- You can use go2rtc stream name as ffmpeg input (ex. `ffmpeg:camera1#video=h264`)\n- You can use `video` and `audio` params multiple times (ex. `#video=copy#audio=copy#audio=pcmu`)\n- You can use `rotate` param with `90`, `180`, `270` or `-90` values, important with transcoding (ex. `#video=h264#rotate=90`)\n- You can use `width` and/or `height` params, important with transcoding (ex. `#video=h264#width=1280`)\n- You can use `drawtext` to add a timestamp (ex. `drawtext=x=2:y=2:fontsize=12:fontcolor=white:box=1:boxcolor=black`)\n - This will greatly increase the CPU of the server, even with hardware acceleration\n- You can use `raw` param for any additional FFmpeg arguments (ex. `#raw=-vf transpose=1`)\n- You can use `input` param to override default input template (ex. `#input=rtsp/udp` will change RTSP transport from TCP to UDP+TCP)\n - You can use raw input value (ex. `#input=-timeout 5000000 -i {input}`)\n - You can add your own input templates\n\nRead more about [hardware acceleration](https://github.com/AlexxIT/go2rtc/wiki/Hardware-acceleration).\n\n**PS.** It is recommended to check the available hardware in the WebUI add page.\n\n<hr>\n\n#### Source: FFmpeg Device\n\nYou can get video from any USB-camera or Webcam as RTSP or WebRTC stream. This is part of FFmpeg integration.\n\n- check available devices in Web interface\n- `video_size` and `framerate` must be supported by your camera!\n- for Linux supported only video for now\n- for macOS you can stream Facetime camera or whole Desktop!\n- for macOS important to set right framerate\n\nFormat: `ffmpeg:device?{input-params}#{param1}#{param2}#{param3}`\n\n```yaml\nstreams:\n linux_usbcam: ffmpeg:device?video=0&video_size=1280x720#video=h264\n windows_webcam: ffmpeg:device?video=0#video=h264\n macos_facetime: ffmpeg:device?video=0&audio=1&video_size=1280x720&framerate=30#video=h264#audio=pcma\n```\n\n**PS.** It is recommended to check the available devices in the WebUI add page.\n\n_Source: [Go2Rtc FFmpeg](https://github.com/AlexxIT/go2rtc#source-ffmpeg) & [Go2Rtc FFmpeg Device](https://github.com/AlexxIT/go2rtc#source-ffmpeg-device)_\n",io=`#### Source: GoPro
153
+
154
+ Supported models: HERO9, HERO10, HERO11, HERO12.
155
+ Supported OS: Linux, Mac, Windows, [HassOS](https://www.home-assistant.io/installation/)
156
+
157
+ The other camera models have different APIs. I will try to add them in the next versions.
158
+
159
+ ## Config
160
+
161
+ - USB-connected cameras create a new network interface in the system
162
+ - Linux users do not need to install anything
163
+ - Windows users should install the [network driver](https://community.gopro.com/s/article/GoPro-Webcam)
164
+ - if the camera is detected but the stream does not start - you need to disable firewall
165
+
166
+ 1. Discover camera address: WebUI > Add > GoPro
167
+ 2. Add camera to config
168
+
169
+ \`\`\`yaml
170
+ streams:
171
+ hero12: gopro://172.20.100.51
172
+ \`\`\`
173
+
174
+ ## Useful links
175
+
176
+ - https://gopro.github.io/OpenGoPro/
177
+
178
+ _Source: [Go2Rtc Hass](https://github.com/AlexxIT/go2rtc#source-hass)_
179
+ `,co=`#### Source: Hass
180
+
181
+ Support import camera links from [Home Assistant](https://www.home-assistant.io/) config files:
182
+
183
+ - [Generic Camera](https://www.home-assistant.io/integrations/generic/), setup via GUI
184
+ - [HomeKit Camera](https://www.home-assistant.io/integrations/homekit_controller/)
185
+ - [ONVIF](https://www.home-assistant.io/integrations/onvif/)
186
+ - [Roborock](https://github.com/humbertogontijo/homeassistant-roborock) vacuums with camera
187
+
188
+ \`\`\`yaml
189
+ hass:
190
+ config: '/config' # skip this setting if you Hass Add-on user
191
+
192
+ streams:
193
+ generic_camera: hass:Camera1 # Settings > Integrations > Integration Name
194
+ aqara_g3: hass:Camera-Hub-G3-AB12
195
+ \`\`\`
196
+
197
+ **WebRTC Cameras**
198
+
199
+ Any cameras in WebRTC format are supported. But at the moment Home Assistant only supports some [Nest](https://www.home-assistant.io/integrations/nest/) cameras in this fomat.
200
+
201
+ The Nest API only allows you to get a link to a stream for 5 minutes. So every 5 minutes the stream will be reconnected.
202
+
203
+ \`\`\`yaml
204
+ streams:
205
+ # link to Home Assistant Supervised
206
+ hass-webrtc1: hass://supervisor?entity_id=camera.nest_doorbell
207
+ # link to external Hass with Long-Lived Access Tokens
208
+ hass-webrtc2: hass://192.168.1.123:8123?entity_id=camera.nest_doorbell&token=eyXYZ...
209
+ \`\`\`
210
+
211
+ **RTSP Cameras**
212
+
213
+ By default, the Home Assistant API does not allow you to get dynamic RTSP link to a camera stream. So more cameras, like [Tuya](https://www.home-assistant.io/integrations/tuya/), and possibly others can also be imported by using [this method](https://github.com/felipecrs/hass-expose-camera-stream-source#importing-home-assistant-cameras-to-go2rtc-andor-frigate).
214
+
215
+ _Source: [Go2Rtc Hass](https://github.com/AlexxIT/go2rtc#source-hass)_
216
+ `,lo=`#### Source: HomeKit
217
+
218
+ **Important:**
219
+
220
+ - You can use HomeKit Cameras **without Apple devices** (iPhone, iPad, etc.), it's just a yet another protocol
221
+ - HomeKit device can be paired with only one ecosystem. So, if you have paired it to an iPhone (Apple Home) - you can't pair it with Home Assistant or go2rtc. Or if you have paired it to go2rtc - you can't pair it with iPhone
222
+ - HomeKit device should be in same network with working [mDNS](https://en.wikipedia.org/wiki/Multicast_DNS) between device and go2rtc
223
+
224
+ go2rtc support import paired HomeKit devices from [Home Assistant](#source-hass). So you can use HomeKit camera with Hass and go2rtc simultaneously. If you using Hass, I recommend pairing devices with it, it will give you more options.
225
+
226
+ You can pair device with go2rtc on the HomeKit page. If you can't see your devices - reload the page. Also try reboot your HomeKit device (power off). If you still can't see it - you have a problems with mDNS.
227
+
228
+ If you see a device but it does not have a pair button - it is paired to some ecosystem (Apple Home, Home Assistant, HomeBridge etc). You need to delete device from that ecosystem, and it will be available for pairing. If you cannot unpair device, you will have to reset it.
229
+
230
+ **Important:**
231
+
232
+ - HomeKit audio uses very non-standard **AAC-ELD** codec with very non-standard params and specification violation
233
+ - Audio can't be played in \`VLC\` and probably any other player
234
+ - Audio should be transcoded for using with MSE, WebRTC, etc.
235
+
236
+ Recommended settings for using HomeKit Camera with WebRTC, MSE, MP4, RTSP:
237
+
238
+ \`\`\`
239
+ streams:
240
+ aqara_g3:
241
+ - hass:Camera-Hub-G3-AB12
242
+ - ffmpeg:aqara_g3#audio=aac#audio=opus
243
+ \`\`\`
244
+
245
+ RTSP link with "normal" audio for any player: \`rtsp://192.168.1.123:8554/aqara_g3?video&audio=aac\`
246
+
247
+ **This source is in active development!** Tested only with [Aqara Camera Hub G3](https://www.aqara.com/eu/product/camera-hub-g3) (both EU and CN versions).
248
+
249
+ _Source: [Go2Rtc HomeKit](https://github.com/AlexxIT/go2rtc#source-homekit)_
250
+ `,mo=`#### Source: HTTP
251
+
252
+ Support Content-Type:
253
+
254
+ - **HTTP-FLV** (\`video/x-flv\`) - same as RTMP, but over HTTP
255
+ - **HTTP-JPEG** (\`image/jpeg\`) - camera snapshot link, can be converted by go2rtc to MJPEG stream
256
+ - **HTTP-MJPEG** (\`multipart/x\`) - simple MJPEG stream over HTTP
257
+ - **MPEG-TS** (\`video/mpeg\`) - legacy [streaming format](https://en.wikipedia.org/wiki/MPEG_transport_stream)
258
+
259
+ Source also support HTTP and TCP streams with autodetection for different formats: **MJPEG**, **H.264/H.265 bitstream**, **MPEG-TS**.
260
+
261
+ \`\`\`yaml
262
+ streams:
263
+ # [HTTP-FLV] stream in video/x-flv format
264
+ http_flv: http://192.168.1.123:20880/api/camera/stream/780900131155/657617
265
+
266
+ # [JPEG] snapshots from Dahua camera, will be converted to MJPEG stream
267
+ dahua_snap: http://admin:password@192.168.1.123/cgi-bin/snapshot.cgi?channel=1
268
+
269
+ # [MJPEG] stream will be proxied without modification
270
+ http_mjpeg: https://mjpeg.sanford.io/count.mjpeg
271
+
272
+ # [MJPEG or H.264/H.265 bitstream or MPEG-TS]
273
+ tcp_magic: tcp://192.168.1.123:12345
274
+
275
+ # Add custom header
276
+ custom_header: "https://mjpeg.sanford.io/count.mjpeg#header=Authorization: Bearer XXX"
277
+ \`\`\`
278
+
279
+ **PS.** Dahua camera has bug: if you select MJPEG codec for RTSP second stream - snapshot won't work.
280
+
281
+ _Source: [Go2Rtc Http](https://github.com/AlexxIT/go2rtc#source-http)_
282
+ `,uo=`#### Source: ISAPI
283
+
284
+ This source type support only backchannel audio for Hikvision ISAPI protocol. So it should be used as second source in addition to the RTSP protocol.
285
+
286
+ \`\`\`yaml
287
+ streams:
288
+ hikvision1:
289
+ - rtsp://admin:password@192.168.1.123:554/Streaming/Channels/101
290
+ - isapi://admin:password@192.168.1.123:80/
291
+ \`\`\`
292
+
293
+ _Source: [Go2Rtc Isapi](https://github.com/AlexxIT/go2rtc#source-isapi)_
294
+ `,po=`#### Source: Ivideon
295
+
296
+ Support public cameras from service [Ivideon](https://tv.ivideon.com/).
297
+
298
+ \`\`\`yaml
299
+ streams:
300
+ quailcam: ivideon:100-tu5dkUPct39cTp9oNEN2B6/0
301
+ \`\`\`
302
+
303
+ _Source: [Go2Rtc Ivideon](https://github.com/AlexxIT/go2rtc#source-ivideon)_
304
+ `,ho="#### Source: Kasa\n\n[TP-Link Kasa](https://www.kasasmart.com/) non-standard protocol [more info](https://medium.com/@hu3vjeen/reverse-engineering-tp-link-kc100-bac4641bf1cd).\n\n- `username` - urlsafe email, `alex@gmail.com` -> `alex%40gmail.com`\n- `password` - base64password, `secret1` -> `c2VjcmV0MQ==`\n\n```yaml\nstreams:\n kc401: kasa://username:password@192.168.1.123:19443/https/stream/mixed\n```\n\nTested: KD110, KC200, KC401, KC420WS, EC71.\n\n_Source: [Go2Rtc Kasa](https://github.com/AlexxIT/go2rtc#source-kasa)_\n",go=`#### Source: Nest
305
+
306
+ Currently only WebRTC cameras are supported.
307
+
308
+ For simplicity, it is recommended to connect the Nest/WebRTC camera to the [Home Assistant](#source-hass). But if you can somehow get the below parameters - Nest/WebRTC source will work without Hass.
309
+
310
+ \`\`\`yaml
311
+ streams:
312
+ nest-doorbell: nest:?client_id=***&client_secret=***&refresh_token=***&project_id=***&device_id=***
313
+ \`\`\`
314
+
315
+ _Source: [Go2Rtc Nest](https://github.com/AlexxIT/go2rtc#source-nest)_
316
+ `,fo=`#### Source: ONVIF
317
+
318
+ The source is not very useful if you already know RTSP and snapshot links for your camera. But it can be useful if you don't.
319
+
320
+ **WebUI > Add** webpage support ONVIF autodiscovery. Your server must be on the same subnet as the camera. If you use docker, you must use "network host".
321
+
322
+ \`\`\`yaml
323
+ streams:
324
+ dahua1: onvif://admin:password@192.168.1.123
325
+ reolink1: onvif://admin:password@192.168.1.123:8000
326
+ tapo1: onvif://admin:password@192.168.1.123:2020
327
+ \`\`\`
328
+
329
+ _Source: [Go2Rtc Onvif](https://github.com/AlexxIT/go2rtc#source-onvif)_
330
+ `,bo=`#### Source: Roborock
331
+
332
+ This source type support Roborock vacuums with cameras. Known working models:
333
+
334
+ - Roborock S6 MaxV - only video (the vacuum has no microphone)
335
+ - Roborock S7 MaxV - video and two way audio
336
+ - Roborock Qrevo MaxV - video and two way audio
337
+
338
+ Source support load Roborock credentials from Home Assistant [custom integration](https://github.com/humbertogontijo/homeassistant-roborock) or the [core integration](https://www.home-assistant.io/integrations/roborock). Otherwise, you need to log in to your Roborock account (MiHome account is not supported). Go to: go2rtc WebUI > Add webpage. Copy \`roborock://...\` source for your vacuum and paste it to \`go2rtc.yaml\` config.
339
+
340
+ If you have graphic pin for your vacuum - add it as numeric pin (lines: 123, 456, 789) to the end of the roborock-link.
341
+
342
+ _Source: [Go2Rtc Roborock](https://github.com/AlexxIT/go2rtc#source-roborock)_
343
+ `,wo=`#### Source: RTMP
344
+
345
+ You can get stream from RTMP server, for example [Nginx with nginx-rtmp-module](https://github.com/arut/nginx-rtmp-module).
346
+
347
+ \`\`\`yaml
348
+ streams:
349
+ rtmp_stream: rtmp://192.168.1.123/live/camera1
350
+ \`\`\`
351
+
352
+ _Source: [Go2Rtc RTMP](https://github.com/AlexxIT/go2rtc#source-rtmp)_
353
+ `,vo=`#### Source: RTSP
354
+
355
+ \`\`\`yaml
356
+ streams:
357
+ sonoff_camera: rtsp://rtsp:12345678@192.168.1.123/av_stream/ch0
358
+ dahua_camera:
359
+ - rtsp://admin:password@192.168.1.123/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
360
+ - rtsp://admin:password@192.168.1.123/cam/realmonitor?channel=1&subtype=1
361
+ amcrest_doorbell:
362
+ - rtsp://username:password@192.168.1.123:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
363
+ unifi_camera: rtspx://192.168.1.123:7441/fD6ouM72bWoFijxK
364
+ glichy_camera: ffmpeg:rtsp://username:password@192.168.1.123/live/ch00_1
365
+ \`\`\`
366
+
367
+ **Recommendations**
368
+
369
+ - **Amcrest Doorbell** users may want to disable two way audio, because with an active stream you won't have a call button working. You need to add \`#backchannel=0\` to the end of your RTSP link in YAML config file
370
+ - **Dahua Doorbell** users may want to change backchannel [audio codec](https://github.com/AlexxIT/go2rtc/issues/52)
371
+ - **Reolink** users may want NOT to use RTSP protocol at all, some camera models have a very awful unusable stream implementation
372
+ - **Ubiquiti UniFi** users may want to disable HTTPS verification. Use \`rtspx://\` prefix instead of \`rtsps://\`. And don't use \`?enableSrtp\` [suffix](https://github.com/AlexxIT/go2rtc/issues/81)
373
+ - **TP-Link Tapo** users may skip login and password, because go2rtc support login [without them](https://drmnsamoliu.github.io/video.html)
374
+ - If your camera has two RTSP links - you can add both of them as sources. This is useful when streams has different codecs, as example AAC audio with main stream and PCMU/PCMA audio with second stream
375
+ - If the stream from your camera is glitchy, try using [ffmpeg source](#source-ffmpeg). It will not add CPU load if you won't use transcoding
376
+ - If the stream from your camera is very glitchy, try to use transcoding with [ffmpeg source](#source-ffmpeg)
377
+
378
+ **Other options**
379
+
380
+ Format: \`rtsp...#{param1}#{param2}#{param3}\`
381
+
382
+ - Add custom timeout \`#timeout=30\` (in seconds)
383
+ - Ignore audio - \`#media=video\` or ignore video - \`#media=audio\`
384
+ - Ignore two way audio API \`#backchannel=0\` - important for some glitchy cameras
385
+ - Use WebSocket transport \`#transport=ws...\`
386
+
387
+ **RTSP over WebSocket**
388
+
389
+ \`\`\`yaml
390
+ streams:
391
+ # WebSocket with authorization, RTSP - without
392
+ axis-rtsp-ws: rtsp://192.168.1.123:4567/axis-media/media.amp?overview=0&camera=1&resolution=1280x720&videoframeskipmode=empty&Axis-Orig-Sw=true#transport=ws://user:pass@192.168.1.123:4567/rtsp-over-websocket
393
+ # WebSocket without authorization, RTSP - with
394
+ dahua-rtsp-ws: rtsp://user:pass@192.168.1.123/cam/realmonitor?channel=1&subtype=1&proto=Private3#transport=ws://192.168.1.123/rtspoverwebsocket
395
+ \`\`\`
396
+
397
+ _Source: [Go2Rtc RTSP](https://github.com/AlexxIT/go2rtc#source-rtsp)_
398
+ `,_o=`#### Source: Tapo
399
+
400
+ [TP-Link Tapo](https://www.tapo.com/) proprietary camera protocol with **two way audio** support.
401
+
402
+ - stream quality is the same as [RTSP protocol](https://www.tapo.com/en/faq/34/)
403
+ - use the **cloud password**, this is not the RTSP password! you do not need to add a login!
404
+ - you can also use UPPERCASE MD5 hash from your cloud password with \`admin\` username
405
+ - some new camera firmwares requires SHA256 instead of MD5
406
+
407
+ \`\`\`yaml
408
+ streams:
409
+ # cloud password without username
410
+ camera1: tapo://cloud-password@192.168.1.123
411
+ # admin username and UPPERCASE MD5 cloud-password hash
412
+ camera2: tapo://admin:UPPERCASE-MD5@192.168.1.123
413
+ # admin username and UPPERCASE SHA256 cloud-password hash
414
+ camera3: tapo://admin:UPPERCASE-SHA256@192.168.1.123
415
+ \`\`\`
416
+
417
+ \`\`\`bash
418
+ echo -n "cloud password" | md5 | awk '{print toupper($0)}'
419
+ echo -n "cloud password" | shasum -a 256 | awk '{print toupper($0)}'
420
+ \`\`\`
421
+
422
+ _Source: [Go2Rtc Tapo](https://github.com/AlexxIT/go2rtc#source-tapo)_
423
+ `,yo=`#### Source: WebRTC
424
+
425
+ This source type support four connection formats.
426
+
427
+ **whep**
428
+
429
+ [WebRTC/WHEP](https://datatracker.ietf.org/doc/draft-murillo-whep/) - is replaced by [WebRTC/WISH](https://datatracker.ietf.org/doc/charter-ietf-wish/02/) standard for WebRTC video/audio viewers. But it may already be supported in some third-party software. It is supported in go2rtc.
430
+
431
+ **go2rtc**
432
+
433
+ This format is only supported in go2rtc. Unlike WHEP it supports asynchronous WebRTC connection and two way audio.
434
+
435
+ **openipc**
436
+
437
+ Support connection to [OpenIPC](https://openipc.org/) cameras.
438
+
439
+ **wyze**
440
+
441
+ Supports connection to [Wyze](https://www.wyze.com/) cameras, using WebRTC protocol. You can use [docker-wyze-bridge](https://github.com/mrlt8/docker-wyze-bridge) project to get connection credentials.
442
+
443
+ **kinesis**
444
+
445
+ Supports [Amazon Kinesis Video Streams](https://aws.amazon.com/kinesis/video-streams/), using WebRTC protocol. You need to specify signalling WebSocket URL with all credentials in query params, \`client_id\` and \`ice_servers\` list in [JSON format](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceServer).
446
+
447
+ \`\`\`yaml
448
+ streams:
449
+ webrtc-whep: webrtc:http://192.168.1.123:1984/api/webrtc?src=camera1
450
+ webrtc-go2rtc: webrtc:ws://192.168.1.123:1984/api/ws?src=camera1
451
+ webrtc-openipc: webrtc:ws://192.168.1.123/webrtc_ws#format=openipc#ice_servers=[{"urls":"stun:stun.kinesisvideo.eu-north-1.amazonaws.com:443"}]
452
+ webrtc-wyze: webrtc:http://192.168.1.123:5000/signaling/camera1?kvs#format=wyze
453
+ webrtc-kinesis: webrtc:wss://...amazonaws.com/?...#format=kinesis#client_id=...#ice_servers=[{...},{...}]
454
+ \`\`\`
455
+
456
+ **PS.** For \`kinesis\` sources you can use [echo](#source-echo) to get connection params using \`bash\`/\`python\` or any other script language.
457
+
458
+ _Source: [Go2Rtc WebRTC](https://github.com/AlexxIT/go2rtc#source-webrtc)_
459
+ `,xo=`#### Source: WebTorrent
460
+
461
+ This source can get a stream from another go2rtc via [WebTorrent](#module-webtorrent) protocol.
462
+
463
+ \`\`\`yaml
464
+ streams:
465
+ webtorrent1: webtorrent:?share=huofssuxaty00izc&pwd=k3l2j9djeg8v8r7e
466
+ \`\`\`
467
+
468
+ _Source: [Go2Rtc Webtorrent](https://github.com/AlexxIT/go2rtc#source-webtorrent)_
469
+ `,ko={class:"page-title"},So={class:"window"},To={class:"subview-title text-color"},Po={class:"relative"},Co={for:"name",class:"v-label"},Ro={class:"mt-5"},Ao={class:"subview-title text-color"},Io={class:"flex flex-row items-center justify-center ml-auto"},Ho={class:"relative w-full flex flex-col"},Vo=["for"],jo=["for"],Eo=["for"],Mo={key:0,class:"w-full flex flex-row justify-center my-1"},Oo={class:"ml-2 flex items-center justify-center",style:{"max-height":"44px"}},Go={class:"w-full flex flex-row justify-center my-1"},Uo={class:"ml-2 flex items-center justify-center",style:{"max-height":"44px"}},$o={class:"flex items-center ml-auto"},Do={class:"flex flex-row w-full items-center justify-center mt-3"},Wo={key:0,class:"w-full h-full"},Lo=["innerHTML"],zo={key:1,class:"w-full h-full flex items-center justify-center"},Bo={key:0,class:"w-full h-full flex items-center justify-center"},Fo=Re({__name:"NewCamera",setup(No){R.registerLanguage("typescript",je),R.registerLanguage("yaml",Ee),R.registerLanguage("json",Me),R.registerLanguage("python",Oe);const{smallMobileActive:V,extraSmallMobileActive:U}=Te(),re=Ne(),W=new xe,ie=v(new Set),ce=v(),le=v(!1),$=v(0),j=v([0]),C=v(),me=v(["high-resolution","mid-resolution","low-resolution","snapshot"]),E=Ae(),I=v(!1),M=v(!1),f=v({disabled:!1,name:"",info:{manufacturer:"",model:"",hardware:"",serialNumber:"",firmwareVersion:"",supportUrl:""},sources:[{name:"",roles:[],urls:[{protocol:"rtsp://",url:[]}],internal:!1}],recording:{enabled:!1},interface:{streamingMode:"auto",streamingSource:"low-resolution"},extensions:{hub:[],plugins:[]}}),{mutate:ue,isPending:pe}=W.createCameraQuery(),{mutateAsync:de,isPending:he}=W.previewCameraQuery(),p=Ie(()=>pe.value||le.value),L=ze("commonmark",{highlight(t,o){if(o&&R.getLanguage(o))try{return'<pre><code class="hljs">'+R.highlight(t,{language:o,ignoreIllegals:!0}).value+"</code></pre>"}catch{}return'<pre><code class="hljs">'+L.utils.escapeHtml(t)+"</code></pre>"}});He(I,t=>{t||setTimeout(()=>{E.value={presets:[],md:void 0}},300)});const ge=t=>{f.value.sources[t].urls.push({protocol:"rtsp://",url:[]})},fe=(t,o)=>{f.value.sources[t].urls.splice(o,1)},be=()=>{f.value.sources.push({name:"",roles:[],urls:[{protocol:"rtsp://",url:[]}],internal:!1}),j.value=[f.value.sources.length]},we=t=>{f.value.sources.splice(t,1)},z=t=>{let o,s,b;switch(t){case"bubble://":o=[],s=Object.assign({"../markdowns/bubble.md":eo});break;case"doorbird://":o=[],s=Object.assign({"../markdowns/doorbird.md":oo});break;case"dvrip://":o=[],s=Object.assign({"../markdowns/dvrip.md":to});break;case"echo:":o=[],s=Object.assign({"../markdowns/echo.md":ao});break;case"exec:":o=[],s=Object.assign({"../markdowns/exec.md":no});break;case"expr:":o=[],s=Object.assign({"../markdowns/expr.md":so});break;case"ffmpeg:":o=se,s=Object.assign({"../markdowns/ffmpeg.md":ro});break;case"gopro://":o=se,s=Object.assign({"../markdowns/gopro.md":io});break;case"hass:":o=[],s=Object.assign({"../markdowns/hass.md":co});break;case"homekit://":o=Je,s=Object.assign({"../markdowns/homekit.md":lo});break;case"http://":case"https://":case"httpx://":case"tcp://":o=Qe,s=Object.assign({"../markdowns/http.md":mo});break;case"isapi://":o=[],s=Object.assign({"../markdowns/isapi.md":uo});break;case"ivideon:":o=[],s=Object.assign({"../markdowns/ivideon.md":po});break;case"kasa://":o=[],s=Object.assign({"../markdowns/kasa.md":ho});break;case"nest:":o=Xe,s=Object.assign({"../markdowns/nest.md":go});break;case"onvif://":o=[],s=Object.assign({"../markdowns/onvif.md":fo});break;case"roborock://":o=[],s=Object.assign({"../markdowns/roborock.md":bo});break;case"rtmp://":o=[],s=Object.assign({"../markdowns/rtmp.md":wo});break;case"rtsp://":case"rtspx://":o=qe,s=Object.assign({"../markdowns/rtsp.md":vo});break;case"tapo://":o=[],s=Object.assign({"../markdowns/tapo.md":_o});break;case"webrtc:":o=Ze,s=Object.assign({"../markdowns/webrtc.md":yo});break;case"webtorrent:":o=[],s=Object.assign({"../markdowns/webtorrent.md":xo});break;default:o=[],s=void 0;break}return s&&(b=Object.values(s)[0]),E.value={presets:o,md:b},{presets:o,md:b}},B=t=>{z(t),I.value=!0},ve=async t=>{C.value=void 0,M.value=!0;const o=t.url.join(""),b={url:o.includes(t.protocol)?o:`${t.protocol}${o}`},r=await de({cameraData:b});C.value=r?`data:image/jpeg;base64,${r}`:"ERROR",C.value!=="ERROR"&&ie.value.add(b.url)},_e=t=>({...t,pluginId:"native",type:"camera",isCloud:!1,hasLight:!1,hasSiren:!1,hasBinarySensor:!1,hasBattery:!1,snapshotTTL:600,detectionZone:[],detectionSettings:{motion:{timeout:20},object:{confidence:.7}},frameWorkerSettings:{decoder:"pillow",fps:10,resolution:"640x360"},sources:t.sources.map(s=>{const b=s.urls.map(r=>{if(r.url){const c=r.url.join("");return c.includes(r.protocol)?c:`${r.protocol}${c}`}}).filter(Boolean);return{_id:"",...s,urls:b,internal:!1}})}),ye=t=>{const{isLoading:o}=Le(0,{parent:".topbar"});o.value=!0;const s=_e(t);ue({cameraData:s},{onSuccess:async()=>{o.value=!1,await Fe(500),re.push({path:"/cameras"})}})},F=(t,o)=>{o.protocol=t};return(t,o)=>{const s=Pe,b=Se;return d(),k("main",{class:K(["w-full h-full",{"px-0":e(V)}])},[n(e(Be),{ref_key:"cameraVeeForm",ref:ce,class:"firststeps-form flex flex-col h-full w-full","validation-schema":e(ke),"initial-values":e(f),onSubmit:o[3]||(o[3]=r=>ye(r))},{default:a(()=>[u("div",{class:K(["mb-3 flex items-center",{"mx-2":e(V)}]),style:{height:"30px"}},[u("h1",ko,l(t.$t("views.new_camera.title")),1),n(S,{loading:e(p),variant:"text",color:"green",type:"submit",class:"ml-auto"},{default:a(()=>[n(x,{size:"15",class:"mr-1"},{default:a(()=>[h(l(e(J)),1)]),_:1}),h(" "+l(t.$t("components.form.button.add")),1)]),_:1},8,["loading"])],2),u("div",So,[u("div",null,[u("span",To,l(t.$t("components.form.label.camera")),1),n(X,{modelValue:e($),"onUpdate:modelValue":o[1]||(o[1]=r=>O($)?$.value=r:null),class:"inner-component mt-2"},{default:a(()=>[n(Z,{elevation:"0",value:1},{default:a(()=>[n(ee,{style:{height:"48px"},class:"truncate"},{default:a(()=>[h(l(t.$t("views.new_camera.camera")),1)]),_:1}),n(oe,{eager:""},{default:a(()=>[u("div",Po,[n(e(A),{modelValue:e(f).name,"onUpdate:modelValue":o[0]||(o[0]=r=>e(f).name=r),name:"name"},{default:a(({field:r,errorMessage:c,errors:i})=>[u("label",Co,l(t.$t("components.form.label.name")),1),n(te,H({loading:e(p),variant:"outlined",name:"name",type:"text",density:"compact"},r,{error:i.length>0,"error-messages":c}),null,16,["loading","error","error-messages"])]),_:1},8,["modelValue"])])]),_:1})]),_:1})]),_:1},8,["modelValue"])]),u("div",Ro,[u("span",Ao,l(t.$t("components.form.label.sources")),1),n(X,{modelValue:e(j),"onUpdate:modelValue":o[2]||(o[2]=r=>O(j)?j.value=r:null),class:"inner-component mt-2",multiple:"",variant:"accordion"},{default:a(()=>[(d(!0),k(Y,null,q(e(f).sources,(r,c)=>(d(),P(Z,{key:c,value:c+1,elevation:"0",style:Ve(e(V)?"border-radius: 0px !important":"")},{default:a(()=>[n(ee,{style:{height:"48px"},class:"truncate"},{actions:a(({expanded:i})=>[u("div",Io,[n(S,{disabled:e(f).sources.length<2||e(p),size:"22.5",rounded:"",color:"red",variant:"text",class:"mx-2",onClick:_(g=>we(c),["stop"])},{default:a(()=>[n(x,null,{default:a(()=>[h(l(e(Ge)),1)]),_:1})]),_:2},1032,["disabled","onClick"]),i?(d(),P(x,{key:0,size:"22.5"},{default:a(()=>[h(l(e(Ue)),1)]),_:1})):(d(),P(x,{key:1,size:"22.5"},{default:a(()=>[h(l(e($e)),1)]),_:1}))])]),default:a(()=>[h(l(t.$t("views.new_camera.source")+": "+c)+" ",1)]),_:2},1024),n(oe,{eager:""},{default:a(()=>[u("div",Ho,[n(e(A),{modelValue:r.name,"onUpdate:modelValue":i=>r.name=i,name:`sources[${c}].name`},{default:a(({field:i,errorMessage:g,errors:m})=>[u("label",{for:`sources[${c}].name`,class:"v-label"},l(t.$t("components.form.label.source_name")),9,Vo),n(te,H({loading:e(p),variant:"outlined",name:`sources[${c}].name`,type:"text",density:"compact",ref_for:!0},i,{error:m.length>0,"error-messages":g}),null,16,["loading","name","error","error-messages"])]),_:2},1032,["modelValue","onUpdate:modelValue","name"]),n(e(A),{modelValue:r.roles,"onUpdate:modelValue":i=>r.roles=i,name:`sources[${c}].roles`},{default:a(({field:i,errorMessage:g,errors:m})=>[u("label",{for:`sources[${c}].roles`,class:"v-label"},l(t.$t("components.form.label.source_role")),9,jo),n(D,H({loading:e(p),items:e(me).filter(y=>!e(f).sources.some((T,w)=>{var N;return((N=T.roles)==null?void 0:N.includes(y))&&w!==c})),variant:"outlined",name:`sources[${c}].roles`,type:"text",density:"compact",chips:"",multiple:"",clearable:"",ref_for:!0},i,{error:m.length>0,"error-messages":g,"model-value":i.value,onKeydown:_(()=>null,["prevent"])}),{chip:a(({item:y})=>[n(Ke,{color:"#df2a4c"},{default:a(()=>[h(l(y.title),1)]),_:2},1024)]),_:2},1040,["loading","items","name","error","error-messages","model-value"])]),_:2},1032,["modelValue","onUpdate:modelValue","name"]),u("label",{for:`sources[${c}].urls[].url`,class:"v-label"},l(t.$t("components.form.label.sources")),9,Eo),(d(!0),k(Y,null,q(r.urls,(i,g)=>(d(),k("div",{key:g},[e(U)?(d(),k("div",Mo,[n(e(A),{modelValue:i.protocol,"onUpdate:modelValue":m=>i.protocol=m,name:`sources[${c}].urls[${g}].protocol`},{default:a(({field:m,errors:y,errorMessage:T})=>[n(D,H({loading:e(p),items:e(ne),"hide-no-data":"","hide-details":"",variant:"outlined",name:`sources[${c}].urls[${g}].protocol`,type:"text",density:"compact",class:"camera-protocol",ref_for:!0},m,{error:y.length>0,"error-messages":T,"model-value":m.value,onKeydown:_(()=>null,["prevent"]),"onUpdate:modelValue":w=>F(w,i)}),null,16,["loading","items","name","error","error-messages","model-value","onUpdate:modelValue"])]),_:2},1032,["modelValue","onUpdate:modelValue","name"]),u("div",Oo,[n(S,{disabled:e(p),color:"#5e5e5e",density:"compact",icon:"",variant:"text",onClick:_(m=>B(i.protocol),["prevent"])},{default:a(()=>[n(x,{size:"20"},{default:a(()=>[h(l(e(Q)),1)]),_:1})]),_:2},1032,["disabled","onClick"])])])):G("",!0),u("div",Go,[e(U)?G("",!0):(d(),P(e(A),{key:0,modelValue:i.protocol,"onUpdate:modelValue":m=>i.protocol=m,name:`sources[${c}].urls[${g}].protocol`},{default:a(({field:m,errors:y,errorMessage:T})=>[n(D,H({loading:e(p),items:e(ne),"hide-no-data":"","hide-details":"",variant:"outlined",name:`sources[${c}].urls[${g}].protocol`,type:"text",density:"compact",style:{"min-width":"125px","max-width":"125px","min-height":"40px","max-height":"40px"},class:"camera-protocol",ref_for:!0},m,{error:y.length>0,"error-messages":T,"model-value":m.value,onKeydown:_(()=>null,["prevent"]),"onUpdate:modelValue":w=>F(w,i)}),null,16,["loading","items","name","error","error-messages","model-value","onUpdate:modelValue"])]),_:2},1032,["modelValue","onUpdate:modelValue","name"])),n(e(A),{modelValue:i.url,"onUpdate:modelValue":m=>i.url=m,name:`sources[${c}].urls[${g}].url`},{default:a(({field:m,errorMessage:y,errors:T})=>[n(Ye,{modelValue:i.url,"onUpdate:modelValue":[w=>i.url=w,w=>m.value=w],loading:e(p),clearable:"",chips:"",multiple:"",items:z(i.protocol).presets,variant:"outlined",name:`sources[${c}].urls[${g}].url`,type:"text",density:"compact",class:"camera-source",error:T.length>0,"error-messages":y},{"append-inner":a(()=>[r.urls.length>1?(d(),P(S,{key:0,size:"28",variant:"text",rounded:"",density:"compact",color:"red",disabled:r.urls.length<2||e(p),onClick:_(w=>fe(c,g),["prevent"])},{default:a(()=>[n(x,{size:"20"},{default:a(()=>[h(l(e(De)),1)]),_:1})]),_:2},1032,["disabled","onClick"])):G("",!0)]),_:2},1032,["modelValue","onUpdate:modelValue","loading","items","name","error","error-messages"])]),_:2},1032,["modelValue","onUpdate:modelValue","name"]),u("div",Uo,[n(S,{disabled:!i.protocol||!i.url.length||e(p),color:"#5e5e5e",density:"compact",icon:"",variant:"text",onClick:_(m=>ve(i),["prevent"])},{default:a(()=>[n(x,{size:"20"},{default:a(()=>[h(l(e(We)),1)]),_:1})]),_:2},1032,["disabled","onClick"]),e(U)?G("",!0):(d(),P(S,{key:0,disabled:e(p),color:"#5e5e5e",density:"compact",icon:"",variant:"text",onClick:_(m=>B(i.protocol),["prevent"])},{default:a(()=>[n(x,{size:"20"},{default:a(()=>[h(l(e(Q)),1)]),_:1})]),_:2},1032,["disabled","onClick"]))])])]))),128)),u("div",$o,[n(S,{disabled:e(p),color:"#df2a4c",variant:"flat",onClick:_(i=>ge(c),["prevent"])},{default:a(()=>[h(l(t.$t("components.form.button.add_source")),1)]),_:2},1032,["disabled","onClick"])])])]),_:2},1024)]),_:2},1032,["value","style"]))),128))]),_:1},8,["modelValue"]),u("div",Do,[n(S,{disabled:e(p),variant:"text",color:"#df2a4c",icon:"",onClick:_(be,["prevent"])},{default:a(()=>[n(x,{size:"30"},{default:a(()=>[h(l(e(J)),1)]),_:1})]),_:1},8,["disabled"])])])])]),_:1},8,["validation-schema","initial-values"]),n(s,{modelValue:e(I),"onUpdate:modelValue":o[4]||(o[4]=r=>O(I)?I.value=r:null),title:t.$t("components.dialog.title.information"),loading:e(p),"hide-confirm-button":""},{content:a(()=>{var r;return[(r=e(E))!=null&&r.md?(d(),k("div",Wo,[u("div",{class:"w-full markdown-body",innerHTML:e(L).render(e(E).md)},null,8,Lo)])):(d(),k("div",zo,[n(ae,{color:"#df2a4c",indeterminate:""})]))]}),_:1},8,["modelValue","title","loading"]),n(s,{modelValue:e(M),"onUpdate:modelValue":o[5]||(o[5]=r=>O(M)?M.value=r:null),title:t.$t("components.dialog.title.preview"),loading:e(p),"hide-confirm-button":""},{content:a(()=>[!e(C)||e(he)?(d(),k("div",Bo,[n(ae,{color:"#df2a4c",indeterminate:""})])):(d(),P(b,{key:1,class:"mt-5 inner-component","show-camera-name":"","current-camera":e(C),"border-radius":e(V)?0:3,border:!1,target:"preview","preview-src":e(C),"button-elevation":"1"},null,8,["current-camera","border-radius","preview-src"]))]),_:1},8,["modelValue","title","loading"])],2)}}}),Ut=Ce(Fo,[["__scopeId","data-v-17588c1c"]]);export{Ut as default};