retina/examples/client
Scott Lamb 56fde0d71b remove Bytes from public codec API
Part of #47

The main benefit is that `VideoFrame::into_data` can cheaply return a
`Vec<u8>` that the caller can mutate. In particular, they could convert
H.264 data from Annex B to AVC form or skip non-VCL NALs. Neither of
these transformations add bytes so they're both possible without
allocation.

Audio and message frames still use `Bytes` internally, as that allows
them to avoid copying when the frame is wholly contained in a packet.
I think this is much more common than for video. I didn't add an
`AudioFrame::into_data` or `VideoFrame::into_data`.
2022-05-11 10:43:58 -07:00
..
info.rs API and example for printing a session's SDP 2022-04-04 15:08:52 -07:00
main.rs API and example for printing a session's SDP 2022-04-04 15:08:52 -07:00
mp4.rs remove Bytes from public codec API 2022-05-11 10:43:58 -07:00
onvif.rs use accessors for most codec fields for #47 2022-04-30 11:40:28 -07:00