Verification is done in two ways, first it checks if the public-key
actually matches the registered name,
and second it uses the public-key to verify the signature.
These two checks are sufficient to guarantee that owner of the
registered name is the one who posted name data to the
blockchain nameserver.
Change-Id: If5cfd0eeb01b305f290b7a5e7d424688ccf8ccb1
When reigstering a name, the daemon now signs the requested name
and POSTs it along public-key
Also added error handling for response from server with appropriate codes
Also added ability to register name from restdring (setNameRegistration)
Change-Id: Id973cb9a2fa4d4410e0266287192ce452d08249b
Adds VAAPI and VideoToolbox hardware encoders.
Abstracts hardware related field accesses from the encoder and decoder
to put them in HardwareAccel. They are freed in ~HardwareAccel.
Limits bitrate when hardware encoding h264, else it can easily go up to
a few MiB/s.
Change-Id: I7d847d8ab3e4c9692341f038ce6d5dd76562e606
Rewrites the hardware decoding system with C++-style code instead of
C-style.
Removes support for hardware decoding h263, as we do not use the h263p
decoder, which is the codec with hardware support.
Change-Id: I96b796ba8847dadd388c6e29eaee1115b25c2fb3
This will improve code quality and detect possible bugs. Please note it is
only for daemon and linux build at the moment.
Change-Id: Ib91c188ed087c94c361ff585b69629cf2ffa755f
Writes raw frames of any pixel format. File can be played with:
ffplay -f rawvideo -pixel_format <format> -video_size <width>x<height> <file>
Change-Id: I774642f84694a36c16436ba2aa1363edc7ee3d62
Current minimum macOS supported version is 10.11, but contributions
were build for 10.8. This patch bump minimum version for contribution
to 10.11 as well.
Change-Id: I9d7a45ce2409b309b2bbab5be85b5cbb60801b34
- Ignores video formats with duplicate or zero bitrates.
- Adds only the average framerate to the list instead of the min
and max.
Change-Id: I18b878a3235fe786281b10627232e046fc8f77d6
- Creates a window to use RegisterDeviceNotification then converts
the device name to a friendly name using the windows setup api.
Change-Id: Ia0946b5febdbd48b8633931b8902e6aca824907c
Adds possibility to keep the hardware frame reference on the receiver
side instead of immediately transferring it to main memory.
Components that require software frames were updated to transfer the
frame back to main memory.
Change-Id: Idb9ecb64fdefedb9db160ec93592d7a047d356e8
Sometimes changing of video settings does not work because of
using unsupported framerates. This patch lists framerates depending
of resolution so only supported framerate could be selected.
Change-Id: I779c0a769c9ab611962e689173bed109932b652e
Cleans up the encoder a bit and removes methods that weren't used or did
nothing. In any case, it should not be the encoder's responsibility to
mute audio/video.
Removes direct accesses to private data. All these options are accessible
through the av_opt_* API with the AV_OPT_SEARCH_CHILDREN flag.
Adding streams to the encoder is now done separately than opening an RTP
output in an effort to streamline the encoder setup (file vs RTP).
Change-Id: I7a868d098fa942697cfbe3246f368fb9fc7bfb0f
- Checks if there are still video devices in the list, and if so,
sets the default to the 0th, otherwise empties the string.
Change-Id: Ib7fed45bf2d32d1d41c6286b4d62c71183eed39d
Allows clients to retrieve an AVFrame instead of a FrameBuffer
Change-Id: I19ca0935fa08b46e0261713e842e1b4f156bdbe7
Reviewed-by: Philippe Gorley <philippe.gorley@savoirfairelinux.com>