Class: TD::Types::GroupCallStream

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/group_call_stream.rb

Overview

Describes an available stream in a group call.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#channel_idInteger

Identifier of an audio/video channel.

Returns:

  • (Integer)

    the current value of channel_id



8
9
10
# File 'lib/tdlib/types/group_call_stream.rb', line 8

def channel_id
  @channel_id
end

#scaleInteger

Scale of segment durations in the stream. The duration is 1000/(2**scale) milliseconds.

Returns:

  • (Integer)

    the current value of scale



8
9
10
# File 'lib/tdlib/types/group_call_stream.rb', line 8

def scale
  @scale
end

#time_offsetInteger

Point in time when the stream currently ends; Unix timestamp in milliseconds.

Returns:

  • (Integer)

    the current value of time_offset



8
9
10
# File 'lib/tdlib/types/group_call_stream.rb', line 8

def time_offset
  @time_offset
end