Wowza Community

WebRTC playback

I am working on application for publishing 1 stream to lot of watchers. As stream source I use RTSP. Stream correctly came to server and I can see it in “Incoming Streams”

Trying to watch this stream using your example from WebRTC.zip/html/play/index.html got an error in Chrome console

Not allowed to load local resource: blob:null/40a9cd61-6372-4a54-83c6-bd88f10ca7de

Also I didn’t understand where I should implement Java-class ModuleListenWebRTCSession and HTTPWebRTCExchangeSessionInfoCustom. Can you help me?

My browser is chrome 54.0.2840.99 m

Wowza Streaming Engine is 4.6.0

Hello @Sergii Shamrai

Sorry did not see this post till now. This error might come down to the codecs you are using with your RTSP stream or not reading the WebRTC HTTP Provider correctly. Are you transcoding the stream to one of these codecs VP8/VP9/H.264 with Opus audio?

The ModuleListenWebRTCSession and HTTPWebRTCExchangeSessionInfoCustom should be created in an IDE like Eclipse and a jar file will be created in [install-dir]/bin

Then you will be putting the new HTTP Provider 2nd to last HTTP Provider entry in HostPort 443:

<HTTPProvider>
	<BaseClass>com.wowza.wms.webrtc.http.HTTPWebRTCExchangeSessionInfoCustom</BaseClass>
	<RequestFilters>*webrtc-session.json</RequestFilters>
	<AuthenticationMethod>none</AuthenticationMethod>
</HTTPProvider>

Regards,

Jason