AxisCommunications / locomote-video-player

Media Player in Adobe Flash with RTSP support. (THIS PROJECT IS NO LONGER MAINTAINED)
BSD 3-Clause "New" or "Revised" License
133 stars 79 forks source link

H.265 Not Support? #201

Closed grantchen closed 5 years ago

grantchen commented 5 years ago

It works great for H.264 camera stream for rtsp protocol. But when i try H.265, It doesn't work, Anyone know how deal with H.265?

This is my log.

API is ready. `play` can now be called
(index):40 RTSP OUT:
(index):40 RTSP IN:
(index):40 RTSPClient: STATE_OPTIONS
(index):40 RTSP OUT:
(index):40 RTSPClient: switching authorization from none to digest
(index):40 RTSP OUT:
(index):40 RTSP IN:
(index):40 RTSPClient: STATE_DESCRIBE
(index):40 v=0
o=- 1567762638686978 1567762638686978 IN IP4 192.168.1.64
s=Media Presentation
e=NONE
b=AS:5050
t=0 0
a=control:rtsp://127.0.0.1/
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:5000
a=recvonly
a=x-dimensions:1280,720
a=control:rtsp://127.0.0.1/trackID=1
a=rtpmap:96 H265/90000
a=fmtp:96 sprop-sps=QgEBAWAAAAMAsAAAAwAAAwBdoAKAgC0WNrkky9NwEBAQCA==; sprop-pps=RAHA8vA8kAA=
a=Media_header:MEDIAINFO=494D4B48010200000400050000000000000000000000000000000000000000000000000000000000;
a=appversion:1.0

(index):40 Ignored unknown SDP directive: e=NONE
(index):40 Ignored unknown SDP directive: b=AS:5050
(index):40 Ignored unknown SDP directive: c=IN IP4 0.0.0.0
(index):40 Ignored unknown SDP directive: b=AS:5000
(index):40 SDP contained 1 track(s). Calling SETUP for each.
(index):40 RTSPClient: STATE_SETUP
(index):40 undefined
(index):40 Setting up track: rtsp://127.0.0.1/trackID=1
(index):40 RTSP OUT:
(index):40 RTSP IN:
(index):40 RTSPClient: STATE_SETUP
(index):40 RTP/AVP/TCP;unicast;interleaved=0-1;ssrc=31066d12;mode="play"
(index):40 RTSP OUT:
(index):40 RTSP IN:
(index):40 RTSPClient: STATE_PLAY
RHammar commented 5 years ago

H.265 is not supported by Flash. As I am sure you are aware of, Flash is in the progress of being obsoleted by all major browsers. https://developer.mozilla.org/en-US/docs/Plugins/Roadmap https://www.chromium.org/flash-roadmap https://blogs.windows.com/msedgedev/2017/07/25/flash-on-windows-timeline/