Class GetStreamResponse

All Implemented Interfaces:
Jsonable

public class GetStreamResponse extends SessionStream
Represents details of a stream, as returned from VideoClient.getStream(String, String).
  • Constructor Details

  • Method Details

    • getVideoType

      Returns:
      The video source for the stream.
    • getName

      public String getName()
      Returns:
      The name of the stream (if one was set when the client published the stream).
    • fromJson

      public static GetStreamResponse fromJson(String json)
      Creates an instance of this class from a JSON payload.
      Parameters:
      json - The JSON string to parse.
      Returns:
      An instance of this class with the fields populated, if present.