Yog tias koj tau ua tiav streaming nyob, koj yuav tsum paub txog streaming raws tu qauv, tshwj xeeb tshaj yog RTMP, uas yog cov txheej txheem ntau tshaj plaws rau streaming nyob.Txawm li cas los xij, muaj cov txheej txheem streaming tshiab uas tsim kom muaj kev nrov nrov hauv ntiaj teb streaming.Nws hu ua, SRT.Yog li, SRT yog dab tsi?
SRT stands rau Secure Reliable Transport, uas yog streaming raws tu qauv tsim los ntawm Haivision.Cia kuv piav qhia qhov tseem ceeb ntawm streaming raws tu qauv nrog piv txwv.Thaum ib tug neeg qhib YouTube Live los saib cov kwj video, koj lub PC xa cov "thov kom txuas" rau lub server.Thaum lees paub qhov kev thov, tus neeg rau zaub mov mam li rov qab cov ntaub ntawv video rau lub PC uas cov yees duab tau txiav txim siab thiab ua si tib lub sijhawm.SRT yog ib qho txheej txheem streaming uas ob lub cuab yeej yuav tsum nkag siab rau kev sib txuas video streaming.Txhua txoj cai muaj nws qhov zoo thiab qhov tsis zoo thiab RTMP, RTSP, HLS thiab SRT yog qee qhov tseem ceeb tshaj plaws uas siv hauv kev tshaj tawm video.
Vim li cas SRT txawm tias RTMP yog qhov ruaj khov thiab feem ntau siv streaming raws tu qauv?
Txhawm rau kawm qhov zoo thiab qhov tsis zoo ntawm SRT nrog rau nws cov yam ntxwv, peb yuav tsum xub muab piv nrog RTMP.RTMP, tseem hu ua Real-Time Messaging Protocol, yog tus paub tab, tsim tau zoo streaming raws tu qauv nrog lub koob npe nrov rau kev ntseeg tau vim nws TCP-raws li pob retransmit peev xwm thiab kho buffers.RTMP yog qhov feem ntau siv streaming raws tu qauv tab sis yeej tsis tau hloov kho txij li xyoo 2012, yog li nws muaj feem cuam tshuam tias nws yuav raug hloov los ntawm SRT.
Qhov tseem ceeb tshaj plaws, SRT daws teeb meem video zoo dua RTMP.Tshaj tawm RTMP dhau qhov tsis ntseeg siab, cov xov tooj qis bandwidth tuaj yeem ua rau muaj teeb meem xws li buffering thiab pixilation ntawm koj cov kwj nyob.SRT xav tau bandwidth tsawg dua thiab nws daws cov ntaub ntawv yuam kev sai dua.Raws li qhov tshwm sim, koj cov neeg saib yuav ntsib cov kwj dej zoo dua, nrog tsawg dua buffering thiab pixelization.
SRT muab ultra-low kawg-rau-kawg latency thiab muaj qhov ceev uas yog 2 - 3 zaug sai dua RTMP
Piv rau RTMP, SRT streaming muab latency qis dua.Raws li dictated nyob rau hauv daim ntawv dawb (https://www.haivision.com/resources/white-paper/srt-versus-rtmp/) luam tawm los ntawm Haivision, hauv tib qhov chaw sim, SRT muaj qhov ncua sij hawm uas yog 2.5 - 3.2 npaug tsawg dua RTMP, uas yog qhov kev txhim kho loj heev.Raws li tau piav qhia hauv daim duab hauv qab no, lub xiav bar sawv cev rau SRT kev ua tau zoo, thiab lub txiv kab ntxwv bar qhia txog RTMP latency (kev ntsuam xyuas tau ua nyob rau plaub qhov chaw sib txawv, xws li los ntawm lub teb chaws Yelemees mus rau Australia thiab lub teb chaws Yelemees mus rau Asmeskas).
Tseem qhia tau hais tias kev ua tau zoo dua txawm tias nyob hauv lub network tsis ntseeg
Dhau li ntawm nws qhov qis qis, nws tsim nyog hais tias SRT tseem tuaj yeem xa mus rau hauv lub network tsis zoo.SRT infrastructure muaj cov haujlwm ua haujlwm uas txo qis qhov tsis zoo tshwm sim los ntawm kev hloov pauv ntawm bandwidth, pob ntawv poob, thiab lwm yam, yog li tswj kev ncaj ncees thiab zoo ntawm cov kwj video txawm nyob hauv cov tes hauj lwm uas tsis tuaj yeem xav txog.
Qhov zoo uas SRT tuaj yeem nqa tau?
Ntxiv rau ultra-low latency thiab resiliency rau cov kev hloov hauv network ib puag ncig, kuj tseem muaj lwm yam zoo uas SRT tuaj yeem coj koj.Vim tias koj tuaj yeem xa cov vis dis aus ntawm cov tsheb khiav tsis tuaj yeem, cov xov tooj GPS kim yog li tsis xav tau, yog li koj tuaj yeem sib tw ntawm koj cov nqi kev pabcuam.Hauv lwm lo lus, koj tuaj yeem muaj kev sib tham sib tham sib tham ntawm txhua qhov chaw nrog Internet muaj.Ua tus txheej txheem streaming video, SRT tuaj yeem ntim MPEG-2, H.264 thiab HEVC cov ntaub ntawv video thiab nws cov txheej txheem encryption ua kom cov ntaub ntawv ntiag tug.
Leej twg yuav tsum siv SRT?
SRT yog tsim los rau txhua hom kev sib kis video.Tsuas yog xav txog hauv ib lub rooj sib tham uas muaj cov rooj sib tham, txhua tus siv tib lub network los sib cav rau kev sib txuas hauv Is Taws Nem.Xa cov yeeb yaj kiab mus rau lub studio ntau lawm tshaj li lub network tsis khoom, kev sib kis tau zoo yuav raug degraded.Nws yog qhov muaj feem ntau tias pob ntawv poob yuav tshwm sim thaum xa video hla lub network tsis khoom.SRT, nyob rau hauv qhov xwm txheej no, muaj txiaj ntsig zoo ntawm kev tshem tawm cov teeb meem no thiab xa cov yeeb yaj kiab zoo rau cov encoders destined.
Kuj tseem muaj ntau lub tsev kawm ntawv thiab cov tsev teev ntuj nyob rau ntau qhov chaw.Txhawm rau tshaj tawm cov yeeb yaj kiab ntawm cov tsev kawm sib txawv lossis cov tsev teev ntuj, qhov kev pom yuav tsis txaus siab yog tias muaj latency thaum streaming.Latency kuj tuaj yeem ua rau poob ntawm lub sijhawm thiab nyiaj txiag.Nrog SRT, koj yuav muaj peev xwm tsim cov yeeb yaj kiab zoo thiab txhim khu kev qha ntawm cov chaw sib txawv.
Dab tsi ua rau SRT yog cov txheej txheem streaming zoo?
Yog tias koj tshaib plab rau kev paub thiab xav paub ntau ntxiv txog cov ntsiab lus zoo saum toj no hais txog SRT, ob peb nqe lus tom ntej no yuav muab cov lus piav qhia ntxaws.Yog tias koj twb paub cov ntsiab lus no lossis tsuas yog tsis nyiam, koj tuaj yeem hla cov kab lus no.
Qhov sib txawv tseem ceeb ntawm RTMP thiab SRT yog qhov tsis muaj sij hawm nyob rau hauv RTMP kwj pob ntawv headers.RTMP tsuas yog muaj cov ntawv teev sijhawm ntawm cov kwj dej tiag tiag raws li nws tus ncej tus nqi.Cov pob ntawv ib tus neeg tsis muaj cov ntaub ntawv no, yog li tus neeg txais RTMP yuav tsum xa txhua pob ntawv tau txais nyob rau hauv lub sijhawm teem sijhawm rau kev txiav txim siab.Txhawm rau tshem tawm qhov sib txawv ntawm lub sijhawm nws siv rau ib tus neeg pob khoom mus ncig, yuav tsum muaj cov buffers loj.
SRT, ntawm qhov tod tes, suav nrog lub sijhawm rau txhua pob ntawv.Qhov no ua rau kev ua si ntawm cov yam ntxwv ntawm lub teeb liab ntawm lub receiver sab thiab txo qhov xav tau ntawm buffering.Hauv lwm lo lus, qhov me ntsis-kwj tawm ntawm tus neeg txais khoom zoo ib yam li cov kwj tuaj rau hauv SRT tus xa.Lwm qhov sib txawv tseem ceeb ntawm RTMP thiab SRT yog kev siv cov pob ntawv rov qab.SRT tuaj yeem txheeb xyuas tus neeg poob pob ntawv los ntawm nws tus lej ua ntu zus.Yog tias tus lej lej delta ntau dua ib pob ntawv, qhov rov ua dua ntawm cov pob ntawv ntawd tau tshwm sim.Tsuas yog cov pob ntawv tshwj xeeb ntawd raug xa rov qab kom latency thiab nyiaj siv ua haujlwm qis.
Yog xav paub ntxiv txog kev paub meej, mus saib Haivision lub vev xaib official thiab rub tawm lawv cov txheej txheem thev naus laus zis (https://www.haivision.com/blog/all/excited-srt-video-streaming-protocol-technical-overview/).
SRT txwv
Tom qab pom ntau qhov zoo ntawm SRT, cia peb saib nws cov kev txwv tam sim no.Tsuas yog Wowza, ntau lub sijhawm tiag tiag streaming platforms tseem tsis tau muaj SRT hauv lawv lub tshuab yog li koj tseem tsis tuaj yeem ua kom zoo dua ntawm nws cov yam ntxwv zoo los ntawm cov neeg siv khoom kawg.Txawm li cas los xij, raws li ntau thiab ntau cov tuam txhab thiab cov neeg siv ntiag tug txais SRT, nws xav tias SRT yuav dhau los ua tus qauv streaming video yav tom ntej.
Kev ceeb toom zaum kawg
Raws li tau hais ua ntej, SRT qhov tseem ceeb tshaj plaws yog nws qhov qis latency tab sis kuj tseem muaj lwm yam hauv tag nrho cov kev ua haujlwm streaming uas tuaj yeem ua rau latency thiab qhov kawg saib tsis zoo xws li network bandwidth, ntaus codec thiab saib.SRT tsis lav tsis tshua muaj latency thiab lwm yam xws li ib puag ncig network thiab cov khoom siv streaming yuav tsum raug coj mus rau hauv tus account.
Lub sij hawm xa tuaj: Plaub Hlis-13-2022