Commit Graph
100 Commits
Author SHA1 Message Date
Alexey Khit bb91240b95 Remove unnecessary build scripts 2022-11-27 09:54:46 +03:00
Alexey Khit b1d5d53832 Update to go 1.19 2022-11-27 09:53:11 +03:00
Alexey Khit 31fbbf91bb Remove websocket error on disconnect 2022-11-25 10:04:51 +03:00
Alexey Khit a3f72fbab9 Fix websocket origin check with wrong port 2022-11-25 10:04:13 +03:00
Alexey Khit fae59c7992 Update version to 0.1-rc.4 2022-11-24 02:00:31 +03:00
Alexey Khit aff34f1d21 Totally rewritten MSE player 2022-11-24 01:59:48 +03:00
Alexey Khit 65e7efa775 Support codecs negotiation for MSE 2022-11-23 21:45:10 +03:00
Alexey Khit 3c3e9d282b Update about H265 support in readme 2022-11-23 20:35:11 +03:00
Alexey Khit bd51069086 Add support CORS for API 2022-11-23 20:34:06 +03:00
Alexey Khit 1ddf7f1a6c Change trace log for stream.mp4 2022-11-23 12:57:11 +03:00
Alexey Khit 0e281e36d3 Fix race (concurency) for Track 2022-11-22 20:03:36 +03:00
Alexey Khit 3d6472cfb1 Update H265 preset for FFmpeg 2022-11-22 17:22:54 +03:00
Alexey Khit 7c31fa2ffd Fix empty SPS for MSE H265 2022-11-22 17:22:26 +03:00
Alexey Khit 0ed9d2410a Fix H265 support for MSE in Safari 2022-11-22 17:21:58 +03:00
Alexey Khit 1c89e7945e Remove printf for webrtc ontrack 2022-11-18 09:13:24 +03:00
Alexey Khit 48635ae341 Add two locks for Track 2022-11-18 09:12:48 +03:00
Alexey Khit fdb316910f Fix WebRTC async connection 2022-11-16 11:26:56 +03:00
Alexey Khit e29f2594fa Fix multiple transcoding when track not exists 2022-11-15 16:16:22 +03:00
Alexey Khit c3da7584b0 Add check on RTSP server requers with empty url path 2022-11-14 19:06:43 +03:00
Alexey Khit 1e247cba92 Igroner app media for WebRTC from Hass 2022-11-14 17:26:59 +03:00
Alexey Khit 01631d9eb0 Update readme 2022-11-14 14:57:43 +03:00
Alexey Khit 4b27d119f0 Update version to 0.1-rc.3 2022-11-14 09:50:47 +03:00
Alexey Khit dd55c03dc2 Add support multiple transcoding for ffmpeg 2022-11-14 02:26:14 +03:00
Alexey Khit a4eab1944a Add ffmpeg async option for HomeKit audio 2022-11-14 01:29:45 +03:00
Alexey Khit eea413a36c Support stream name as ffmpeg input 2022-11-14 01:22:07 +03:00
Alexey Khit cdd42a8ed2 Change HomeKit codec from AAC to ELD 2022-11-14 00:58:34 +03:00
Alexey Khit 4815ce1baf Fix stop ffmpeg without matching tracks 2022-11-14 00:58:34 +03:00
Alexey Khit e6d3939c78 Fix external producers 2022-11-13 21:33:09 +03:00
Alexey Khit 220b9ca318 Remove old example file 2022-11-13 20:54:19 +03:00
Alexey Khit d625620dfd Fix ffmpeg profile warning 2022-11-13 20:09:18 +03:00
Alexey Khit dd503f3410 Adds rotate template for ffmpeg 2022-11-13 20:05:54 +03:00
Alexey Khit 3e8e87bfcc Fix RTSP unknown response handler 2022-11-13 19:26:22 +03:00
Alexey Khit 64d218886e Add exec early exit handler 2022-11-13 19:24:26 +03:00
Alexey Khit e91ccc211e Change ffmpeg verbose level to error 2022-11-13 19:18:53 +03:00
Alexey Khit 9f8a219483 Exec stderr will show with debug log 2022-11-13 19:15:12 +03:00
Alexey Khit b617796941 Improve RTCP for HomeKit 2022-11-13 14:35:53 +03:00
Alexey Khit 77888fe086 Refactoring for HomeKit client 2022-11-11 22:47:14 +03:00
Alexey Khit 7bc3534bcb Add useful links to readmes 2022-11-11 22:44:54 +03:00
Alexey Khit 77bc0630d6 Add teaps to main readme 2022-11-11 22:44:49 +03:00
Alexey Khit 2f68711405 Fix MP4f test consumer 2022-11-11 22:44:34 +03:00
Alexey Khit b8cab5db60 Remove aacparser from MP4 muxer 2022-11-11 22:44:05 +03:00
Alexey Khit eae01be71f Add User-Agent to FFmpeg input and output 2022-11-11 18:04:31 +03:00
Alexey Khit 0127115180 Add User-Agent to go2rtc RTSP requests 2022-11-11 18:02:08 +03:00
Alexey Khit aef84cef6b Add go2rtc version info 2022-11-11 18:01:38 +03:00
Alexey Khit d478436758 Set video track for WebRTC always first 2022-11-11 16:33:08 +03:00
Alexey Khit f77db44529 Refactoring for HomeKit client 2022-11-11 13:24:09 +03:00
Alexey Khit 16e5406156 Update readme 2022-11-08 09:57:17 +03:00
Alexey Khit 49f6233bde Update RTSP server filters 2022-11-08 01:50:28 +03:00
Alexey Khit 78c5c70c73 Add duration API for MP4 file 2022-11-08 01:29:58 +03:00
Alexey Khit 32651c74ab Fix frame.mp4 support 2022-11-08 01:13:38 +03:00
Alexey Khit 5c64d1f847 Update MSE procession on JS side 2022-11-08 00:37:32 +03:00
Alexey Khit 717af29630 Refactoring 2022-11-08 00:37:13 +03:00
Alexey Khit ea18475d31 Split MSE data on packets 2022-11-07 23:35:36 +03:00
Alexey Khit 701a9c69ec Update write websocket func 2022-11-07 23:35:08 +03:00
Alexey Khit c06253c8b2 Fix producer request new track after start 2022-11-07 17:48:45 +03:00
Alexey Khit 3a07e9fa03 Fix lock on mp4 restarts 2022-11-07 13:32:27 +03:00
Alexey Khit e1bc30fab3 Add support AAC for RTSP 2022-11-07 11:02:26 +03:00
Alexey Khit d16ae0972f Code refactoring 2022-11-07 11:01:19 +03:00
Alexey Khit 8b93c97e69 Add support AAC for RTMP to MP4 2022-11-06 22:44:48 +03:00
Alexey Khit d8158bc1e3 Update stream log message 2022-11-04 22:27:11 +03:00
Alexey Khit f4f588d2c6 Add mutex to stream 2022-11-04 22:20:52 +03:00
Alexey Khit e287b52808 Add check for RTSPtoWeb API 2022-11-04 22:12:00 +03:00
Alexey Khit ff96257252 Add backchannel=0 option to readme 2022-11-04 21:49:36 +03:00
Alexey Khit 909f21b7e4 Update docs about TURN server 2022-11-04 21:44:12 +03:00
Alexey Khit 7d6a5b44f8 Add frame.jpeg api for MJPEG stream 2022-11-04 21:22:33 +03:00
Alexey Khit 278f7696b6 Make sink private for Track 2022-11-04 20:54:35 +03:00
Alexey Khit 3cbf2465ae Fix loopback producer 2022-11-04 17:52:26 +03:00
Alexey Khit e9ea7a0b1f Add reconnection feature 2022-11-04 17:23:42 +03:00
Alexey Khit 0231fc3a90 Code refactoring 2022-11-04 17:16:42 +03:00
Alexey Khit 9ef2633840 Add 5 sec timeout to ffmpeg rtsp 2022-11-04 17:06:24 +03:00
Alexey Khit 5a8df3e90a Change RTSP dial timeout to 5 sec 2022-11-04 17:05:57 +03:00
Alexey Khit a31cbec3eb Fix check RTSP transport prefix 2022-11-04 17:05:30 +03:00
Alexey Khit 54f547977e Add mutext to streams handlers 2022-11-04 17:04:47 +03:00
Alexey Khit 65d91e02bd Move NewLogger to function 2022-11-04 17:03:56 +03:00
Alexey Khit 7fc3f0f641 Ignore srtp init in stack list func 2022-11-04 10:07:50 +03:00
Alexey Khit 7725d5ed31 Rewrite get handlers code 2022-11-04 06:24:39 +03:00
Alexey Khit 6c1b9daa8b Update logs for RTSP packets (disabled) 2022-11-03 11:25:47 +03:00
Alexey Khit 6d432574bf Make main logger global 2022-11-03 10:26:26 +03:00
Alexey Khit 616f69c88b Cache public IP for 5 min 2022-11-02 12:48:36 +03:00
Alexey Khit f72440712b Add timeout to GetPublicIP func 2022-11-02 12:47:26 +03:00
Alexey Khit ceed146fb8 Add webrtc sync API 2022-11-02 12:46:39 +03:00
Alexey Khit f17dadbbbf Rewrite keepalive and add timeouts for RTSP 2022-11-02 10:50:11 +03:00
Alexey Khit 3d4514eab9 Fix loopback for stream 2022-11-02 08:51:54 +03:00
Alexey Khit 2629dccb81 Rename HTTP-FLV 2022-10-31 20:05:28 +03:00
Alexey Khit 04f1aa2900 Fix trash in webrtc.html 2022-10-31 08:34:32 +03:00
Alexey Khit 0dacdea1c3 Add support RTMPT (flv over HTTP) 2022-10-30 17:17:42 +03:00
Alexey Khit 24082b1616 Fix backchannel reconnection issue 2022-10-29 11:33:01 +03:00
Alexey Khit 7964b1743b Fix RTSP processing for Amcrest IP4M-1051 2022-10-29 11:29:53 +03:00
Alexey Khit 49773a1ece Add mjpeg link to stream to main page 2022-10-21 12:01:00 +03:00
Alexey Khit c97a48a73f Fix mjpeg for 2K cameras 2022-10-21 12:00:00 +03:00
Alexey Khit e03231ebb4 fix ffmpeg transcoding for Reolink RLC-510A 2022-10-21 10:58:56 +03:00
Alexey Khit 649525a842 Merge remote-tracking branch 'origin/master' 2022-10-21 10:54:54 +03:00
Alexey Khit 831c504cab Fix memory usage for RTSP processing 2022-10-05 21:15:59 +03:00
Alexey Khit 12925a6bc5 Fix TP-Link Tapo TC70 support 2022-10-05 19:43:36 +03:00
Alexey Khit e50e929150 Fix empty SPS for mp4 format 2022-10-05 15:35:30 +03:00
Alexey Khit d0c87e0379 Support SEI NAL from ffmpeg transcoding 2022-10-05 15:35:04 +03:00
Alexey Khit 247b61790e Update EncodeAVC for empty NALs 2022-10-05 15:34:34 +03:00
Alexey Khit 2ec618334a Adds NALs types logger 2022-10-05 15:33:51 +03:00
Alexey Khit 6f9976c806 Rework RTSP and RTMP processing 2022-10-05 13:25:29 +03:00
Alexey Khit 17b3a4cf3a Code refactoring 2022-10-05 13:23:31 +03:00