커스텀 모듈 적용

스트리밍 인증

인코더에서 스트리밍 시작시 해당 스트림키가 방송이 가능한 상태인지 API로 체크함

https://sgrsoft.com/api/live?name={스트림키}

응답은 String 타입 "true" or "false"

스트리밍이 시작이 호출이 되었을때 방송정보 및 기본 DB가 구성이 됨

모듈 : com.techswipe.wms.auth.RtmpSourceAuth

/usr/local/WowzaStreamingEngine/conf/live/Application.xml 파일

<modules>
...
        <Module>
                <Name>ModuleRTMPAuthenticate</Name>
                <Description>For Publish Auth</Description>
                <Class>com.techswipe.wms.auth.RtmpSourceAuth</Class>
        </Module>
...
</modules>        

시청인증

재생시 암호화 인증 모듈 (HLS , RTMP)

com.techswipe.wms.auth.StreamAliasAuth

시청자 시청/종료 보고

시청사 수 업데이트 하는 모 (HLS , RTMP)

com.techswipe.wms.util.StreamViewersModule

Last updated

Was this helpful?