URL for HLS Stream that is being published with the WebRTCAppEE

97 views
Skip to first unread message

Robert Berger

unread,
May 28, 2020, 4:16:08 AM5/28/20
to Ant Media Server
I am publishing fine with webrtcapp, I can view the stream with https://antmedia-000.mydomain:5443/WebRTCAppEE/play.html?name=c79d234a-d3b0-4fba-8776-5bfaf3ba1d88&playOrder=hls (where mydomain is not my real domain)


But I can not view. that with ffplay nor any other HLS viewer. I get:

VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) The media could not be loaded, either because the server or network failed or because the format is not supported. MediaError {code: 4, message: "The media could not be loaded, either because the …rk failed or because the format is not supported."}

Or. similar messages. 

The  WEB-INF/web.xml on the server seems to be open:

<security-constraint>
                <web-resource-collection>
                        <web-resource-name>Forbidden</web-resource-name>
                        <url-pattern>/streams/</url-pattern>
                </web-resource-collection>
                <auth-constraint />
        </security-constraint>

What am I doing wrong?

Thanks
Reply all
Reply to author
Forward
0 new messages