I am learning the MediaLiveServiceJPEG_cpp sample which uses the ImLiveSourceToolkit::GetLiveData to retrieve the JPEG image.
How can I retrieve the raw H264 video stream?
I know VideoOS.Platform.Data.RawVideoSource can get H264 data, however, It is a C# interface. There is a little bit hard to integrate the C# in my solution.
And more, where the is detail documents to explain this config?
Can I get raw h246 data by changing this config?
utf8_string_t config = "<?xml version='1.0' encoding='utf-8'?>"
"<toolkit type='source'>"
" <provider>mmp</provider>"
" <config>"
" <jpeg_encoder quality='90' quality_update_key='qual'>"
" <video_decoder number_of_threads='4'>"
" <toolkit type='source'>"
" <provider>is</provider>"
" <config>"
" <server_uri>"+ vmsRecorderUri +"</server_uri>"
" <device_id>"+ cameraGuid +"</device_id>"
" <media_type>VIDEO</media_type>" + authorizationToken +
" <maximum_queue_size>5</maximum_queue_size>"
" </config>"
" </toolkit>"
" </video_decoder>"
" </jpeg_encoder>"
" </config>"
"</toolkit>";