MillicastSDK 2.2.0
|
Public Member Functions | |
instancetype | initWithCppSource: (millicast::CustomAudioSource::Ptr audioSource) |
/ Starts capture. Effectively creates an audio track that can be added to the publisher. / - Returns: An audio track. See MCPublisher/addTrackWithAudioTrack:completionHandler:
/ to learn how to attach this track to a publisher.
/ To be called whenever the application wishes to feed audio frames to the source. / - Parameters: / - frame: An audio frame to feed. See MCAudioFrame
and MCCMSampleBufferFrame
for / possible audio frames to feed. Currently only 48kHz and 44.1kHz are supported sample formats.
/ Query whether the source is currently capturing. / - Returns: True if the application is capturing, false otherwise.
/ Stops the underlying audio tracks and informs the SDK to stop any pending operations related to this custom source.
@end
/ Responsible for building MCCustomAudioSource. MILLICAST_API
|
virtual |