private Stream MyStream;
How can I obtain IMediaStream which is associated with the MyStream? I need IMediaStream to insert live captions:
Ok, found a solution for that:
IMediaStream stream = publishedStream.getPublisher().getStream();
Now, the question. Are these two lines thread safe:
In the sense that I could have multiple clients calling these two lines each client from their own thread but all using the same stream object? Or is a lock required?