Commit graph

74 commits

Author SHA1 Message Date
Daniel Vilar
a41f33ae08 Clean comments 2018-09-18 13:25:24 +02:00
Daniel Vilar
8ce45f4f0d Refactor cargo clippy warnings 2018-09-18 13:12:04 +02:00
Daniel Vilar
cf8b7db9bd Fix code style with cargo fmt 2018-09-18 11:53:12 +02:00
Daniel Vilar
6db4929e08 Rename ndilib to ndisys 2018-09-18 11:52:09 +02:00
Daniel Vilar
c669a99043 Updated README 2018-09-12 12:10:03 +02:00
Daniel Vilar
47453f380d Merge branch 'develop_rr_peite' into 'master'
Gst NDI plugin
2018-09-12 09:58:28 +02:00
Daniel Vilar
45e2ef54fb Added .gitignore 2018-09-12 09:52:53 +02:00
Daniel Vilar
00992c1825 Deleted Cargo.lock 2018-09-12 09:52:16 +02:00
Daniel Vilar
c92d63ee88 Refactor unsafe blocks 2018-09-12 09:44:46 +02:00
Daniel Vilar
1aaf429f9e Detect if NDI source closed the stream 2018-09-11 17:47:28 +02:00
Daniel Vilar
1cabad0092 Refactor logic to get initial timestamp 2018-09-11 15:20:47 +02:00
Daniel Vilar
79fc47b41f Updated gstreamer rust bindings to version 0.12 and gstreamer plugin to 0.3 2018-09-11 09:47:17 +02:00
Daniel Vilar
2864ef4d99 Updated README 2018-09-04 16:32:01 +02:00
Daniel Vilar
85d0c75f9b Fix error when creating new NDI receivers 2018-09-03 16:31:32 +02:00
Daniel Vilar
aaaa593a72 Refactor timestamp and pts logic 2018-09-03 15:43:09 +02:00
Daniel Vilar
4338068b3c Use same start_pts for audio and video in the same ndi receiver 2018-08-20 16:59:12 +02:00
Daniel Vilar
3b4ae6c00e Indent and clean warnings 2018-08-20 12:14:54 +02:00
Daniel Vilar
07a8b8a274 Refactor logic to use multiple streams in the same pipeline
Now it's possible to connect to N streams in the same pipeline. Each new connection will create a new NDI receiver except if it's a empty slot in the receiver.

Each receiver has two slots one to connect to audio and other to connect to video to the same stream.
2018-08-20 11:09:43 +02:00
Daniel Vilar
ba45931830 Add audio to the pipeline even if the stream source it's already in use for video
FIXME: Whith this commit it's possible to add more streams for the same source if the pipeline has an audio source for that source.
2018-08-14 16:47:58 +02:00
Daniel Vilar
8bf4f8f935 Fix to use multiple NDI streams in the same pipeline
It's not possible to connect to the same stream twice. For example to audio and video from the same stream.
2018-08-14 15:45:13 +02:00
Daniel Vilar
0baf7ee839 Calculate buffer duration from frame info 2018-07-03 10:02:15 +02:00
Daniel Vilar
98cd1bbc8a Added pipelines to README 2018-07-02 14:08:15 +02:00
Daniel Vilar
7cbf8e57a8 Added query function to return latency 2018-07-02 14:07:51 +02:00
Daniel Vilar
6ba47cc085 Use common start timestamp 2018-07-02 14:06:44 +02:00
Daniel Vilar
8399da4f7c Refactor timestamps and timecode logic 2018-06-27 13:53:09 +02:00
Daniel Vilar
570abeff49 Clean code 2018-06-27 11:56:11 +02:00
Daniel Vilar
75bba9f0e0 Merge branch 'audio_src' into 'develop_rr_peite'
Added audio src
2018-06-26 14:09:43 +02:00
Daniel Vilar
43db3e4477 Clean code 2018-06-26 14:07:43 +02:00
Daniel Vilar
893c217212 Refactor get frame logic 2018-06-26 13:06:55 +02:00
Daniel Vilar
e5405a6657 Moved connection to ndi logic from sources to a common function 2018-06-25 10:38:45 +02:00
Daniel Vilar
2e9a0242af Working audio src 2018-06-20 10:23:19 +02:00
Daniel Vilar
e0a3fb393e Work in progress 2018-06-15 15:16:25 +02:00
Daniel Vilar
5302c67f97 First step to implement audiosrc 2018-06-12 14:40:17 +02:00
Daniel Vilar
1ea558641e Get video caps from NDI stream 2018-06-12 13:41:48 +02:00
Daniel Vilar
24f2cd57ad Refactor NDI receiver logic 2018-06-12 13:39:49 +02:00
Daniel Vilar
3e9b1a85ca Use timestamp instead of timecode, some videos timecode is 0 2018-06-04 13:45:29 +02:00
Daniel Vilar
e8ee6fd806 Close NDI stream when closing gstreamer 2018-06-04 13:44:27 +02:00
Daniel Vilar
a89334a500 Updated README 2018-05-31 11:19:01 +02:00
Daniel Vilar
a1fc0efe3d Indent code correctly 2018-05-31 11:16:29 +02:00
Daniel Vilar
c744353583 Added ip parameter to connect to the stream 2018-05-31 11:14:11 +02:00
Daniel Vilar
385351e5ad Refactor start_pts 2018-05-30 12:55:54 +02:00
Daniel Vilar
d667536ec6 Added pts, and offsets to gstreamer buffer 2018-04-30 10:18:17 +02:00
Daniel Vilar
bc8950303c Added field pts to buffer 2018-04-26 13:53:50 +02:00
Daniel Vilar
53c692fac5 Connect to the stream inidicated in pipeline stream-name property 2018-04-26 12:30:13 +02:00
Daniel Vilar
bf25388216 Improved logs 2018-04-25 12:42:41 +02:00
galicaster
45fcccbd31 Eurekagit statusgit status
First iteration copying memory.
2018-04-25 10:32:47 +02:00
galicaster
db5493d110 Clean code 2018-04-24 19:41:27 +02:00
Daniel Vilar
2d9feaa462 Martes 2018-04-24 14:08:06 +02:00
Daniel Vilar
d813fa5681 Try to add video data to a buffer 2018-04-23 14:12:41 +02:00
Daniel Vilar
ca4e498a0b Added NDI code 2018-04-23 13:42:38 +02:00